From 2efd22454a62e7387c51eb0cd973e5ff7a3fb09f Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Fri, 20 Apr 2018 15:29:54 -0700 Subject: [PATCH] Migrate x-pack-elasticsearch source to elasticsearch --- {.ci => x-pack/.ci}/java-versions.properties | 0 {.ci => x-pack/.ci}/matrix-build-javas.yml | 0 {.ci => x-pack/.ci}/matrix-java-exclusions.yml | 0 {.ci => x-pack/.ci}/matrix-runtime-javas.yml | 0 .dir-locals.el => x-pack/.dir-locals.el | 0 {.github => x-pack/.github}/ISSUE_TEMPLATE.md | 0 .gitignore => x-pack/.gitignore | 0 .projectile => x-pack/.projectile | 0 LICENSE.txt => x-pack/LICENSE.txt | 0 NOTICE.txt => x-pack/NOTICE.txt | 0 README.asciidoc => x-pack/README.asciidoc | 0 build.gradle => x-pack/build.gradle | 0 {buildSrc => x-pack/buildSrc}/settings.gradle | 0 .../dev-tools}/checkstyle_suppressions.xml | 0 {dev-tools => x-pack/dev-tools}/ci | 0 {dev-tools => x-pack/dev-tools}/github_relabel.pl | 0 .../dev-tools}/smoke_test_xpack_rc.py | 0 .../dev-tools}/xes_release_notes.pl | 0 .../dev-tools}/xescpp_release_notes.pl | 0 {docs => x-pack/docs}/build.gradle | 0 {docs => x-pack/docs}/en/commands/certgen.asciidoc | 0 {docs => x-pack/docs}/en/commands/certutil.asciidoc | 0 {docs => x-pack/docs}/en/commands/index.asciidoc | 0 .../docs}/en/commands/migrate-tool.asciidoc | 0 .../docs}/en/commands/saml-metadata.asciidoc | 0 .../docs}/en/commands/setup-passwords.asciidoc | 0 .../docs}/en/commands/syskeygen.asciidoc | 0 .../docs}/en/commands/users-command.asciidoc | 0 {docs => x-pack/docs}/en/index.asciidoc | 0 {docs => x-pack/docs}/en/ml/aggregations.asciidoc | 0 {docs => x-pack/docs}/en/ml/analyzing.asciidoc | 0 {docs => x-pack/docs}/en/ml/api-quickref.asciidoc | 0 {docs => x-pack/docs}/en/ml/architecture.asciidoc | 0 {docs => x-pack/docs}/en/ml/buckets.asciidoc | 0 {docs => x-pack/docs}/en/ml/calendars.asciidoc | 0 {docs => x-pack/docs}/en/ml/categories.asciidoc | 0 {docs => x-pack/docs}/en/ml/configuring.asciidoc | 0 {docs => x-pack/docs}/en/ml/customurl.asciidoc | 0 {docs => x-pack/docs}/en/ml/datafeeds.asciidoc | 0 {docs => x-pack/docs}/en/ml/forecasting.asciidoc | 0 {docs => x-pack/docs}/en/ml/functions.asciidoc | 0 .../docs}/en/ml/functions/count.asciidoc | 0 {docs => x-pack/docs}/en/ml/functions/geo.asciidoc | 0 {docs => x-pack/docs}/en/ml/functions/info.asciidoc | 0 .../docs}/en/ml/functions/metric.asciidoc | 0 {docs => x-pack/docs}/en/ml/functions/rare.asciidoc | 0 {docs => x-pack/docs}/en/ml/functions/sum.asciidoc | 0 {docs => x-pack/docs}/en/ml/functions/time.asciidoc | 0 .../docs}/en/ml/getting-started-data.asciidoc | 0 .../docs}/en/ml/getting-started-forecast.asciidoc | 0 .../docs}/en/ml/getting-started-multi.asciidoc | 0 .../docs}/en/ml/getting-started-next.asciidoc | 0 .../docs}/en/ml/getting-started-single.asciidoc | 0 .../docs}/en/ml/getting-started-wizards.asciidoc | 0 .../docs}/en/ml/getting-started.asciidoc | 0 .../docs}/en/ml/images/ml-category-advanced.jpg | Bin .../docs}/en/ml/images/ml-category-anomalies.jpg | Bin .../docs}/en/ml/images/ml-categoryterms.jpg | Bin .../docs}/en/ml/images/ml-create-job.jpg | Bin .../docs}/en/ml/images/ml-create-jobs.jpg | Bin {docs => x-pack/docs}/en/ml/images/ml-customurl.jpg | Bin .../docs}/en/ml/images/ml-data-dates.jpg | Bin .../docs}/en/ml/images/ml-data-keywords.jpg | Bin .../docs}/en/ml/images/ml-data-metrics.jpg | Bin .../docs}/en/ml/images/ml-data-topmetrics.jpg | Bin .../docs}/en/ml/images/ml-data-visualizer.jpg | Bin {docs => x-pack/docs}/en/ml/images/ml-edit-job.jpg | Bin .../docs}/en/ml/images/ml-gs-aggregations.jpg | Bin .../docs}/en/ml/images/ml-gs-duration.jpg | Bin .../docs}/en/ml/images/ml-gs-forecast-actual.jpg | Bin .../docs}/en/ml/images/ml-gs-forecast-open.jpg | Bin .../docs}/en/ml/images/ml-gs-forecast-results.jpg | Bin .../docs}/en/ml/images/ml-gs-forecast.jpg | Bin .../docs}/en/ml/images/ml-gs-job-analysis.jpg | Bin .../docs}/en/ml/images/ml-gs-job-forecast.jpg | Bin .../docs}/en/ml/images/ml-gs-job1-analysis.jpg | Bin .../docs}/en/ml/images/ml-gs-job1-anomalies.jpg | Bin .../docs}/en/ml/images/ml-gs-job1-datafeed.jpg | Bin .../en/ml/images/ml-gs-job1-explorer-anomaly.jpg | Bin .../docs}/en/ml/images/ml-gs-job1-explorer.jpg | Bin .../docs}/en/ml/images/ml-gs-job1-manage1.jpg | Bin .../docs}/en/ml/images/ml-gs-job1-results.jpg | Bin .../docs}/en/ml/images/ml-gs-job1-time.jpg | Bin {docs => x-pack/docs}/en/ml/images/ml-gs-job1.jpg | Bin .../en/ml/images/ml-gs-job2-explorer-anomaly.jpg | Bin .../docs}/en/ml/images/ml-gs-job2-explorer-host.jpg | Bin .../en/ml/images/ml-gs-job2-explorer-table.jpg | Bin .../docs}/en/ml/images/ml-gs-job2-explorer.jpg | Bin .../docs}/en/ml/images/ml-gs-job2-split.jpg | Bin .../docs}/en/ml/images/ml-gs-multi-job.jpg | Bin .../docs}/en/ml/images/ml-gs-single-job.jpg | Bin .../docs}/en/ml/images/ml-population-anomaly.jpg | Bin .../docs}/en/ml/images/ml-population-job.jpg | Bin .../docs}/en/ml/images/ml-population-results.jpg | Bin .../docs}/en/ml/images/ml-scriptfields.jpg | Bin .../docs}/en/ml/images/ml-start-feed.jpg | Bin {docs => x-pack/docs}/en/ml/images/ml-stop-feed.jpg | Bin {docs => x-pack/docs}/en/ml/images/ml.jpg | Bin {docs => x-pack/docs}/en/ml/index.asciidoc | 0 {docs => x-pack/docs}/en/ml/jobs.asciidoc | 0 {docs => x-pack/docs}/en/ml/limitations.asciidoc | 0 {docs => x-pack/docs}/en/ml/overview.asciidoc | 0 {docs => x-pack/docs}/en/ml/populations.asciidoc | 0 {docs => x-pack/docs}/en/ml/stopping-ml.asciidoc | 0 {docs => x-pack/docs}/en/ml/transforms.asciidoc | 0 .../docs}/en/ml/troubleshooting.asciidoc | 0 .../docs}/en/monitoring/collectors.asciidoc | 0 .../en/monitoring/configuring-monitoring.asciidoc | 0 .../docs}/en/monitoring/exporters.asciidoc | 0 .../docs}/en/monitoring/http-export.asciidoc | 0 {docs => x-pack/docs}/en/monitoring/index.asciidoc | 0 .../docs}/en/monitoring/indices.asciidoc | 0 .../docs}/en/monitoring/local-export.asciidoc | 0 .../docs}/en/monitoring/pause-export.asciidoc | 0 {docs => x-pack/docs}/en/node.asciidoc | 0 .../docs}/en/release-notes/7.0.0-alpha1.asciidoc | 0 .../docs}/en/release-notes/xpack-breaking.asciidoc | 0 .../docs}/en/release-notes/xpack-xes.asciidoc | 0 {docs => x-pack/docs}/en/rest-api/defs.asciidoc | 0 .../docs}/en/rest-api/graph/explore.asciidoc | 0 {docs => x-pack/docs}/en/rest-api/index.asciidoc | 0 {docs => x-pack/docs}/en/rest-api/info.asciidoc | 0 .../en/rest-api/license/delete-license.asciidoc | 0 .../en/rest-api/license/get-basic-status.asciidoc | 0 .../docs}/en/rest-api/license/get-license.asciidoc | 0 .../en/rest-api/license/get-trial-status.asciidoc | 0 .../docs}/en/rest-api/license/start-basic.asciidoc | 0 .../docs}/en/rest-api/license/start-trial.asciidoc | 0 .../en/rest-api/license/update-license.asciidoc | 0 .../docs}/en/rest-api/licensing.asciidoc | 0 .../docs}/en/rest-api/migration.asciidoc | 0 .../docs}/en/rest-api/migration/assistance.asciidoc | 0 .../en/rest-api/migration/deprecation.asciidoc | 0 .../docs}/en/rest-api/migration/upgrade.asciidoc | 0 {docs => x-pack/docs}/en/rest-api/ml-api.asciidoc | 0 .../docs}/en/rest-api/ml/calendarresource.asciidoc | 0 .../docs}/en/rest-api/ml/close-job.asciidoc | 0 .../docs}/en/rest-api/ml/datafeedresource.asciidoc | 0 .../en/rest-api/ml/delete-calendar-event.asciidoc | 0 .../en/rest-api/ml/delete-calendar-job.asciidoc | 0 .../docs}/en/rest-api/ml/delete-calendar.asciidoc | 0 .../docs}/en/rest-api/ml/delete-datafeed.asciidoc | 0 .../docs}/en/rest-api/ml/delete-job.asciidoc | 0 .../docs}/en/rest-api/ml/delete-snapshot.asciidoc | 0 .../docs}/en/rest-api/ml/eventresource.asciidoc | 0 .../docs}/en/rest-api/ml/flush-job.asciidoc | 0 .../docs}/en/rest-api/ml/forecast.asciidoc | 0 .../docs}/en/rest-api/ml/get-bucket.asciidoc | 0 .../en/rest-api/ml/get-calendar-event.asciidoc | 0 .../docs}/en/rest-api/ml/get-calendar.asciidoc | 0 .../docs}/en/rest-api/ml/get-category.asciidoc | 0 .../en/rest-api/ml/get-datafeed-stats.asciidoc | 0 .../docs}/en/rest-api/ml/get-datafeed.asciidoc | 0 .../docs}/en/rest-api/ml/get-influencer.asciidoc | 0 .../docs}/en/rest-api/ml/get-job-stats.asciidoc | 0 .../docs}/en/rest-api/ml/get-job.asciidoc | 0 .../en/rest-api/ml/get-overall-buckets.asciidoc | 0 .../docs}/en/rest-api/ml/get-record.asciidoc | 0 .../docs}/en/rest-api/ml/get-snapshot.asciidoc | 0 .../docs}/en/rest-api/ml/jobcounts.asciidoc | 0 .../docs}/en/rest-api/ml/jobresource.asciidoc | 0 .../docs}/en/rest-api/ml/open-job.asciidoc | 0 .../en/rest-api/ml/post-calendar-event.asciidoc | 0 .../docs}/en/rest-api/ml/post-data.asciidoc | 0 .../docs}/en/rest-api/ml/preview-datafeed.asciidoc | 0 .../docs}/en/rest-api/ml/put-calendar-job.asciidoc | 0 .../docs}/en/rest-api/ml/put-calendar.asciidoc | 0 .../docs}/en/rest-api/ml/put-datafeed.asciidoc | 0 .../docs}/en/rest-api/ml/put-job.asciidoc | 0 .../docs}/en/rest-api/ml/resultsresource.asciidoc | 0 .../docs}/en/rest-api/ml/revert-snapshot.asciidoc | 0 .../docs}/en/rest-api/ml/snapshotresource.asciidoc | 0 .../docs}/en/rest-api/ml/start-datafeed.asciidoc | 0 .../docs}/en/rest-api/ml/stop-datafeed.asciidoc | 0 .../docs}/en/rest-api/ml/update-datafeed.asciidoc | 0 .../docs}/en/rest-api/ml/update-job.asciidoc | 0 .../docs}/en/rest-api/ml/update-snapshot.asciidoc | 0 .../docs}/en/rest-api/ml/validate-detector.asciidoc | 0 .../docs}/en/rest-api/ml/validate-job.asciidoc | 0 .../docs}/en/rest-api/rollup-api.asciidoc | 0 .../docs}/en/rest-api/rollup/delete-job.asciidoc | 0 .../docs}/en/rest-api/rollup/get-job.asciidoc | 0 .../docs}/en/rest-api/rollup/put-job.asciidoc | 0 .../docs}/en/rest-api/rollup/rollup-caps.asciidoc | 0 .../en/rest-api/rollup/rollup-job-config.asciidoc | 0 .../docs}/en/rest-api/rollup/rollup-search.asciidoc | 0 .../docs}/en/rest-api/rollup/start-job.asciidoc | 0 .../docs}/en/rest-api/rollup/stop-job.asciidoc | 0 {docs => x-pack/docs}/en/rest-api/security.asciidoc | 0 .../en/rest-api/security/authenticate.asciidoc | 0 .../en/rest-api/security/change-password.asciidoc | 0 .../docs}/en/rest-api/security/clear-cache.asciidoc | 0 .../docs}/en/rest-api/security/privileges.asciidoc | 0 .../en/rest-api/security/role-mapping.asciidoc | 0 .../docs}/en/rest-api/security/roles.asciidoc | 0 .../docs}/en/rest-api/security/ssl.asciidoc | 0 .../docs}/en/rest-api/security/tokens.asciidoc | 0 .../docs}/en/rest-api/security/users.asciidoc | 0 {docs => x-pack/docs}/en/rest-api/watcher.asciidoc | 0 .../docs}/en/rest-api/watcher/ack-watch.asciidoc | 0 .../en/rest-api/watcher/activate-watch.asciidoc | 0 .../en/rest-api/watcher/deactivate-watch.asciidoc | 0 .../docs}/en/rest-api/watcher/delete-watch.asciidoc | 0 .../en/rest-api/watcher/execute-watch.asciidoc | 0 .../docs}/en/rest-api/watcher/get-watch.asciidoc | 0 .../docs}/en/rest-api/watcher/put-watch.asciidoc | 0 .../docs}/en/rest-api/watcher/start.asciidoc | 0 .../docs}/en/rest-api/watcher/stats.asciidoc | 0 .../docs}/en/rest-api/watcher/stop.asciidoc | 0 .../docs}/en/rollup/api-quickref.asciidoc | 0 {docs => x-pack/docs}/en/rollup/index.asciidoc | 0 {docs => x-pack/docs}/en/rollup/overview.asciidoc | 0 .../docs}/en/rollup/rollup-getting-started.asciidoc | 0 .../en/rollup/rollup-search-limitations.asciidoc | 0 .../docs}/en/rollup/understanding-groups.asciidoc | 0 {docs => x-pack/docs}/en/security/auditing.asciidoc | 0 .../docs}/en/security/authentication.asciidoc | 0 .../authentication/active-directory-realm.asciidoc | 0 .../authentication/anonymous-access.asciidoc | 0 .../security/authentication/custom-realm.asciidoc | 0 .../en/security/authentication/file-realm.asciidoc | 0 .../en/security/authentication/ldap-realm.asciidoc | 0 .../security/authentication/native-realm.asciidoc | 0 .../en/security/authentication/pki-realm.asciidoc | 0 .../en/security/authentication/saml-guide.asciidoc | 0 .../en/security/authentication/saml-realm.asciidoc | 0 .../en/security/authentication/user-cache.asciidoc | 0 .../docs}/en/security/authorization.asciidoc | 0 .../authorization/alias-privileges.asciidoc | 0 .../authorization/custom-roles-provider.asciidoc | 0 .../field-and-document-access-control.asciidoc | 0 .../security/authorization/mapping-roles.asciidoc | 0 .../authorization/run-as-privilege.asciidoc | 0 .../en/security/ccs-clients-integrations.asciidoc | 0 .../ccs-clients-integrations/beats.asciidoc | 0 .../ccs-clients-integrations/cross-cluster.asciidoc | 0 .../ccs-clients-integrations/hadoop.asciidoc | 0 .../security/ccs-clients-integrations/http.asciidoc | 0 .../security/ccs-clients-integrations/java.asciidoc | 0 .../ccs-clients-integrations/monitoring.asciidoc | 0 .../docs}/en/security/configuring-es.asciidoc | 0 .../docs}/en/security/getting-started.asciidoc | 0 {docs => x-pack/docs}/en/security/gs-index.asciidoc | 0 .../docs}/en/security/how-security-works.asciidoc | 0 .../docs}/en/security/images/kibana-login.jpg | Bin {docs => x-pack/docs}/en/security/images/nexus.png | Bin {docs => x-pack/docs}/en/security/index.asciidoc | 0 .../docs}/en/security/limitations.asciidoc | 0 .../docs}/en/security/reference.asciidoc | 0 .../docs}/en/security/reference/files.asciidoc | 0 .../docs}/en/security/reference/privileges.asciidoc | 0 .../en/security/securing-communications.asciidoc | 0 .../configuring-tls-docker.asciidoc | 0 .../enabling-cipher-suites.asciidoc | 0 .../node-certificates.asciidoc | 0 .../securing-elasticsearch.asciidoc | 0 .../separating-node-client-traffic.asciidoc | 0 .../securing-communications/setting-up-ssl.asciidoc | 0 .../securing-communications/tls-http.asciidoc | 0 .../securing-communications/tls-transport.asciidoc | 0 .../docs}/en/security/troubleshooting.asciidoc | 0 .../docs}/en/security/using-ip-filtering.asciidoc | 0 .../docs}/en/settings/audit-settings.asciidoc | 0 .../docs}/en/settings/configuring-xes.asciidoc | 0 .../settings/images/monitoring-es-cgroup-true.png | Bin .../docs}/en/settings/license-settings.asciidoc | 0 .../docs}/en/settings/ml-settings.asciidoc | 0 .../docs}/en/settings/monitoring-settings.asciidoc | 0 .../en/settings/notification-settings.asciidoc | 0 .../docs}/en/settings/security-settings.asciidoc | 0 .../docs}/en/settings/sql-settings.asciidoc | 0 .../docs}/en/settings/ssl-settings.asciidoc | 0 .../docs}/en/setup/bootstrap-checks-xes.asciidoc | 0 {docs => x-pack/docs}/en/setup/docker.asciidoc | 0 .../docs}/en/setup/images/ElasticsearchFlow.jpg | Bin {docs => x-pack/docs}/en/setup/next-steps.asciidoc | 0 .../docs}/en/setup/setup-xclient.asciidoc | 0 {docs => x-pack/docs}/en/setup/setup-xes.asciidoc | 0 .../docs}/en/setup/xpack-indices.asciidoc | 0 .../docs}/en/setup/xpack-passwords.asciidoc | 0 {docs => x-pack/docs}/en/setup/xpack-tls.asciidoc | 0 {docs => x-pack/docs}/en/sql/endpoints/cli.asciidoc | 0 .../docs}/en/sql/endpoints/index.asciidoc | 0 .../docs}/en/sql/endpoints/jdbc.asciidoc | 0 .../docs}/en/sql/endpoints/rest.asciidoc | 0 .../docs}/en/sql/endpoints/translate.asciidoc | 0 .../docs}/en/sql/functions/index.asciidoc | 0 .../docs}/en/sql/getting-started.asciidoc | 0 {docs => x-pack/docs}/en/sql/index.asciidoc | 0 .../docs}/en/sql/language/data-types.asciidoc | 0 .../docs}/en/sql/language/index.asciidoc | 0 .../docs}/en/sql/language/reserved.asciidoc | 0 .../docs}/en/sql/language/syntax.asciidoc | 0 {docs => x-pack/docs}/en/sql/standalone.asciidoc | 0 {docs => x-pack/docs}/en/watcher/actions.asciidoc | 0 .../docs}/en/watcher/actions/email.asciidoc | 0 .../docs}/en/watcher/actions/hipchat.asciidoc | 0 .../docs}/en/watcher/actions/index.asciidoc | 0 .../docs}/en/watcher/actions/jira.asciidoc | 0 .../docs}/en/watcher/actions/logging.asciidoc | 0 .../docs}/en/watcher/actions/pagerduty.asciidoc | 0 .../docs}/en/watcher/actions/slack.asciidoc | 0 .../docs}/en/watcher/actions/webhook.asciidoc | 0 {docs => x-pack/docs}/en/watcher/condition.asciidoc | 0 .../docs}/en/watcher/condition/always.asciidoc | 0 .../en/watcher/condition/array-compare.asciidoc | 0 .../docs}/en/watcher/condition/compare.asciidoc | 0 .../docs}/en/watcher/condition/never.asciidoc | 0 .../docs}/en/watcher/condition/script.asciidoc | 0 .../docs}/en/watcher/customizing-watches.asciidoc | 0 .../docs}/en/watcher/encrypting-data.asciidoc | 0 .../docs}/en/watcher/example-watches.asciidoc | 0 .../example-watch-clusterstatus.asciidoc | 0 .../example-watch-meetupdata.asciidoc | 0 .../watching-time-series-data.asciidoc | 0 .../docs}/en/watcher/getting-started.asciidoc | 0 {docs => x-pack/docs}/en/watcher/gs-index.asciidoc | 0 .../docs}/en/watcher/how-watcher-works.asciidoc | 0 .../docs}/en/watcher/images/action-throttling.jpg | Bin .../en/watcher/images/hipchat-copy-room-token.jpg | Bin .../en/watcher/images/hipchat-copy-user-token.jpg | Bin .../en/watcher/images/hipchat-copy-v1-token.jpg | Bin .../watcher/images/hipchat-generate-room-token.jpg | Bin .../watcher/images/hipchat-generate-user-token.jpg | Bin .../en/watcher/images/hipchat-generate-v1-token.jpg | Bin .../watcher/images/hipchat-integration-example.png | Bin .../en/watcher/images/pagerduty-integrations.jpg | Bin .../docs}/en/watcher/images/pagerduty-services.jpg | Bin .../images/slack-add-webhook-integration.jpg | Bin .../en/watcher/images/slack-copy-webhook-url.jpg | Bin .../docs}/en/watcher/images/watch-execution.jpg | Bin .../en/watcher/images/watcher-kibana-dashboard.png | Bin .../en/watcher/images/watcher-ui-edit-watch.png | Bin .../docs}/en/watcher/images/watcher.graffle | Bin {docs => x-pack/docs}/en/watcher/index.asciidoc | 0 {docs => x-pack/docs}/en/watcher/input.asciidoc | 0 .../docs}/en/watcher/input/chain.asciidoc | 0 .../docs}/en/watcher/input/http.asciidoc | 0 .../docs}/en/watcher/input/search.asciidoc | 0 .../docs}/en/watcher/input/simple.asciidoc | 0 {docs => x-pack/docs}/en/watcher/java.asciidoc | 0 .../docs}/en/watcher/java/ack-watch.asciidoc | 0 .../docs}/en/watcher/java/activate-watch.asciidoc | 0 .../docs}/en/watcher/java/deactivate-watch.asciidoc | 0 .../docs}/en/watcher/java/delete-watch.asciidoc | 0 .../docs}/en/watcher/java/execute-watch.asciidoc | 0 .../docs}/en/watcher/java/get-watch.asciidoc | 0 .../docs}/en/watcher/java/put-watch.asciidoc | 0 .../docs}/en/watcher/java/service.asciidoc | 0 .../docs}/en/watcher/java/stats.asciidoc | 0 .../docs}/en/watcher/limitations.asciidoc | 0 .../docs}/en/watcher/managing-watches.asciidoc | 0 .../docs}/en/watcher/release-notes.asciidoc | 0 {docs => x-pack/docs}/en/watcher/transform.asciidoc | 0 .../docs}/en/watcher/transform/chain.asciidoc | 0 .../docs}/en/watcher/transform/script.asciidoc | 0 .../docs}/en/watcher/transform/search.asciidoc | 0 {docs => x-pack/docs}/en/watcher/trigger.asciidoc | 0 .../docs}/en/watcher/trigger/schedule.asciidoc | 0 .../docs}/en/watcher/trigger/schedule/cron.asciidoc | 0 .../en/watcher/trigger/schedule/daily.asciidoc | 0 .../en/watcher/trigger/schedule/hourly.asciidoc | 0 .../en/watcher/trigger/schedule/interval.asciidoc | 0 .../en/watcher/trigger/schedule/monthly.asciidoc | 0 .../en/watcher/trigger/schedule/weekly.asciidoc | 0 .../en/watcher/trigger/schedule/yearly.asciidoc | 0 .../docs}/en/watcher/troubleshooting.asciidoc | 0 .../smoketest/XDocsClientYamlTestSuiteIT.java | 0 gradle.properties => x-pack/gradle.properties | 0 .../gradle}/wrapper/gradle-wrapper.jar | Bin .../gradle}/wrapper/gradle-wrapper.properties | 0 gradlew => x-pack/gradlew | 0 gradlew.bat => x-pack/gradlew.bat | 0 .../license-tools}/bin/key-pair-generator | 0 .../license-tools}/bin/license-generator | 0 .../license-tools}/bin/verify-license | 0 .../license-tools}/build.gradle | 0 .../license/licensor/LicenseSigner.java | 0 .../licensor/tools/KeyPairGeneratorTool.java | 0 .../licensor/tools/LicenseGeneratorTool.java | 0 .../licensor/tools/LicenseVerificationTool.java | 0 .../license/licensor/LicenseVerificationTests.java | 0 .../elasticsearch/license/licensor/TestUtils.java | 0 .../licensor/tools/KeyPairGenerationToolTests.java | 0 .../licensor/tools/LicenseGenerationToolTests.java | 0 .../tools/LicenseVerificationToolTests.java | 0 .../src/test/resources/log4j.properties | 0 .../license-tools}/src/test/resources/private.key | Bin .../license-tools}/src/test/resources/public.key | 0 {plugin => x-pack/plugin}/build.gradle | 0 {plugin => x-pack/plugin}/bwc/build.gradle | 0 .../bwc/maintenance-bugfix-snapshot/build.gradle | 0 .../plugin}/bwc/next-bugfix-snapshot/build.gradle | 0 .../plugin}/bwc/next-minor-snapshot/build.gradle | 0 .../plugin}/bwc/staged-minor-snapshot/build.gradle | 0 {plugin => x-pack/plugin}/core/build.gradle | 0 .../core/licenses/bcpkix-jdk15on-1.58.jar.sha1 | 0 .../core/licenses/bcprov-jdk15on-1.58.jar.sha1 | 0 .../plugin}/core/licenses/bouncycastle-LICENSE.txt | 0 .../plugin}/core/licenses/bouncycastle-NOTICE.txt | 0 .../plugin}/core/licenses/commons-LICENSE.txt | 0 .../plugin}/core/licenses/commons-NOTICE.txt | 0 .../core/licenses/commons-codec-1.10.jar.sha1 | 0 .../core/licenses/commons-logging-1.1.3.jar.sha1 | 0 .../core/licenses/httpasyncclient-4.1.2.jar.sha1 | 0 .../plugin}/core/licenses/httpclient-4.5.2.jar.sha1 | 0 .../plugin}/core/licenses/httpclient-LICENSE.txt | 0 .../plugin}/core/licenses/httpclient-NOTICE.txt | 0 .../plugin}/core/licenses/httpcore-4.4.5.jar.sha1 | 0 .../core/licenses/httpcore-nio-4.4.5.jar.sha1 | 0 .../core/licenses/unboundid-ldapsdk-3.2.0.jar.sha1 | 0 .../core/licenses/unboundid-ldapsdk-LICENSE.txt | 0 .../core/licenses/unboundid-ldapsdk-NOTICE.txt | 0 {plugin => x-pack/plugin}/core/snapshot.key | 0 .../plugin}/core/src/main/bin/x-pack-env | 0 .../plugin}/core/src/main/bin/x-pack-env.bat | 0 .../plugin}/core/src/main/config/log4j2.properties | 0 .../common/network/InetAddressHelper.java | 0 .../java/org/elasticsearch/license/CryptUtils.java | 0 .../java/org/elasticsearch/license/DateUtils.java | 0 .../elasticsearch/license/DeleteLicenseAction.java | 0 .../elasticsearch/license/DeleteLicenseRequest.java | 0 .../license/DeleteLicenseRequestBuilder.java | 0 .../license/DeleteLicenseResponse.java | 0 .../elasticsearch/license/ExpirationCallback.java | 0 .../elasticsearch/license/GetBasicStatusAction.java | 0 .../license/GetBasicStatusRequest.java | 0 .../license/GetBasicStatusRequestBuilder.java | 0 .../license/GetBasicStatusResponse.java | 0 .../org/elasticsearch/license/GetLicenseAction.java | 0 .../elasticsearch/license/GetLicenseRequest.java | 0 .../license/GetLicenseRequestBuilder.java | 0 .../elasticsearch/license/GetLicenseResponse.java | 0 .../elasticsearch/license/GetTrialStatusAction.java | 0 .../license/GetTrialStatusRequest.java | 0 .../license/GetTrialStatusRequestBuilder.java | 0 .../license/GetTrialStatusResponse.java | 0 .../java/org/elasticsearch/license/License.java | 0 .../org/elasticsearch/license/LicenseService.java | 0 .../org/elasticsearch/license/LicenseUtils.java | 0 .../org/elasticsearch/license/LicenseVerifier.java | 0 .../org/elasticsearch/license/LicensesMetaData.java | 0 .../org/elasticsearch/license/LicensesStatus.java | 0 .../java/org/elasticsearch/license/Licensing.java | 0 .../org/elasticsearch/license/LicensingClient.java | 0 .../license/OperationModeFileWatcher.java | 0 .../elasticsearch/license/PostStartBasicAction.java | 0 .../license/PostStartBasicRequest.java | 0 .../license/PostStartBasicRequestBuilder.java | 0 .../license/PostStartBasicResponse.java | 0 .../elasticsearch/license/PostStartTrialAction.java | 0 .../license/PostStartTrialRequest.java | 0 .../license/PostStartTrialRequestBuilder.java | 0 .../license/PostStartTrialResponse.java | 0 .../org/elasticsearch/license/PutLicenseAction.java | 0 .../elasticsearch/license/PutLicenseRequest.java | 0 .../license/PutLicenseRequestBuilder.java | 0 .../elasticsearch/license/PutLicenseResponse.java | 0 .../license/RestDeleteLicenseAction.java | 0 .../elasticsearch/license/RestGetBasicStatus.java | 0 .../elasticsearch/license/RestGetLicenseAction.java | 0 .../elasticsearch/license/RestGetTrialStatus.java | 0 .../license/RestPostStartBasicLicense.java | 0 .../license/RestPostStartTrialLicense.java | 0 .../elasticsearch/license/RestPutLicenseAction.java | 0 .../elasticsearch/license/SelfGeneratedLicense.java | 0 .../license/StartBasicClusterTask.java | 0 .../license/StartTrialClusterTask.java | 0 .../license/StartupSelfGeneratedLicenseTask.java | 0 .../license/TransportDeleteLicenseAction.java | 0 .../license/TransportGetBasicStatusAction.java | 0 .../license/TransportGetLicenseAction.java | 0 .../license/TransportGetTrialStatusAction.java | 0 .../license/TransportPostStartBasicAction.java | 0 .../license/TransportPostStartTrialAction.java | 0 .../license/TransportPutLicenseAction.java | 0 .../elasticsearch/license/XPackInfoResponse.java | 0 .../elasticsearch/license/XPackLicenseState.java | 0 .../org/elasticsearch/license/package-info.java | 0 .../org/elasticsearch/xpack/core/ClientHelper.java | 0 .../xpack/core/EmptyXPackFeatureSet.java | 0 .../org/elasticsearch/xpack/core/XPackBuild.java | 0 .../org/elasticsearch/xpack/core/XPackClient.java | 0 .../elasticsearch/xpack/core/XPackClientPlugin.java | 0 .../elasticsearch/xpack/core/XPackFeatureSet.java | 0 .../org/elasticsearch/xpack/core/XPackField.java | 0 .../org/elasticsearch/xpack/core/XPackPlugin.java | 0 .../org/elasticsearch/xpack/core/XPackSettings.java | 0 .../xpack/core/action/TransportXPackInfoAction.java | 0 .../core/action/TransportXPackUsageAction.java | 0 .../xpack/core/action/XPackInfoAction.java | 0 .../xpack/core/action/XPackInfoRequest.java | 0 .../xpack/core/action/XPackInfoRequestBuilder.java | 0 .../xpack/core/action/XPackUsageAction.java | 0 .../xpack/core/action/XPackUsageRequest.java | 0 .../xpack/core/action/XPackUsageRequestBuilder.java | 0 .../xpack/core/action/XPackUsageResponse.java | 0 .../xpack/core/common/IteratingActionListener.java | 0 .../xpack/core/common/socket/SocketAccess.java | 0 .../core/deprecation/DeprecationInfoAction.java | 0 .../xpack/core/deprecation/DeprecationIssue.java | 0 .../xpack/core/graph/GraphFeatureSetUsage.java | 0 .../xpack/core/graph/action/Connection.java | 0 .../xpack/core/graph/action/GraphExploreAction.java | 0 .../core/graph/action/GraphExploreRequest.java | 0 .../graph/action/GraphExploreRequestBuilder.java | 0 .../core/graph/action/GraphExploreResponse.java | 0 .../elasticsearch/xpack/core/graph/action/Hop.java | 0 .../xpack/core/graph/action/Vertex.java | 0 .../xpack/core/graph/action/VertexRequest.java | 0 .../core/logstash/LogstashFeatureSetUsage.java | 0 .../xpack/core/ml/MLMetadataField.java | 0 .../core/ml/MachineLearningFeatureSetUsage.java | 0 .../xpack/core/ml/MachineLearningField.java | 0 .../elasticsearch/xpack/core/ml/MlClientHelper.java | 0 .../elasticsearch/xpack/core/ml/MlMetaIndex.java | 0 .../org/elasticsearch/xpack/core/ml/MlMetadata.java | 0 .../elasticsearch/xpack/core/ml/MlParserType.java | 0 .../xpack/core/ml/action/CloseJobAction.java | 0 .../xpack/core/ml/action/DeleteCalendarAction.java | 0 .../core/ml/action/DeleteCalendarEventAction.java | 0 .../xpack/core/ml/action/DeleteDatafeedAction.java | 0 .../core/ml/action/DeleteExpiredDataAction.java | 0 .../xpack/core/ml/action/DeleteFilterAction.java | 0 .../xpack/core/ml/action/DeleteJobAction.java | 0 .../core/ml/action/DeleteModelSnapshotAction.java | 0 .../core/ml/action/FinalizeJobExecutionAction.java | 0 .../xpack/core/ml/action/FlushJobAction.java | 0 .../xpack/core/ml/action/ForecastJobAction.java | 0 .../xpack/core/ml/action/GetBucketsAction.java | 0 .../core/ml/action/GetCalendarEventsAction.java | 0 .../xpack/core/ml/action/GetCalendarsAction.java | 0 .../xpack/core/ml/action/GetCategoriesAction.java | 0 .../xpack/core/ml/action/GetDatafeedsAction.java | 0 .../core/ml/action/GetDatafeedsStatsAction.java | 0 .../xpack/core/ml/action/GetFiltersAction.java | 0 .../xpack/core/ml/action/GetInfluencersAction.java | 0 .../xpack/core/ml/action/GetJobsAction.java | 0 .../xpack/core/ml/action/GetJobsStatsAction.java | 0 .../core/ml/action/GetModelSnapshotsAction.java | 0 .../core/ml/action/GetOverallBucketsAction.java | 0 .../xpack/core/ml/action/GetRecordsAction.java | 0 .../xpack/core/ml/action/IsolateDatafeedAction.java | 0 .../xpack/core/ml/action/JobTaskRequest.java | 0 .../xpack/core/ml/action/KillProcessAction.java | 0 .../xpack/core/ml/action/MlInfoAction.java | 0 .../xpack/core/ml/action/OpenJobAction.java | 0 .../xpack/core/ml/action/PersistJobAction.java | 0 .../core/ml/action/PostCalendarEventsAction.java | 0 .../xpack/core/ml/action/PostDataAction.java | 0 .../xpack/core/ml/action/PreviewDatafeedAction.java | 0 .../xpack/core/ml/action/PutCalendarAction.java | 0 .../xpack/core/ml/action/PutDatafeedAction.java | 0 .../xpack/core/ml/action/PutFilterAction.java | 0 .../xpack/core/ml/action/PutJobAction.java | 0 .../core/ml/action/RevertModelSnapshotAction.java | 0 .../xpack/core/ml/action/StartDatafeedAction.java | 0 .../xpack/core/ml/action/StopDatafeedAction.java | 0 .../core/ml/action/UpdateCalendarJobAction.java | 0 .../xpack/core/ml/action/UpdateDatafeedAction.java | 0 .../xpack/core/ml/action/UpdateJobAction.java | 0 .../core/ml/action/UpdateModelSnapshotAction.java | 0 .../xpack/core/ml/action/UpdateProcessAction.java | 0 .../core/ml/action/ValidateDetectorAction.java | 0 .../core/ml/action/ValidateJobConfigAction.java | 0 .../xpack/core/ml/action/util/PageParams.java | 0 .../xpack/core/ml/action/util/QueryPage.java | 0 .../xpack/core/ml/calendars/Calendar.java | 0 .../xpack/core/ml/calendars/ScheduledEvent.java | 0 .../xpack/core/ml/client/MachineLearningClient.java | 0 .../xpack/core/ml/datafeed/ChunkingConfig.java | 0 .../xpack/core/ml/datafeed/DatafeedConfig.java | 0 .../core/ml/datafeed/DatafeedJobValidator.java | 0 .../xpack/core/ml/datafeed/DatafeedState.java | 0 .../xpack/core/ml/datafeed/DatafeedUpdate.java | 0 .../core/ml/datafeed/extractor/DataExtractor.java | 0 .../core/ml/datafeed/extractor/ExtractorUtils.java | 0 .../xpack/core/ml/job/config/AnalysisConfig.java | 0 .../xpack/core/ml/job/config/AnalysisLimits.java | 0 .../ml/job/config/CategorizationAnalyzerConfig.java | 0 .../xpack/core/ml/job/config/Condition.java | 0 .../xpack/core/ml/job/config/Connective.java | 0 .../xpack/core/ml/job/config/DataDescription.java | 0 .../ml/job/config/DefaultDetectorDescription.java | 0 .../xpack/core/ml/job/config/DetectionRule.java | 0 .../xpack/core/ml/job/config/Detector.java | 0 .../xpack/core/ml/job/config/DetectorFunction.java | 0 .../elasticsearch/xpack/core/ml/job/config/Job.java | 0 .../xpack/core/ml/job/config/JobState.java | 0 .../xpack/core/ml/job/config/JobTaskStatus.java | 0 .../xpack/core/ml/job/config/JobUpdate.java | 0 .../xpack/core/ml/job/config/MlFilter.java | 0 .../xpack/core/ml/job/config/ModelPlotConfig.java | 0 .../xpack/core/ml/job/config/Operator.java | 0 .../xpack/core/ml/job/config/RuleAction.java | 0 .../xpack/core/ml/job/config/RuleCondition.java | 0 .../xpack/core/ml/job/config/RuleConditionType.java | 0 .../xpack/core/ml/job/groups/GroupOrJob.java | 0 .../xpack/core/ml/job/groups/GroupOrJobLookup.java | 0 .../xpack/core/ml/job/messages/Messages.java | 0 .../ml/job/persistence/AnomalyDetectorsIndex.java | 0 .../persistence/AnomalyDetectorsIndexFields.java | 0 .../ml/job/persistence/ElasticsearchMappings.java | 0 .../core/ml/job/persistence/JobDataDeleter.java | 0 .../ml/job/persistence/JobStorageDeletionTask.java | 0 .../autodetect/output/FlushAcknowledgement.java | 0 .../process/autodetect/state/CategorizerState.java | 0 .../ml/job/process/autodetect/state/DataCounts.java | 0 .../process/autodetect/state/ModelSizeStats.java | 0 .../job/process/autodetect/state/ModelSnapshot.java | 0 .../autodetect/state/ModelSnapshotField.java | 0 .../ml/job/process/autodetect/state/ModelState.java | 0 .../ml/job/process/autodetect/state/Quantiles.java | 0 .../job/process/autodetect/writer/RecordWriter.java | 0 .../xpack/core/ml/job/results/AnomalyCause.java | 0 .../xpack/core/ml/job/results/AnomalyRecord.java | 0 .../xpack/core/ml/job/results/Bucket.java | 0 .../xpack/core/ml/job/results/BucketInfluencer.java | 0 .../core/ml/job/results/CategoryDefinition.java | 0 .../xpack/core/ml/job/results/Forecast.java | 0 .../core/ml/job/results/ForecastRequestStats.java | 0 .../xpack/core/ml/job/results/Influence.java | 0 .../xpack/core/ml/job/results/Influencer.java | 0 .../xpack/core/ml/job/results/ModelPlot.java | 0 .../xpack/core/ml/job/results/OverallBucket.java | 0 .../xpack/core/ml/job/results/PartitionScore.java | 0 .../core/ml/job/results/ReservedFieldNames.java | 0 .../xpack/core/ml/job/results/Result.java | 0 .../xpack/core/ml/notifications/AuditMessage.java | 0 .../xpack/core/ml/notifications/AuditorField.java | 0 .../xpack/core/ml/notifications/Level.java | 0 .../xpack/core/ml/utils/ExceptionsHelper.java | 0 .../xpack/core/ml/utils/Intervals.java | 0 .../xpack/core/ml/utils/MlIndicesUtils.java | 0 .../xpack/core/ml/utils/MlStrings.java | 0 .../xpack/core/ml/utils/NameResolver.java | 0 .../xpack/core/ml/utils/ToXContentParams.java | 0 .../time/DateTimeFormatterTimestampConverter.java | 0 .../xpack/core/ml/utils/time/TimeUtils.java | 0 .../core/ml/utils/time/TimestampConverter.java | 0 .../xpack/core/monitoring/MonitoredSystem.java | 0 .../core/monitoring/MonitoringFeatureSetUsage.java | 0 .../xpack/core/monitoring/MonitoringField.java | 0 .../monitoring/action/MonitoringBulkAction.java | 0 .../core/monitoring/action/MonitoringBulkDoc.java | 0 .../monitoring/action/MonitoringBulkRequest.java | 0 .../action/MonitoringBulkRequestBuilder.java | 0 .../monitoring/action/MonitoringBulkResponse.java | 0 .../core/monitoring/action/MonitoringIndex.java | 0 .../core/monitoring/client/MonitoringClient.java | 0 .../core/monitoring/exporter/MonitoringDoc.java | 0 .../exporter/MonitoringTemplateUtils.java | 0 .../xpack/core/rest/XPackRestHandler.java | 0 .../xpack/core/rest/action/RestXPackInfoAction.java | 0 .../core/rest/action/RestXPackUsageAction.java | 0 .../xpack/core/rollup/RollupFeatureSetUsage.java | 0 .../xpack/core/rollup/RollupField.java | 0 .../core/rollup/action/DeleteRollupJobAction.java | 0 .../core/rollup/action/GetRollupCapsAction.java | 0 .../core/rollup/action/GetRollupJobsAction.java | 0 .../core/rollup/action/PutRollupJobAction.java | 0 .../xpack/core/rollup/action/RollableIndexCaps.java | 0 .../xpack/core/rollup/action/RollupJobCaps.java | 0 .../core/rollup/action/RollupSearchAction.java | 0 .../core/rollup/action/StartRollupJobAction.java | 0 .../core/rollup/action/StopRollupJobAction.java | 0 .../xpack/core/rollup/job/DateHistoGroupConfig.java | 0 .../xpack/core/rollup/job/GroupConfig.java | 0 .../xpack/core/rollup/job/HistoGroupConfig.java | 0 .../xpack/core/rollup/job/IndexerState.java | 0 .../xpack/core/rollup/job/MetricConfig.java | 0 .../xpack/core/rollup/job/RollupJob.java | 0 .../xpack/core/rollup/job/RollupJobConfig.java | 0 .../xpack/core/rollup/job/RollupJobStats.java | 0 .../xpack/core/rollup/job/RollupJobStatus.java | 0 .../xpack/core/rollup/job/TermsGroupConfig.java | 0 .../elasticsearch/xpack/core/scheduler/Cron.java | 0 .../xpack/core/scheduler/SchedulerEngine.java | 0 .../xpack/core/security/ScrollHelper.java | 0 .../xpack/core/security/SecurityContext.java | 0 .../xpack/core/security/SecurityExtension.java | 0 .../core/security/SecurityFeatureSetUsage.java | 0 .../xpack/core/security/SecurityField.java | 0 .../security/SecurityLifecycleServiceField.java | 0 .../xpack/core/security/SecuritySettings.java | 0 .../xpack/core/security/UserSettings.java | 0 .../action/realm/ClearRealmCacheAction.java | 0 .../action/realm/ClearRealmCacheRequest.java | 0 .../action/realm/ClearRealmCacheRequestBuilder.java | 0 .../action/realm/ClearRealmCacheResponse.java | 0 .../security/action/role/ClearRolesCacheAction.java | 0 .../action/role/ClearRolesCacheRequest.java | 0 .../action/role/ClearRolesCacheRequestBuilder.java | 0 .../action/role/ClearRolesCacheResponse.java | 0 .../core/security/action/role/DeleteRoleAction.java | 0 .../security/action/role/DeleteRoleRequest.java | 0 .../action/role/DeleteRoleRequestBuilder.java | 0 .../security/action/role/DeleteRoleResponse.java | 0 .../core/security/action/role/GetRolesAction.java | 0 .../core/security/action/role/GetRolesRequest.java | 0 .../action/role/GetRolesRequestBuilder.java | 0 .../core/security/action/role/GetRolesResponse.java | 0 .../core/security/action/role/PutRoleAction.java | 0 .../core/security/action/role/PutRoleRequest.java | 0 .../security/action/role/PutRoleRequestBuilder.java | 0 .../core/security/action/role/PutRoleResponse.java | 0 .../action/rolemapping/DeleteRoleMappingAction.java | 0 .../rolemapping/DeleteRoleMappingRequest.java | 0 .../DeleteRoleMappingRequestBuilder.java | 0 .../rolemapping/DeleteRoleMappingResponse.java | 0 .../action/rolemapping/GetRoleMappingsAction.java | 0 .../action/rolemapping/GetRoleMappingsRequest.java | 0 .../rolemapping/GetRoleMappingsRequestBuilder.java | 0 .../action/rolemapping/GetRoleMappingsResponse.java | 0 .../action/rolemapping/PutRoleMappingAction.java | 0 .../action/rolemapping/PutRoleMappingRequest.java | 0 .../rolemapping/PutRoleMappingRequestBuilder.java | 0 .../action/rolemapping/PutRoleMappingResponse.java | 0 .../action/saml/SamlAuthenticateAction.java | 0 .../action/saml/SamlAuthenticateRequest.java | 0 .../action/saml/SamlAuthenticateRequestBuilder.java | 0 .../action/saml/SamlAuthenticateResponse.java | 0 .../action/saml/SamlInvalidateSessionAction.java | 0 .../action/saml/SamlInvalidateSessionRequest.java | 0 .../saml/SamlInvalidateSessionRequestBuilder.java | 0 .../action/saml/SamlInvalidateSessionResponse.java | 0 .../core/security/action/saml/SamlLogoutAction.java | 0 .../security/action/saml/SamlLogoutRequest.java | 0 .../action/saml/SamlLogoutRequestBuilder.java | 0 .../security/action/saml/SamlLogoutResponse.java | 0 .../saml/SamlPrepareAuthenticationAction.java | 0 .../saml/SamlPrepareAuthenticationRequest.java | 0 .../SamlPrepareAuthenticationRequestBuilder.java | 0 .../saml/SamlPrepareAuthenticationResponse.java | 0 .../security/action/token/CreateTokenAction.java | 0 .../security/action/token/CreateTokenRequest.java | 0 .../action/token/CreateTokenRequestBuilder.java | 0 .../security/action/token/CreateTokenResponse.java | 0 .../action/token/InvalidateTokenAction.java | 0 .../action/token/InvalidateTokenRequest.java | 0 .../action/token/InvalidateTokenRequestBuilder.java | 0 .../action/token/InvalidateTokenResponse.java | 0 .../security/action/token/RefreshTokenAction.java | 0 .../security/action/user/AuthenticateAction.java | 0 .../security/action/user/AuthenticateRequest.java | 0 .../action/user/AuthenticateRequestBuilder.java | 0 .../security/action/user/AuthenticateResponse.java | 0 .../security/action/user/ChangePasswordAction.java | 0 .../security/action/user/ChangePasswordRequest.java | 0 .../action/user/ChangePasswordRequestBuilder.java | 0 .../action/user/ChangePasswordResponse.java | 0 .../core/security/action/user/DeleteUserAction.java | 0 .../security/action/user/DeleteUserRequest.java | 0 .../action/user/DeleteUserRequestBuilder.java | 0 .../security/action/user/DeleteUserResponse.java | 0 .../core/security/action/user/GetUsersAction.java | 0 .../core/security/action/user/GetUsersRequest.java | 0 .../action/user/GetUsersRequestBuilder.java | 0 .../core/security/action/user/GetUsersResponse.java | 0 .../security/action/user/HasPrivilegesAction.java | 0 .../security/action/user/HasPrivilegesRequest.java | 0 .../action/user/HasPrivilegesRequestBuilder.java | 0 .../security/action/user/HasPrivilegesResponse.java | 0 .../core/security/action/user/PutUserAction.java | 0 .../core/security/action/user/PutUserRequest.java | 0 .../security/action/user/PutUserRequestBuilder.java | 0 .../core/security/action/user/PutUserResponse.java | 0 .../core/security/action/user/SetEnabledAction.java | 0 .../security/action/user/SetEnabledRequest.java | 0 .../action/user/SetEnabledRequestBuilder.java | 0 .../security/action/user/SetEnabledResponse.java | 0 .../core/security/action/user/UserRequest.java | 0 .../xpack/core/security/authc/Authentication.java | 0 .../authc/AuthenticationFailureHandler.java | 0 .../core/security/authc/AuthenticationField.java | 0 .../core/security/authc/AuthenticationResult.java | 0 .../security/authc/AuthenticationServiceField.java | 0 .../core/security/authc/AuthenticationToken.java | 0 .../authc/DefaultAuthenticationFailureHandler.java | 0 .../core/security/authc/InternalRealmsSettings.java | 0 .../xpack/core/security/authc/KeyAndTimestamp.java | 0 .../xpack/core/security/authc/Realm.java | 0 .../xpack/core/security/authc/RealmConfig.java | 0 .../xpack/core/security/authc/RealmSettings.java | 0 .../xpack/core/security/authc/TokenMetaData.java | 0 .../authc/esnative/ClientReservedRealm.java | 0 .../authc/esnative/NativeRealmSettings.java | 0 .../core/security/authc/file/FileRealmSettings.java | 0 .../ldap/ActiveDirectorySessionFactorySettings.java | 0 .../core/security/authc/ldap/LdapRealmSettings.java | 0 .../authc/ldap/LdapSessionFactorySettings.java | 0 .../ldap/LdapUserSearchSessionFactorySettings.java | 0 .../authc/ldap/PoolingSessionFactorySettings.java | 0 .../authc/ldap/SearchGroupsResolverSettings.java | 0 .../ldap/UserAttributeGroupsResolverSettings.java | 0 .../ldap/support/LdapLoadBalancingSettings.java | 0 .../ldap/support/LdapMetaDataResolverSettings.java | 0 .../authc/ldap/support/LdapSearchScope.java | 0 .../authc/ldap/support/SessionFactorySettings.java | 0 .../core/security/authc/pki/PkiRealmSettings.java | 0 .../core/security/authc/saml/SamlRealmSettings.java | 0 .../xpack/core/security/authc/support/BCrypt.java | 0 .../CachingUsernamePasswordRealmSettings.java | 0 .../core/security/authc/support/CharArrays.java | 0 .../authc/support/DnRoleMapperSettings.java | 0 .../xpack/core/security/authc/support/Hasher.java | 0 .../authc/support/UsernamePasswordToken.java | 0 .../support/mapper/CompositeRoleMapperSettings.java | 0 .../authc/support/mapper/ExpressionRoleMapping.java | 0 .../support/mapper/NativeRoleMappingStoreField.java | 0 .../support/mapper/expressiondsl/AllExpression.java | 0 .../support/mapper/expressiondsl/AnyExpression.java | 0 .../mapper/expressiondsl/ExceptExpression.java | 0 .../mapper/expressiondsl/ExpressionModel.java | 0 .../mapper/expressiondsl/ExpressionParser.java | 0 .../mapper/expressiondsl/FieldExpression.java | 0 .../mapper/expressiondsl/RoleMapperExpression.java | 0 .../security/authz/AuthorizationServiceField.java | 0 .../authz/IndicesAndAliasesResolverField.java | 0 .../xpack/core/security/authz/RoleDescriptor.java | 0 .../authz/accesscontrol/DocumentSubsetReader.java | 0 .../authz/accesscontrol/FieldSubsetReader.java | 0 .../authz/accesscontrol/IndicesAccessControl.java | 0 .../accesscontrol/SecurityIndexSearcherWrapper.java | 0 .../accesscontrol/SetSecurityUserProcessor.java | 0 .../authz/permission/ClusterPermission.java | 0 .../security/authz/permission/FieldPermissions.java | 0 .../authz/permission/FieldPermissionsCache.java | 0 .../permission/FieldPermissionsDefinition.java | 0 .../authz/permission/IndicesPermission.java | 0 .../xpack/core/security/authz/permission/Role.java | 0 .../security/authz/permission/RunAsPermission.java | 0 .../security/authz/privilege/ClusterPrivilege.java | 0 .../authz/privilege/HealthAndStatsPrivilege.java | 0 .../security/authz/privilege/IndexPrivilege.java | 0 .../core/security/authz/privilege/Privilege.java | 0 .../security/authz/privilege/SystemPrivilege.java | 0 .../security/authz/store/ReservedRolesStore.java | 0 .../xpack/core/security/client/SecurityClient.java | 0 .../core/security/index/IndexAuditTrailField.java | 0 .../xpack/core/security/rest/RestRequestFilter.java | 0 .../xpack/core/security/support/Automatons.java | 0 .../xpack/core/security/support/Exceptions.java | 0 .../xpack/core/security/support/MetadataUtils.java | 0 .../xpack/core/security/support/NoOpLogger.java | 0 .../xpack/core/security/support/Validation.java | 0 .../core/security/transport/SSLExceptionHelper.java | 0 .../transport/netty4/SecurityNetty4Transport.java | 0 .../xpack/core/security/user/AnonymousUser.java | 0 .../xpack/core/security/user/BeatsSystemUser.java | 0 .../xpack/core/security/user/BuiltinUserInfo.java | 0 .../xpack/core/security/user/ElasticUser.java | 0 .../user/InternalUserSerializationHelper.java | 0 .../xpack/core/security/user/KibanaUser.java | 0 .../core/security/user/LogstashSystemUser.java | 0 .../xpack/core/security/user/SystemUser.java | 0 .../xpack/core/security/user/User.java | 0 .../xpack/core/security/user/UsernamesField.java | 0 .../xpack/core/security/user/XPackSecurityUser.java | 0 .../xpack/core/security/user/XPackUser.java | 0 .../xpack/core/security/xcontent/XContentUtils.java | 0 .../org/elasticsearch/xpack/core/ssl/CertUtils.java | 0 .../xpack/core/ssl/CertificateGenerateTool.java | 0 .../xpack/core/ssl/CertificateTool.java | 0 .../core/ssl/CertificateTrustRestrictions.java | 0 .../xpack/core/ssl/DefaultJDKTrustConfig.java | 0 .../org/elasticsearch/xpack/core/ssl/KeyConfig.java | 0 .../elasticsearch/xpack/core/ssl/PEMKeyConfig.java | 0 .../xpack/core/ssl/PEMTrustConfig.java | 0 .../xpack/core/ssl/RestrictedTrustConfig.java | 0 .../xpack/core/ssl/RestrictedTrustManager.java | 0 .../elasticsearch/xpack/core/ssl/SSLClientAuth.java | 0 .../xpack/core/ssl/SSLConfiguration.java | 0 .../xpack/core/ssl/SSLConfigurationReloader.java | 0 .../xpack/core/ssl/SSLConfigurationSettings.java | 0 .../elasticsearch/xpack/core/ssl/SSLService.java | 0 .../xpack/core/ssl/StoreKeyConfig.java | 0 .../xpack/core/ssl/StoreTrustConfig.java | 0 .../xpack/core/ssl/TLSLicenseBootstrapCheck.java | 0 .../xpack/core/ssl/TrustAllConfig.java | 0 .../elasticsearch/xpack/core/ssl/TrustConfig.java | 0 .../xpack/core/ssl/VerificationMode.java | 0 .../xpack/core/ssl/X509KeyPairSettings.java | 0 .../core/ssl/action/GetCertificateInfoAction.java | 0 .../action/TransportGetCertificateInfoAction.java | 0 .../xpack/core/ssl/cert/CertificateInfo.java | 0 .../core/ssl/rest/RestGetCertificateInfoAction.java | 0 .../xpack/core/template/TemplateUtils.java | 0 .../core/upgrade/IndexUpgradeCheckVersion.java | 0 .../core/upgrade/IndexUpgradeServiceFields.java | 0 .../xpack/core/upgrade/UpgradeActionRequired.java | 0 .../xpack/core/upgrade/UpgradeField.java | 0 .../core/upgrade/actions/IndexUpgradeAction.java | 0 .../upgrade/actions/IndexUpgradeInfoAction.java | 0 .../xpack/core/watcher/WatcherFeatureSetUsage.java | 0 .../xpack/core/watcher/WatcherField.java | 0 .../xpack/core/watcher/WatcherMetaData.java | 0 .../xpack/core/watcher/WatcherState.java | 0 .../xpack/core/watcher/actions/Action.java | 0 .../xpack/core/watcher/actions/ActionFactory.java | 0 .../xpack/core/watcher/actions/ActionRegistry.java | 0 .../xpack/core/watcher/actions/ActionStatus.java | 0 .../xpack/core/watcher/actions/ActionWrapper.java | 0 .../core/watcher/actions/ActionWrapperField.java | 0 .../core/watcher/actions/ActionWrapperResult.java | 0 .../core/watcher/actions/ExecutableAction.java | 0 .../watcher/actions/throttler/AckThrottler.java | 0 .../watcher/actions/throttler/ActionThrottler.java | 0 .../watcher/actions/throttler/PeriodThrottler.java | 0 .../core/watcher/actions/throttler/Throttler.java | 0 .../watcher/actions/throttler/ThrottlerField.java | 0 .../core/watcher/client/WatchSourceBuilder.java | 0 .../xpack/core/watcher/client/WatcherClient.java | 0 .../xpack/core/watcher/common/secret/Secret.java | 0 .../xpack/core/watcher/common/stats/Counters.java | 0 .../core/watcher/common/xcontent/XContentUtils.java | 0 .../core/watcher/condition/AlwaysCondition.java | 0 .../xpack/core/watcher/condition/Condition.java | 0 .../core/watcher/condition/ConditionFactory.java | 0 .../core/watcher/condition/ConditionRegistry.java | 0 .../core/watcher/condition/ExecutableCondition.java | 0 .../xpack/core/watcher/crypto/CryptoService.java | 0 .../core/watcher/execution/ActionExecutionMode.java | 0 .../core/watcher/execution/ExecutionPhase.java | 0 .../core/watcher/execution/ExecutionState.java | 0 .../xpack/core/watcher/execution/QueuedWatch.java | 0 .../watcher/execution/TriggeredWatchStoreField.java | 0 .../watcher/execution/WatchExecutionContext.java | 0 .../watcher/execution/WatchExecutionResult.java | 0 .../watcher/execution/WatchExecutionSnapshot.java | 0 .../xpack/core/watcher/execution/Wid.java | 0 .../core/watcher/history/HistoryStoreField.java | 0 .../xpack/core/watcher/history/WatchRecord.java | 0 .../xpack/core/watcher/input/ExecutableInput.java | 0 .../xpack/core/watcher/input/Input.java | 0 .../xpack/core/watcher/input/none/NoneInput.java | 0 .../xpack/core/watcher/support/Exceptions.java | 0 .../core/watcher/support/WatcherDateTimeUtils.java | 0 .../support/WatcherIndexTemplateRegistryField.java | 0 .../xpack/core/watcher/support/WatcherUtils.java | 0 .../core/watcher/support/xcontent/ObjectPath.java | 0 .../watcher/support/xcontent/WatcherParams.java | 0 .../support/xcontent/WatcherXContentParser.java | 0 .../watcher/support/xcontent/XContentSource.java | 0 .../core/watcher/transform/ExecutableTransform.java | 0 .../xpack/core/watcher/transform/Transform.java | 0 .../core/watcher/transform/TransformFactory.java | 0 .../core/watcher/transform/TransformRegistry.java | 0 .../watcher/transform/chain/ChainTransform.java | 0 .../transform/chain/ChainTransformFactory.java | 0 .../transform/chain/ExecutableChainTransform.java | 0 .../transport/actions/ack/AckWatchAction.java | 0 .../transport/actions/ack/AckWatchRequest.java | 0 .../actions/ack/AckWatchRequestBuilder.java | 0 .../transport/actions/ack/AckWatchResponse.java | 0 .../actions/activate/ActivateWatchAction.java | 0 .../actions/activate/ActivateWatchRequest.java | 0 .../activate/ActivateWatchRequestBuilder.java | 0 .../actions/activate/ActivateWatchResponse.java | 0 .../transport/actions/delete/DeleteWatchAction.java | 0 .../actions/delete/DeleteWatchRequest.java | 0 .../actions/delete/DeleteWatchRequestBuilder.java | 0 .../actions/delete/DeleteWatchResponse.java | 0 .../actions/execute/ExecuteWatchAction.java | 0 .../actions/execute/ExecuteWatchRequest.java | 0 .../actions/execute/ExecuteWatchRequestBuilder.java | 0 .../actions/execute/ExecuteWatchResponse.java | 0 .../transport/actions/get/GetWatchAction.java | 0 .../transport/actions/get/GetWatchRequest.java | 0 .../actions/get/GetWatchRequestBuilder.java | 0 .../transport/actions/get/GetWatchResponse.java | 0 .../transport/actions/put/PutWatchAction.java | 0 .../transport/actions/put/PutWatchRequest.java | 0 .../actions/put/PutWatchRequestBuilder.java | 0 .../transport/actions/put/PutWatchResponse.java | 0 .../actions/service/WatcherServiceAction.java | 0 .../actions/service/WatcherServiceRequest.java | 0 .../service/WatcherServiceRequestBuilder.java | 0 .../actions/service/WatcherServiceResponse.java | 0 .../transport/actions/stats/WatcherStatsAction.java | 0 .../actions/stats/WatcherStatsRequest.java | 0 .../actions/stats/WatcherStatsRequestBuilder.java | 0 .../actions/stats/WatcherStatsResponse.java | 0 .../xpack/core/watcher/trigger/Trigger.java | 0 .../xpack/core/watcher/trigger/TriggerEvent.java | 0 .../xpack/core/watcher/watch/Payload.java | 0 .../xpack/core/watcher/watch/Watch.java | 0 .../xpack/core/watcher/watch/WatchField.java | 0 .../xpack/core/watcher/watch/WatchStatus.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../src/main/resources/logstash-index-template.json | 0 .../core/src/main/resources/monitoring-alerts.json | 0 .../core/src/main/resources/monitoring-beats.json | 0 .../core/src/main/resources/monitoring-es.json | 0 .../core/src/main/resources/monitoring-kibana.json | 0 .../src/main/resources/monitoring-logstash.json | 0 .../src/main/resources/rollup-dynamic-template.json | 0 .../src/main/resources/security-index-template.json | 0 .../core/src/main/resources/security_audit_log.json | 0 .../core/src/main/resources/triggered-watches.json | 0 .../core/src/main/resources/watch-history.json | 0 .../plugin}/core/src/main/resources/watches.json | 0 .../elasticsearch/action/MockIndicesRequest.java | 0 .../http/netty4/Netty4HttpMockUtil.java | 0 .../license/AbstractLicenseServiceTestCase.java | 0 .../AbstractLicensesIntegrationTestCase.java | 0 .../license/ExpirationCallbackTests.java | 0 .../license/LicenseClusterChangeTests.java | 0 .../license/LicenseOperationModeTests.java | 0 .../license/LicenseOperationModeUpdateTests.java | 0 .../license/LicenseRegistrationTests.java | 0 .../elasticsearch/license/LicenseScheduleTests.java | 0 .../license/LicenseSerializationTests.java | 0 .../LicenseServiceClusterNotRecoveredTests.java | 0 .../license/LicenseServiceClusterTests.java | 0 .../org/elasticsearch/license/LicenseTLSTests.java | 0 .../elasticsearch/license/LicenseUtilsTests.java | 0 .../license/LicensesAcknowledgementTests.java | 0 .../license/LicensesManagerServiceTests.java | 0 .../license/LicensesMetaDataSerializationTests.java | 0 .../license/LicensesTransportTests.java | 0 .../license/OperationModeFileWatcherTests.java | 0 .../license/PutLicenseResponseTests.java | 0 .../license/SelfGeneratedLicenseTests.java | 0 .../license/StartBasicLicenseTests.java | 0 .../license/StartTrialLicenseTests.java | 0 .../java/org/elasticsearch/license/TestUtils.java | 0 .../license/XPackLicenseStateTests.java | 0 .../script/MockMustacheScriptEngine.java | 0 .../test/SecuritySettingsSourceField.java | 0 .../java/org/elasticsearch/test/TestMatchers.java | 0 .../java/org/elasticsearch/test/http/Headers.java | 0 .../org/elasticsearch/test/http/MockRequest.java | 0 .../org/elasticsearch/test/http/MockResponse.java | 0 .../org/elasticsearch/test/http/MockWebServer.java | 0 .../elasticsearch/xpack/core/ClientHelperTests.java | 0 .../xpack/core/LocalStateCompositeXPackPlugin.java | 0 .../xpack/core/TestXPackTransportClient.java | 0 .../xpack/core/XPackSettingsTests.java | 0 .../core/action/TransportXPackInfoActionTests.java | 0 .../core/common/IteratingActionListenerTests.java | 0 .../core/deprecation/DeprecationChecksTests.java | 0 .../DeprecationInfoActionRequestTests.java | 0 .../DeprecationInfoActionResponseTests.java | 0 .../core/deprecation/DeprecationIssueTests.java | 0 .../core/ml/action/CloseJobActionRequestTests.java | 0 .../core/ml/action/CloseJobActionResponseTests.java | 0 .../DeleteCalendarEventActionRequestTests.java | 0 .../core/ml/action/DeleteDatafeedRequestTests.java | 0 .../DeleteExpiredDataActionResponseTests.java | 0 .../xpack/core/ml/action/DeleteJobRequestTests.java | 0 .../ml/action/ForecastJobActionRequestTests.java | 0 .../ml/action/ForecastJobActionResponseTests.java | 0 .../core/ml/action/GetBucketActionRequestTests.java | 0 .../ml/action/GetBucketActionResponseTests.java | 0 .../action/GetCalendarEventsActionRequestTests.java | 0 .../ml/action/GetCalendarsActionRequestTests.java | 0 .../core/ml/action/GetCategoriesRequestTests.java | 0 .../core/ml/action/GetCategoriesResponseTests.java | 0 .../action/GetDatafeedStatsActionRequestTests.java | 0 .../action/GetDatafeedStatsActionResponseTests.java | 0 .../ml/action/GetDatafeedsActionRequestTests.java | 0 .../ml/action/GetDatafeedsActionResponseTests.java | 0 .../ml/action/GetFiltersActionRequestTests.java | 0 .../ml/action/GetFiltersActionResponseTests.java | 0 .../ml/action/GetInfluencersActionRequestTests.java | 0 .../action/GetInfluencersActionResponseTests.java | 0 .../ml/action/GetJobStatsActionRequestTests.java | 0 .../ml/action/GetJobStatsActionResponseTests.java | 0 .../core/ml/action/GetJobsActionRequestTests.java | 0 .../core/ml/action/GetJobsActionResponseTests.java | 0 .../action/GetModelSnapshotsActionRequestTests.java | 0 .../GetModelSnapshotsActionResponseTests.java | 0 .../action/GetOverallBucketsActionRequestTests.java | 0 .../GetOverallBucketsActionResponseTests.java | 0 .../ml/action/GetRecordsActionRequestTests.java | 0 .../ml/action/GetRecordsActionResponseTests.java | 0 .../core/ml/action/MlInfoActionResponseTests.java | 0 .../core/ml/action/OpenJobActionRequestTests.java | 0 .../ml/action/PersistJobActionRequestTests.java | 0 .../ml/action/PersistJobActionResponseTests.java | 0 .../action/PostCalendarEventActionRequestTests.java | 0 .../core/ml/action/PostDataActionRequestTests.java | 0 .../core/ml/action/PostDataActionResponseTests.java | 0 .../core/ml/action/PostDataFlushRequestTests.java | 0 .../core/ml/action/PostDataFlushResponseTests.java | 0 .../action/PreviewDatafeedActionRequestTests.java | 0 .../ml/action/PutCalendarActionRequestTests.java | 0 .../ml/action/PutCalendarActionResponseTests.java | 0 .../ml/action/PutDatafeedActionRequestTests.java | 0 .../ml/action/PutDatafeedActionResponseTests.java | 0 .../core/ml/action/PutFilterActionRequestTests.java | 0 .../core/ml/action/PutJobActionRequestTests.java | 0 .../core/ml/action/PutJobActionResponseTests.java | 0 .../RevertModelSnapshotActionRequestTests.java | 0 .../RevertModelSnapshotActionResponseTests.java | 0 .../ml/action/StartDatafeedActionRequestTests.java | 0 .../ml/action/StopDatafeedActionRequestTests.java | 0 .../UpdateCalendarJobActionResquestTests.java | 0 .../ml/action/UpdateDatafeedActionRequestTests.java | 0 .../core/ml/action/UpdateJobActionRequestTests.java | 0 .../UpdateModelSnapshotActionRequestTests.java | 0 .../UpdateModelSnapshotActionResponseTests.java | 0 .../ml/action/UpdateProcessActionRequestTests.java | 0 .../action/ValidateDetectorActionRequestTests.java | 0 .../action/ValidateJobConfigActionRequestTests.java | 0 .../xpack/core/ml/action/util/PageParamsTests.java | 0 .../xpack/core/ml/action/util/QueryPageTests.java | 0 .../xpack/core/ml/calendars/CalendarTests.java | 0 .../core/ml/calendars/ScheduledEventTests.java | 0 .../xpack/core/ml/datafeed/ChunkingConfigTests.java | 0 .../xpack/core/ml/datafeed/DatafeedConfigTests.java | 0 .../xpack/core/ml/datafeed/DatafeedUpdateTests.java | 0 .../ml/datafeed/extractor/ExtractorUtilsTests.java | 0 .../core/ml/integration/MlRestTestStateCleaner.java | 0 .../core/ml/job/config/AnalysisConfigTests.java | 0 .../core/ml/job/config/AnalysisLimitsTests.java | 0 .../core/ml/job/config/DataDescriptionTests.java | 0 .../core/ml/job/config/DetectionRuleTests.java | 0 .../xpack/core/ml/job/config/DetectorTests.java | 0 .../xpack/core/ml/job/config/JobTests.java | 0 .../xpack/core/ml/job/config/JobUpdateTests.java | 0 .../xpack/core/ml/job/config/MlFilterTests.java | 0 .../core/ml/job/config/ModelPlotConfigTests.java | 0 .../core/ml/job/config/RuleConditionTests.java | 0 .../core/ml/job/groups/GroupOrJobLookupTests.java | 0 .../xpack/core/ml/job/groups/GroupOrJobTests.java | 0 .../job/persistence/ElasticsearchMappingsTests.java | 0 .../process/autodetect/state/DataCountsTests.java | 0 .../autodetect/state/ModelSizeStatsTests.java | 0 .../autodetect/state/ModelSnapshotTests.java | 0 .../process/autodetect/state/QuantilesTests.java | 0 .../core/ml/job/results/AnomalyCauseTests.java | 0 .../core/ml/job/results/AnomalyRecordTests.java | 0 .../core/ml/job/results/BucketInfluencerTests.java | 0 .../xpack/core/ml/job/results/InfluencerTests.java | 0 .../core/ml/notifications/AuditMessageTests.java | 0 .../monitoring/test/MockPainlessScriptEngine.java | 0 .../xpack/core/rollup/ConfigTestHelpers.java | 0 .../core/rollup/RollupRestTestStateCleaner.java | 0 .../job/DateHistoGroupConfigSerializingTests.java | 0 .../rollup/job/GroupConfigSerializingTests.java | 0 .../job/HistoGroupConfigSerializingTests.java | 0 .../core/rollup/job/IndexerStateEnumTests.java | 0 .../core/rollup/job/JobWrapperSerializingTests.java | 0 .../rollup/job/MetricsConfigSerializingTests.java | 0 .../xpack/core/rollup/job/RollupJobConfigTests.java | 0 .../xpack/core/rollup/job/RollupJobStatsTests.java | 0 .../xpack/core/rollup/job/RollupJobStatusTests.java | 0 .../xpack/core/rollup/job/RollupJobTests.java | 0 .../job/TermsGroupConfigSerializingTests.java | 0 .../security/audit/logfile/CapturingLogger.java | 0 .../ExpressionModelPredicateTests.java | 0 .../mapper/expressiondsl/ExpressionParserTests.java | 0 .../accesscontrol/DocumentSubsetReaderTests.java | 0 .../authz/accesscontrol/FieldSubsetReaderTests.java | 0 ...ecurityIndexSearcherWrapperIntegrationTests.java | 0 .../SecurityIndexSearcherWrapperUnitTests.java | 0 .../SetSecurityUserProcessorFactoryTests.java | 0 .../permission/FieldPermissionsCacheTests.java | 0 .../security/authz/privilege/PrivilegeTests.java | 0 .../authz/store/ReservedRolesStoreTests.java | 0 .../core/security/support/AutomatonsTests.java | 0 .../core/security/support/ValidationTests.java | 0 .../core/security/test/SecurityAssertions.java | 0 .../xpack/core/ssl/CertUtilsTests.java | 0 .../xpack/core/ssl/RestrictedTrustConfigTests.java | 0 .../xpack/core/ssl/RestrictedTrustManagerTests.java | 0 .../core/ssl/SSLConfigurationReloaderTests.java | 0 .../core/ssl/SSLConfigurationSettingsTests.java | 0 .../xpack/core/ssl/SSLConfigurationTests.java | 0 .../xpack/core/ssl/SSLServiceTests.java | 0 .../xpack/core/ssl/StoreKeyConfigTests.java | 0 .../core/ssl/TLSLicenseBootstrapCheckTests.java | 0 .../xpack/core/ssl/TestsSSLService.java | 0 .../xpack/core/ssl/cert/CertificateInfoTests.java | 0 .../xpack/core/template/TemplateUtilsTests.java | 0 .../actions/throttler/WatchThrottlerTests.java | 0 .../core/watcher/common/stats/CountersTests.java | 0 .../core/watcher/crypto/CryptoServiceTests.java | 0 .../xpack/core/watcher/watch/ClockMock.java | 0 .../xpack/test/rest/XPackRestTestHelper.java | 0 .../xcontent/WatcherXContentParserTests.java | 0 .../core/src/test/resources/monitoring-test.json | 0 .../complex-x-pack-extension-security.policy | 0 .../simple-x-pack-extension-security.policy | 0 .../unresolved-x-pack-extension-security.policy | 0 .../transport/ssl/certs/simple/README.asciidoc | 0 .../ssl/certs/simple/active-directory-ca.crt | 0 .../transport/ssl/certs/simple/openldap.crt | 0 .../transport/ssl/certs/simple/openldap.der | Bin .../transport/ssl/certs/simple/openssl_config.cnf | 0 .../transport/ssl/certs/simple/prime256v1-cert.pem | 0 .../ssl/certs/simple/prime256v1-key-noparam.pem | 0 .../transport/ssl/certs/simple/prime256v1-key.pem | 0 .../ssl/certs/simple/testclient-client-profile.crt | 0 .../ssl/certs/simple/testclient-client-profile.jks | Bin .../ssl/certs/simple/testclient-client-profile.p12 | Bin .../ssl/certs/simple/testclient-client-profile.pem | 0 .../transport/ssl/certs/simple/testclient.crt | 0 .../transport/ssl/certs/simple/testclient.jks | Bin .../transport/ssl/certs/simple/testclient.p12 | Bin .../transport/ssl/certs/simple/testclient.pem | 0 .../ssl/certs/simple/testnode-client-profile.crt | 0 .../ssl/certs/simple/testnode-client-profile.jks | Bin .../ssl/certs/simple/testnode-client-profile.p12 | Bin .../ssl/certs/simple/testnode-client-profile.pem | 0 .../certs/simple/testnode-different-passwords.jks | Bin .../transport/ssl/certs/simple/testnode-ip-only.crt | 0 .../transport/ssl/certs/simple/testnode-ip-only.jks | Bin .../ssl/certs/simple/testnode-no-subjaltname.cert | 0 .../ssl/certs/simple/testnode-no-subjaltname.jks | Bin .../transport/ssl/certs/simple/testnode.crt | 0 .../transport/ssl/certs/simple/testnode.jks | Bin .../transport/ssl/certs/simple/testnode.p12 | Bin .../transport/ssl/certs/simple/testnode.pem | 0 .../ssl/certs/simple/truststore-testnode-only.jks | Bin .../plugin}/core/src/test/resources/private.key | Bin .../plugin}/core/src/test/resources/public.key | 0 {plugin => x-pack/plugin}/deprecation/build.gradle | 0 .../xpack/deprecation/Deprecation.java | 0 .../xpack/deprecation/DeprecationChecks.java | 0 .../xpack/deprecation/IndexDeprecationChecks.java | 0 .../deprecation/RestDeprecationInfoAction.java | 0 .../deprecation/TransportDeprecationInfoAction.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../deprecation/IndexDeprecationChecksTests.java | 0 {plugin => x-pack/plugin}/graph/build.gradle | 0 .../java/org/elasticsearch/xpack/graph/Graph.java | 0 .../elasticsearch/xpack/graph/GraphFeatureSet.java | 0 .../graph/action/TransportGraphExploreAction.java | 0 .../xpack/graph/rest/action/RestGraphAction.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../xpack/graph/GraphFeatureSetTests.java | 0 .../elasticsearch/xpack/graph/test/GraphTests.java | 0 {plugin => x-pack/plugin}/logstash/build.gradle | 0 .../org/elasticsearch/xpack/logstash/Logstash.java | 0 .../xpack/logstash/LogstashFeatureSet.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../xpack/logstash/LogstashFeatureSetTests.java | 0 {plugin => x-pack/plugin}/ml/build.gradle | 0 .../plugin}/ml/cpp-snapshot/.gitignore | 0 .../plugin}/ml/cpp-snapshot/build.gradle | 0 .../plugin}/ml/licenses/super-csv-2.4.0.jar.sha1 | 0 .../plugin}/ml/licenses/super-csv-LICENSE.txt | 0 .../plugin}/ml/licenses/super-csv-NOTICE.txt | 0 .../xpack/ml/InvalidLicenseEnforcer.java | 0 .../org/elasticsearch/xpack/ml/MachineLearning.java | 0 .../xpack/ml/MachineLearningFeatureSet.java | 0 .../xpack/ml/MlAssignmentNotifier.java | 0 .../xpack/ml/MlDailyMaintenanceService.java | 0 .../xpack/ml/MlInitializationService.java | 0 .../elasticsearch/xpack/ml/MlLifeCycleService.java | 0 .../xpack/ml/action/TransportCloseJobAction.java | 0 .../ml/action/TransportDeleteCalendarAction.java | 0 .../action/TransportDeleteCalendarEventAction.java | 0 .../ml/action/TransportDeleteDatafeedAction.java | 0 .../ml/action/TransportDeleteExpiredDataAction.java | 0 .../ml/action/TransportDeleteFilterAction.java | 0 .../xpack/ml/action/TransportDeleteJobAction.java | 0 .../action/TransportDeleteModelSnapshotAction.java | 0 .../action/TransportFinalizeJobExecutionAction.java | 0 .../xpack/ml/action/TransportFlushJobAction.java | 0 .../xpack/ml/action/TransportForecastJobAction.java | 0 .../xpack/ml/action/TransportGetBucketsAction.java | 0 .../ml/action/TransportGetCalendarEventsAction.java | 0 .../ml/action/TransportGetCalendarsAction.java | 0 .../ml/action/TransportGetCategoriesAction.java | 0 .../ml/action/TransportGetDatafeedsAction.java | 0 .../ml/action/TransportGetDatafeedsStatsAction.java | 0 .../xpack/ml/action/TransportGetFiltersAction.java | 0 .../ml/action/TransportGetInfluencersAction.java | 0 .../xpack/ml/action/TransportGetJobsAction.java | 0 .../ml/action/TransportGetJobsStatsAction.java | 0 .../ml/action/TransportGetModelSnapshotsAction.java | 0 .../ml/action/TransportGetOverallBucketsAction.java | 0 .../xpack/ml/action/TransportGetRecordsAction.java | 0 .../ml/action/TransportIsolateDatafeedAction.java | 0 .../xpack/ml/action/TransportJobTaskAction.java | 0 .../xpack/ml/action/TransportKillProcessAction.java | 0 .../xpack/ml/action/TransportMlInfoAction.java | 0 .../xpack/ml/action/TransportOpenJobAction.java | 0 .../xpack/ml/action/TransportPersistJobAction.java | 0 .../action/TransportPostCalendarEventsAction.java | 0 .../xpack/ml/action/TransportPostDataAction.java | 0 .../ml/action/TransportPreviewDatafeedAction.java | 0 .../xpack/ml/action/TransportPutCalendarAction.java | 0 .../xpack/ml/action/TransportPutDatafeedAction.java | 0 .../xpack/ml/action/TransportPutFilterAction.java | 0 .../xpack/ml/action/TransportPutJobAction.java | 0 .../action/TransportRevertModelSnapshotAction.java | 0 .../ml/action/TransportStartDatafeedAction.java | 0 .../ml/action/TransportStopDatafeedAction.java | 0 .../ml/action/TransportUpdateCalendarJobAction.java | 0 .../ml/action/TransportUpdateDatafeedAction.java | 0 .../xpack/ml/action/TransportUpdateJobAction.java | 0 .../action/TransportUpdateModelSnapshotAction.java | 0 .../ml/action/TransportUpdateProcessAction.java | 0 .../ml/action/TransportValidateDetectorAction.java | 0 .../ml/action/TransportValidateJobConfigAction.java | 0 .../xpack/ml/datafeed/DatafeedJob.java | 0 .../xpack/ml/datafeed/DatafeedJobBuilder.java | 0 .../xpack/ml/datafeed/DatafeedManager.java | 0 .../xpack/ml/datafeed/DatafeedNodeSelector.java | 0 .../xpack/ml/datafeed/ProblemTracker.java | 0 .../ml/datafeed/extractor/DataExtractorFactory.java | 0 .../aggregation/AggregationDataExtractor.java | 0 .../AggregationDataExtractorContext.java | 0 .../AggregationDataExtractorFactory.java | 0 .../aggregation/AggregationToJsonProcessor.java | 0 .../extractor/chunked/ChunkedDataExtractor.java | 0 .../chunked/ChunkedDataExtractorContext.java | 0 .../chunked/ChunkedDataExtractorFactory.java | 0 .../datafeed/extractor/scroll/ExtractedField.java | 0 .../datafeed/extractor/scroll/ExtractedFields.java | 0 .../extractor/scroll/ScrollDataExtractor.java | 0 .../scroll/ScrollDataExtractorContext.java | 0 .../scroll/ScrollDataExtractorFactory.java | 0 .../extractor/scroll/SearchHitToJsonProcessor.java | 0 .../org/elasticsearch/xpack/ml/job/JobManager.java | 0 .../xpack/ml/job/UpdateJobProcessNotifier.java | 0 .../job/categorization/CategorizationAnalyzer.java | 0 .../ml/job/categorization/MlClassicTokenizer.java | 0 .../categorization/MlClassicTokenizerFactory.java | 0 .../ml/job/persistence/BatchedBucketsIterator.java | 0 .../job/persistence/BatchedDocumentsIterator.java | 0 .../job/persistence/BatchedInfluencersIterator.java | 0 .../ml/job/persistence/BatchedRecordsIterator.java | 0 .../ml/job/persistence/BatchedResultsIterator.java | 0 .../ml/job/persistence/BucketsQueryBuilder.java | 0 .../ml/job/persistence/CalendarQueryBuilder.java | 0 .../ml/job/persistence/InfluencersQueryBuilder.java | 0 .../ml/job/persistence/JobDataCountsPersister.java | 0 .../xpack/ml/job/persistence/JobProvider.java | 0 .../JobRenormalizedResultsPersister.java | 0 .../ml/job/persistence/JobResultsPersister.java | 0 .../ml/job/persistence/RecordsQueryBuilder.java | 0 .../ml/job/persistence/ResultsFilterBuilder.java | 0 .../persistence/ScheduledEventsQueryBuilder.java | 0 .../xpack/ml/job/persistence/StateStreamer.java | 0 .../overallbuckets/OverallBucketsAggregator.java | 0 .../overallbuckets/OverallBucketsCollector.java | 0 .../overallbuckets/OverallBucketsProcessor.java | 0 .../overallbuckets/OverallBucketsProvider.java | 0 .../xpack/ml/job/process/CountingInputStream.java | 0 .../xpack/ml/job/process/DataCountsReporter.java | 0 .../xpack/ml/job/process/DataStreamDiagnostics.java | 0 .../xpack/ml/job/process/NativeController.java | 0 .../ml/job/process/NativeControllerHolder.java | 0 .../xpack/ml/job/process/ProcessCtrl.java | 0 .../xpack/ml/job/process/ProcessPipes.java | 0 .../job/process/autodetect/AutodetectBuilder.java | 0 .../process/autodetect/AutodetectCommunicator.java | 0 .../job/process/autodetect/AutodetectProcess.java | 0 .../autodetect/AutodetectProcessFactory.java | 0 .../autodetect/AutodetectProcessManager.java | 0 .../autodetect/BlackHoleAutodetectProcess.java | 0 .../process/autodetect/NativeAutodetectProcess.java | 0 .../autodetect/NativeAutodetectProcessFactory.java | 0 .../ml/job/process/autodetect/ProcessContext.java | 0 .../ml/job/process/autodetect/UpdateParams.java | 0 .../output/AutoDetectResultProcessor.java | 0 .../autodetect/output/AutodetectResultsParser.java | 0 .../process/autodetect/output/FlushListener.java | 0 .../process/autodetect/output/StateProcessor.java | 0 .../process/autodetect/params/AutodetectParams.java | 0 .../process/autodetect/params/DataLoadParams.java | 0 .../process/autodetect/params/FlushJobParams.java | 0 .../process/autodetect/params/ForecastParams.java | 0 .../ml/job/process/autodetect/params/TimeRange.java | 0 .../writer/AbstractDataToProcessWriter.java | 0 .../autodetect/writer/AnalysisLimitsWriter.java | 0 .../writer/CannotParseTimestampException.java | 0 .../writer/ControlMsgToProcessWriter.java | 0 .../autodetect/writer/CsvDataToProcessWriter.java | 0 .../process/autodetect/writer/CsvRecordWriter.java | 0 .../autodetect/writer/DataToProcessWriter.java | 0 .../writer/DataToProcessWriterFactory.java | 0 .../writer/DateFormatDateTransformer.java | 0 .../process/autodetect/writer/DateTransformer.java | 0 .../autodetect/writer/DoubleDateTransformer.java | 0 .../autodetect/writer/FieldConfigWriter.java | 0 .../autodetect/writer/JsonDataToProcessWriter.java | 0 .../autodetect/writer/LengthEncodedWriter.java | 0 .../process/autodetect/writer/MlFilterWriter.java | 0 .../autodetect/writer/ModelPlotConfigWriter.java | 0 .../autodetect/writer/ScheduledEventsWriter.java | 0 .../process/autodetect/writer/WriterConstants.java | 0 .../autodetect/writer/XContentRecordReader.java | 0 .../xpack/ml/job/process/logging/CppLogMessage.java | 0 .../job/process/logging/CppLogMessageHandler.java | 0 .../normalizer/AbstractLeafNormalizable.java | 0 .../normalizer/BucketInfluencerNormalizable.java | 0 .../job/process/normalizer/BucketNormalizable.java | 0 .../process/normalizer/InfluencerNormalizable.java | 0 .../xpack/ml/job/process/normalizer/Level.java | 0 .../normalizer/MultiplyingNormalizerProcess.java | 0 .../process/normalizer/NativeNormalizerProcess.java | 0 .../normalizer/NativeNormalizerProcessFactory.java | 0 .../ml/job/process/normalizer/Normalizable.java | 0 .../xpack/ml/job/process/normalizer/Normalizer.java | 0 .../job/process/normalizer/NormalizerFactory.java | 0 .../job/process/normalizer/NormalizerProcess.java | 0 .../normalizer/NormalizerProcessFactory.java | 0 .../ml/job/process/normalizer/NormalizerResult.java | 0 .../normalizer/PartitionScoreNormalizable.java | 0 .../job/process/normalizer/RecordNormalizable.java | 0 .../ml/job/process/normalizer/Renormalizer.java | 0 .../ml/job/process/normalizer/ScoresUpdater.java | 0 .../normalizer/ShortCircuitingRenormalizer.java | 0 .../normalizer/output/NormalizerResultHandler.java | 0 .../xpack/ml/job/results/AutodetectResult.java | 0 .../retention/AbstractExpiredJobDataRemover.java | 0 .../ml/job/retention/ExpiredForecastsRemover.java | 0 .../job/retention/ExpiredModelSnapshotsRemover.java | 0 .../ml/job/retention/ExpiredResultsRemover.java | 0 .../xpack/ml/job/retention/MlDataRemover.java | 0 .../xpack/ml/notifications/Auditor.java | 0 .../xpack/ml/rest/RestDeleteExpiredDataAction.java | 0 .../xpack/ml/rest/RestMlInfoAction.java | 0 .../ml/rest/calendar/RestDeleteCalendarAction.java | 0 .../calendar/RestDeleteCalendarEventAction.java | 0 .../rest/calendar/RestDeleteCalendarJobAction.java | 0 .../rest/calendar/RestGetCalendarEventsAction.java | 0 .../ml/rest/calendar/RestGetCalendarsAction.java | 0 .../rest/calendar/RestPostCalendarEventAction.java | 0 .../ml/rest/calendar/RestPutCalendarAction.java | 0 .../ml/rest/calendar/RestPutCalendarJobAction.java | 0 .../ml/rest/datafeeds/RestDeleteDatafeedAction.java | 0 .../rest/datafeeds/RestGetDatafeedStatsAction.java | 0 .../ml/rest/datafeeds/RestGetDatafeedsAction.java | 0 .../rest/datafeeds/RestPreviewDatafeedAction.java | 0 .../ml/rest/datafeeds/RestPutDatafeedAction.java | 0 .../ml/rest/datafeeds/RestStartDatafeedAction.java | 0 .../ml/rest/datafeeds/RestStopDatafeedAction.java | 0 .../ml/rest/datafeeds/RestUpdateDatafeedAction.java | 0 .../ml/rest/filter/RestDeleteFilterAction.java | 0 .../xpack/ml/rest/filter/RestGetFiltersAction.java | 0 .../xpack/ml/rest/filter/RestPutFilterAction.java | 0 .../xpack/ml/rest/job/RestCloseJobAction.java | 0 .../xpack/ml/rest/job/RestDeleteJobAction.java | 0 .../xpack/ml/rest/job/RestFlushJobAction.java | 0 .../xpack/ml/rest/job/RestForecastJobAction.java | 0 .../xpack/ml/rest/job/RestGetJobStatsAction.java | 0 .../xpack/ml/rest/job/RestGetJobsAction.java | 0 .../xpack/ml/rest/job/RestOpenJobAction.java | 0 .../xpack/ml/rest/job/RestPostDataAction.java | 0 .../xpack/ml/rest/job/RestPostJobUpdateAction.java | 0 .../xpack/ml/rest/job/RestPutJobAction.java | 0 .../RestDeleteModelSnapshotAction.java | 0 .../modelsnapshots/RestGetModelSnapshotsAction.java | 0 .../RestRevertModelSnapshotAction.java | 0 .../RestUpdateModelSnapshotAction.java | 0 .../xpack/ml/rest/results/RestGetBucketsAction.java | 0 .../ml/rest/results/RestGetCategoriesAction.java | 0 .../ml/rest/results/RestGetInfluencersAction.java | 0 .../rest/results/RestGetOverallBucketsAction.java | 0 .../xpack/ml/rest/results/RestGetRecordsAction.java | 0 .../rest/validate/RestValidateDetectorAction.java | 0 .../rest/validate/RestValidateJobConfigAction.java | 0 .../xpack/ml/utils/ChainTaskExecutor.java | 0 .../xpack/ml/utils/DomainSplitFunction.java | 0 .../xpack/ml/utils/NamedPipeHelper.java | 0 .../xpack/ml/utils/StatsAccumulator.java | 0 .../xpack/ml/utils/VolatileCursorIterator.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../xpack/ml/transforms/exact.properties | 0 .../license/MachineLearningLicensingTests.java | 0 .../xpack/ml/LocalStateMachineLearning.java | 0 .../xpack/ml/MachineLearningFeatureSetTests.java | 0 .../xpack/ml/MachineLearningTests.java | 0 .../xpack/ml/MlAssignmentNotifierTests.java | 0 .../elasticsearch/xpack/ml/MlClientHelperTests.java | 0 .../xpack/ml/MlDailyManagementServiceTests.java | 0 .../xpack/ml/MlInitializationServiceTests.java | 0 .../org/elasticsearch/xpack/ml/MlMetadataTests.java | 0 .../xpack/ml/MlSingleNodeTestCase.java | 0 .../ml/action/TransportCloseJobActionTests.java | 0 .../ml/action/TransportDeleteJobActionTests.java | 0 .../TransportForecastJobActionRequestTests.java | 0 .../ml/action/TransportGetJobsStatsActionTests.java | 0 .../ml/action/TransportOpenJobActionTests.java | 0 .../action/TransportPreviewDatafeedActionTests.java | 0 .../action/TransportStartDatafeedActionTests.java | 0 .../ml/action/TransportStopDatafeedActionTests.java | 0 .../xpack/ml/datafeed/DatafeedJobBuilderTests.java | 0 .../xpack/ml/datafeed/DatafeedJobTests.java | 0 .../ml/datafeed/DatafeedJobValidatorTests.java | 0 .../xpack/ml/datafeed/DatafeedManagerTests.java | 0 .../ml/datafeed/DatafeedNodeSelectorTests.java | 0 .../xpack/ml/datafeed/DatafeedStateTests.java | 0 .../xpack/ml/datafeed/ProblemTrackerTests.java | 0 .../extractor/DataExtractorFactoryTests.java | 0 .../AggregationDataExtractorFactoryTests.java | 0 .../aggregation/AggregationDataExtractorTests.java | 0 .../extractor/aggregation/AggregationTestUtils.java | 0 .../AggregationToJsonProcessorTests.java | 0 .../chunked/ChunkedDataExtractorFactoryTests.java | 0 .../chunked/ChunkedDataExtractorTests.java | 0 .../extractor/scroll/ExtractedFieldTests.java | 0 .../extractor/scroll/ExtractedFieldsTests.java | 0 .../extractor/scroll/ScrollDataExtractorTests.java | 0 .../scroll/SearchHitToJsonProcessorTests.java | 0 .../ml/integration/AutodetectResultProcessorIT.java | 0 .../ml/integration/BasicDistributedJobsIT.java | 0 .../xpack/ml/integration/DeleteJobIT.java | 0 .../xpack/ml/integration/EstablishedMemUsageIT.java | 0 .../xpack/ml/integration/JobProviderIT.java | 0 .../ml/integration/JobStorageDeletionTaskIT.java | 0 .../ml/integration/MlDistributedFailureIT.java | 0 .../xpack/ml/integration/NetworkDisruptionIT.java | 0 .../xpack/ml/integration/TooManyJobsIT.java | 0 .../elasticsearch/xpack/ml/job/JobManagerTests.java | 0 .../categorization/CategorizationAnalyzerTests.java | 0 .../job/categorization/MlClassicTokenizerTests.java | 0 .../config/CategorizationAnalyzerConfigTests.java | 0 .../xpack/ml/job/config/ConditionTests.java | 0 .../xpack/ml/job/config/ConnectiveTests.java | 0 .../xpack/ml/job/config/DataFormatTests.java | 0 .../job/config/DefaultDetectorDescriptionTests.java | 0 .../xpack/ml/job/config/DetectorFunctionTests.java | 0 .../xpack/ml/job/config/JobBuilderTests.java | 0 .../xpack/ml/job/config/JobStateTests.java | 0 .../xpack/ml/job/config/JobTaskStatusTests.java | 0 .../xpack/ml/job/config/OperatorTests.java | 0 .../xpack/ml/job/config/RuleActionTests.java | 0 .../xpack/ml/job/config/RuleConditionTypeTests.java | 0 .../xpack/ml/job/messages/MessagesTests.java | 0 .../persistence/BatchedDocumentsIteratorTests.java | 0 .../persistence/InfluencersQueryBuilderTests.java | 0 .../xpack/ml/job/persistence/JobProviderTests.java | 0 .../JobRenormalizedResultsPersisterTests.java | 0 .../job/persistence/JobResultsPersisterTests.java | 0 .../persistence/MockBatchedDocumentsIterator.java | 0 .../xpack/ml/job/persistence/MockClientBuilder.java | 0 .../job/persistence/ResultsFilterBuilderTests.java | 0 .../ml/job/persistence/StateStreamerTests.java | 0 .../OverallBucketsAggregatorTests.java | 0 .../OverallBucketsCollectorTests.java | 0 .../overallbuckets/OverallBucketsProviderTests.java | 0 .../ml/job/process/CountingInputStreamTests.java | 0 .../ml/job/process/DataCountsReporterTests.java | 0 .../ml/job/process/DataStreamDiagnosticsTests.java | 0 .../ml/job/process/DummyDataCountsReporter.java | 0 .../xpack/ml/job/process/NativeControllerTests.java | 0 .../xpack/ml/job/process/ProcessCtrlTests.java | 0 .../xpack/ml/job/process/ProcessPipesTests.java | 0 .../autodetect/AutodetectCommunicatorTests.java | 0 .../autodetect/AutodetectProcessManagerTests.java | 0 .../autodetect/BlackHoleAutodetectProcessTests.java | 0 .../autodetect/NativeAutodetectProcessTests.java | 0 .../output/AutoDetectResultProcessorTests.java | 0 .../output/AutodetectResultsParserTests.java | 0 .../output/FlushAcknowledgementTests.java | 0 .../autodetect/output/FlushListenerTests.java | 0 .../autodetect/output/StateProcessorTests.java | 0 .../autodetect/params/DataLoadParamsTests.java | 0 .../autodetect/params/FlushJobParamsTests.java | 0 .../autodetect/params/ForecastParamsTests.java | 0 .../process/autodetect/params/TimeRangeTests.java | 0 .../process/autodetect/state/MemoryStatusTests.java | 0 .../writer/AbstractDataToProcessWriterTests.java | 0 .../writer/AnalysisLimitsWriterTests.java | 0 .../writer/ControlMsgToProcessWriterTests.java | 0 .../writer/CsvDataToProcessWriterTests.java | 0 .../process/autodetect/writer/CsvParserTests.java | 0 .../autodetect/writer/CsvRecordWriterTests.java | 0 .../writer/DataToProcessWriterFactoryTests.java | 0 .../writer/DateFormatDateTransformerTests.java | 0 .../writer/DoubleDateTransformerTests.java | 0 .../autodetect/writer/FieldConfigWriterTests.java | 0 .../writer/JsonDataToProcessWriterTests.java | 0 .../autodetect/writer/LengthEncodedWriterTests.java | 0 .../autodetect/writer/MlFilterWriterTests.java | 0 .../writer/ModelPlotConfigWriterTests.java | 0 .../writer/ScheduledEventsWriterTests.java | 0 .../writer/XContentRecordReaderTests.java | 0 .../process/logging/CppLogMessageHandlerTests.java | 0 .../ml/job/process/logging/CppLogMessageTests.java | 0 .../BucketInfluencerNormalizableTests.java | 0 .../process/normalizer/BucketNormalizableTests.java | 0 .../normalizer/InfluencerNormalizableTests.java | 0 .../process/normalizer/NormalizerResultTests.java | 0 .../ml/job/process/normalizer/NormalizerTests.java | 0 .../job/process/normalizer/ScoresUpdaterTests.java | 0 .../ShortCircuitingRenormalizerTests.java | 0 .../output/NormalizerResultHandlerTests.java | 0 .../xpack/ml/job/results/AutodetectResultTests.java | 0 .../xpack/ml/job/results/BucketTests.java | 0 .../ml/job/results/CategoryDefinitionTests.java | 0 .../ml/job/results/ForecastRequestStatsTests.java | 0 .../xpack/ml/job/results/ForecastTests.java | 0 .../xpack/ml/job/results/InfluenceTests.java | 0 .../xpack/ml/job/results/ModelPlotTests.java | 0 .../xpack/ml/job/results/OverallBucketTests.java | 0 .../xpack/ml/job/results/PartitionScoreTests.java | 0 .../ml/job/results/ReservedFieldNamesTests.java | 0 .../ExpiredModelSnapshotsRemoverTests.java | 0 .../job/retention/ExpiredResultsRemoverTests.java | 0 .../ml/modelsnapshots/GetModelSnapshotsTests.java | 0 .../UpdateModelSnapshotActionTests.java | 0 .../xpack/ml/notifications/AuditorTests.java | 0 .../xpack/ml/notifications/LevelTests.java | 0 .../datafeeds/RestStartDatafeedActionTests.java | 0 .../xpack/ml/support/BaseMlIntegTestCase.java | 0 .../xpack/ml/test/SearchHitBuilder.java | 0 .../xpack/ml/utils/ChainTaskExecutorTests.java | 0 .../xpack/ml/utils/IntervalsTests.java | 0 .../xpack/ml/utils/MlStringsTests.java | 0 .../xpack/ml/utils/NameResolverTests.java | 0 .../xpack/ml/utils/NamedPipeHelperTests.java | 0 .../xpack/ml/utils/StatsAccumulatorTests.java | 0 .../DateTimeFormatterTimestampConverterTests.java | 0 .../xpack/ml/utils/time/TimeUtilsTests.java | 0 {plugin => x-pack/plugin}/monitoring/build.gradle | 0 .../elasticsearch/xpack/monitoring/Monitoring.java | 0 .../xpack/monitoring/MonitoringFeatureSet.java | 0 .../xpack/monitoring/MonitoringService.java | 0 .../action/TransportMonitoringBulkAction.java | 0 .../xpack/monitoring/cleaner/CleanerService.java | 0 .../xpack/monitoring/collector/Collector.java | 0 .../collector/cluster/ClusterStatsCollector.java | 0 .../cluster/ClusterStatsMonitoringDoc.java | 0 .../collector/indices/IndexRecoveryCollector.java | 0 .../indices/IndexRecoveryMonitoringDoc.java | 0 .../collector/indices/IndexStatsCollector.java | 0 .../collector/indices/IndexStatsMonitoringDoc.java | 0 .../indices/IndicesStatsMonitoringDoc.java | 0 .../monitoring/collector/ml/JobStatsCollector.java | 0 .../collector/ml/JobStatsMonitoringDoc.java | 0 .../collector/node/NodeStatsCollector.java | 0 .../collector/node/NodeStatsMonitoringDoc.java | 0 .../collector/shards/ShardMonitoringDoc.java | 0 .../collector/shards/ShardsCollector.java | 0 .../exporter/BytesReferenceMonitoringDoc.java | 0 .../monitoring/exporter/ClusterAlertsUtil.java | 0 .../xpack/monitoring/exporter/ExportBulk.java | 0 .../xpack/monitoring/exporter/ExportException.java | 0 .../xpack/monitoring/exporter/Exporter.java | 0 .../xpack/monitoring/exporter/Exporters.java | 0 .../monitoring/exporter/FilteredMonitoringDoc.java | 0 .../exporter/http/ClusterAlertHttpResource.java | 0 .../monitoring/exporter/http/HttpExportBulk.java | 0 .../http/HttpExportBulkResponseListener.java | 0 .../monitoring/exporter/http/HttpExporter.java | 0 .../monitoring/exporter/http/HttpHostBuilder.java | 0 .../monitoring/exporter/http/HttpResource.java | 0 .../monitoring/exporter/http/MultiHttpResource.java | 0 .../exporter/http/NodeFailureListener.java | 0 .../exporter/http/PipelineHttpResource.java | 0 .../exporter/http/PublishableHttpResource.java | 0 .../xpack/monitoring/exporter/http/Scheme.java | 0 .../http/SecurityHttpClientConfigCallback.java | 0 .../exporter/http/TemplateHttpResource.java | 0 .../exporter/http/TimeoutRequestConfigCallback.java | 0 .../exporter/http/VersionHttpResource.java | 0 .../exporter/http/WatcherExistsHttpResource.java | 0 .../xpack/monitoring/exporter/local/LocalBulk.java | 0 .../monitoring/exporter/local/LocalExporter.java | 0 .../monitoring/rest/MonitoringRestHandler.java | 0 .../rest/action/RestMonitoringBulkAction.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../watches/elasticsearch_cluster_status.json | 0 .../monitoring/watches/elasticsearch_nodes.json | 0 .../watches/elasticsearch_version_mismatch.json | 0 .../monitoring/watches/kibana_version_mismatch.json | 0 .../watches/logstash_version_mismatch.json | 0 .../watches/xpack_license_expiration.json | 0 .../xpack/monitoring/BaseCollectorTestCase.java | 0 .../xpack/monitoring/LocalStateMonitoring.java | 0 .../xpack/monitoring/MonitoredSystemTests.java | 0 .../xpack/monitoring/MonitoringFeatureSetTests.java | 0 .../MonitoringHistoryDurationSettingsTests.java | 0 .../monitoring/MonitoringPluginClientTests.java | 0 .../xpack/monitoring/MonitoringServiceTests.java | 0 .../xpack/monitoring/MonitoringTestUtils.java | 0 .../xpack/monitoring/MultiNodesStatsTests.java | 0 .../monitoring/action/MonitoringBulkDocTests.java | 0 .../action/MonitoringBulkRequestTests.java | 0 .../action/MonitoringBulkResponseTests.java | 0 .../monitoring/action/MonitoringIndexTests.java | 0 .../action/TransportMonitoringBulkActionTests.java | 0 .../cleaner/AbstractIndicesCleanerTestCase.java | 0 .../monitoring/cleaner/CleanerServiceTests.java | 0 .../cleaner/local/LocalIndicesCleanerTests.java | 0 .../xpack/monitoring/collector/CollectorTests.java | 0 .../cluster/ClusterStatsCollectorTests.java | 0 .../cluster/ClusterStatsMonitoringDocTests.java | 0 .../indices/IndexRecoveryCollectorTests.java | 0 .../indices/IndexRecoveryMonitoringDocTests.java | 0 .../collector/indices/IndexStatsCollectorTests.java | 0 .../indices/IndexStatsMonitoringDocTests.java | 0 .../indices/IndicesStatsMonitoringDocTests.java | 0 .../collector/ml/JobStatsCollectorTests.java | 0 .../collector/ml/JobStatsMonitoringDocTests.java | 0 .../collector/node/NodeStatsCollectorTests.java | 0 .../collector/node/NodeStatsMonitoringDocTests.java | 0 .../collector/shards/ShardsCollectorTests.java | 0 .../collector/shards/ShardsMonitoringDocTests.java | 0 .../exporter/BaseFilteredMonitoringDocTestCase.java | 0 .../exporter/BaseMonitoringDocTestCase.java | 0 .../exporter/BytesReferenceMonitoringDocTests.java | 0 .../monitoring/exporter/ClusterAlertsUtilTests.java | 0 .../xpack/monitoring/exporter/ExportersTests.java | 0 .../exporter/MonitoringTemplateUtilsTests.java | 0 .../AbstractPublishableHttpResourceTestCase.java | 0 .../http/ClusterAlertHttpResourceTests.java | 0 .../http/HttpExportBulkResponseListenerTests.java | 0 .../monitoring/exporter/http/HttpExporterIT.java | 0 .../exporter/http/HttpExporterResourceTests.java | 0 .../monitoring/exporter/http/HttpExporterTests.java | 0 .../exporter/http/HttpHostBuilderTests.java | 0 .../monitoring/exporter/http/HttpResourceTests.java | 0 .../monitoring/exporter/http/MockHttpResource.java | 0 .../exporter/http/MultiHttpResourceTests.java | 0 .../exporter/http/NodeFailureListenerTests.java | 0 .../exporter/http/PipelineHttpResourceTests.java | 0 .../exporter/http/PublishableHttpResourceTests.java | 0 .../xpack/monitoring/exporter/http/SchemeTests.java | 0 .../http/SecurityHttpClientConfigCallbackTests.java | 0 .../exporter/http/TemplateHttpResourceTests.java | 0 .../http/TimeoutRequestConfigCallbackTests.java | 0 .../exporter/http/VersionHttpResourceTests.java | 0 .../http/WatcherExistsHttpResourceTests.java | 0 .../exporter/local/LocalExporterIntegTestCase.java | 0 .../exporter/local/LocalExporterIntegTests.java | 0 .../local/LocalExporterResourceIntegTests.java | 0 .../xpack/monitoring/integration/MonitoringIT.java | 0 .../rest/action/RestMonitoringBulkActionTests.java | 0 .../xpack/monitoring/test/MockIngestPlugin.java | 0 .../monitoring/test/MonitoringIntegTestCase.java | 0 .../src/test/resources/monitoring-test.json | 0 {plugin => x-pack/plugin}/rollup/build.gradle | 0 .../java/org/elasticsearch/xpack/rollup/Rollup.java | 0 .../xpack/rollup/RollupFeatureSet.java | 0 .../xpack/rollup/RollupJobIdentifierUtils.java | 0 .../xpack/rollup/RollupRequestTranslator.java | 0 .../xpack/rollup/RollupResponseTranslator.java | 0 .../xpack/rollup/action/RollupIndexCaps.java | 0 .../action/TransportDeleteRollupJobAction.java | 0 .../rollup/action/TransportGetRollupCapsAction.java | 0 .../rollup/action/TransportGetRollupJobAction.java | 0 .../rollup/action/TransportPutRollupJobAction.java | 0 .../rollup/action/TransportRollupSearchAction.java | 0 .../rollup/action/TransportStartRollupAction.java | 0 .../rollup/action/TransportStopRollupAction.java | 0 .../xpack/rollup/action/TransportTaskHelper.java | 0 .../xpack/rollup/job/CronSchedule.java | 0 .../xpack/rollup/job/IndexerUtils.java | 0 .../xpack/rollup/job/RollupClientHelper.java | 0 .../xpack/rollup/job/RollupIndexer.java | 0 .../xpack/rollup/job/RollupJobTask.java | 0 .../rollup/rest/RestDeleteRollupJobAction.java | 0 .../xpack/rollup/rest/RestGetRollupCapsAction.java | 0 .../xpack/rollup/rest/RestGetRollupJobsAction.java | 0 .../xpack/rollup/rest/RestPutRollupJobAction.java | 0 .../xpack/rollup/rest/RestRollupSearchAction.java | 0 .../xpack/rollup/rest/RestStartRollupJobAction.java | 0 .../xpack/rollup/rest/RestStopRollupJobAction.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../xpack/rollup/LocalStateRollup.java | 0 .../xpack/rollup/RollupFeatureSetTests.java | 0 .../org/elasticsearch/xpack/rollup/RollupIT.java | 0 .../xpack/rollup/RollupJobIdentifierUtilTests.java | 0 .../xpack/rollup/RollupRequestTranslationTests.java | 0 .../rollup/RollupResponseTranslationTests.java | 0 .../rollup/action/DeleteJobActionRequestTests.java | 0 .../rollup/action/GetJobsActionRequestTests.java | 0 .../action/GetRollupCapsActionRequestTests.java | 0 .../rollup/action/PutJobActionRequestTests.java | 0 .../rollup/action/PutJobStateMachineTests.java | 0 .../xpack/rollup/action/RollupIndexCapsTests.java | 0 .../xpack/rollup/action/SearchActionTests.java | 0 .../rollup/action/StartJobActionRequestTests.java | 0 .../rollup/action/StopJobActionRequestTests.java | 0 .../rollup/action/TransportTaskHelperTests.java | 0 .../xpack/rollup/config/ConfigTests.java | 0 .../xpack/rollup/job/IndexerUtilsTests.java | 0 .../xpack/rollup/job/RollupClientHelperTests.java | 0 .../rollup/job/RollupIndexerIndexingTests.java | 0 .../xpack/rollup/job/RollupIndexerStateTests.java | 0 .../xpack/rollup/job/RollupJobTaskTests.java | 0 {plugin => x-pack/plugin}/security/build.gradle | 0 .../plugin}/security/forbidden/ldap-signatures.txt | 0 .../plugin}/security/forbidden/xml-signatures.txt | 0 .../security/licenses/cryptacular-1.2.0.jar.sha1 | 0 .../security/licenses/cryptacular-LICENSE.txt | 0 .../security/licenses/cryptacular-NOTICE.txt | 0 .../plugin}/security/licenses/guava-19.0.jar.sha1 | 0 .../plugin}/security/licenses/guava-LICENSE.txt | 0 .../plugin}/security/licenses/guava-NOTICE.txt | 0 .../security/licenses/httpclient-LICENSE.txt | 0 .../plugin}/security/licenses/httpclient-NOTICE.txt | 0 .../licenses/httpclient-cache-4.5.2.jar.sha1 | 0 .../security/licenses/java-support-7.3.0.jar.sha1 | 0 .../licenses/log4j-slf4j-impl-2.9.1.jar.sha1 | 0 .../security/licenses/log4j-slf4j-impl-LICENSE.txt | 0 .../security/licenses/log4j-slf4j-impl-NOTICE.txt | 0 .../security/licenses/metrics-core-3.2.2.jar.sha1 | 0 .../security/licenses/metrics-core-LICENSE.txt | 0 .../security/licenses/metrics-core-NOTICE.txt | 0 .../security/licenses/opensaml-core-3.3.0.jar.sha1 | 0 .../licenses/opensaml-messaging-api-3.3.0.jar.sha1 | 0 .../licenses/opensaml-messaging-impl-3.3.0.jar.sha1 | 0 .../licenses/opensaml-profile-api-3.3.0.jar.sha1 | 0 .../licenses/opensaml-profile-impl-3.3.0.jar.sha1 | 0 .../licenses/opensaml-saml-api-3.3.0.jar.sha1 | 0 .../licenses/opensaml-saml-impl-3.3.0.jar.sha1 | 0 .../licenses/opensaml-security-api-3.3.0.jar.sha1 | 0 .../licenses/opensaml-security-impl-3.3.0.jar.sha1 | 0 .../licenses/opensaml-soap-api-3.3.0.jar.sha1 | 0 .../licenses/opensaml-soap-impl-3.3.0.jar.sha1 | 0 .../licenses/opensaml-storage-api-3.3.0.jar.sha1 | 0 .../licenses/opensaml-storage-impl-3.3.0.jar.sha1 | 0 .../licenses/opensaml-xmlsec-api-3.3.0.jar.sha1 | 0 .../licenses/opensaml-xmlsec-impl-3.3.0.jar.sha1 | 0 .../security/licenses/shibboleth-LICENSE.txt | 0 .../plugin}/security/licenses/shibboleth-NOTICE.txt | 0 .../security/licenses/slf4j-api-1.6.2.jar.sha1 | 0 .../plugin}/security/licenses/slf4j-api-LICENSE.txt | 0 .../plugin}/security/licenses/slf4j-api-NOTICE.txt | 0 .../plugin}/security/licenses/xmlsec-2.0.8.jar.sha1 | 0 .../plugin}/security/licenses/xmlsec-LICENSE.txt | 0 .../plugin}/security/licenses/xmlsec-NOTICE.txt | 0 .../plugin}/security/src/main/bin/certgen | 0 .../plugin}/security/src/main/bin/certgen.bat | 0 .../plugin}/security/src/main/bin/certutil | 0 .../plugin}/security/src/main/bin/certutil.bat | 0 .../plugin}/security/src/main/bin/migrate | 0 .../plugin}/security/src/main/bin/migrate.bat | 0 .../plugin}/security/src/main/bin/saml-metadata | 0 .../plugin}/security/src/main/bin/saml-metadata.bat | 0 .../plugin}/security/src/main/bin/setup-passwords | 0 .../security/src/main/bin/setup-passwords.bat | 0 .../plugin}/security/src/main/bin/syskeygen | 0 .../plugin}/security/src/main/bin/syskeygen.bat | 0 .../plugin}/security/src/main/bin/users | 0 .../plugin}/security/src/main/bin/users.bat | 0 .../security/src/main/bin/x-pack-security-env | 0 .../security/src/main/bin/x-pack-security-env.bat | 0 .../security/src/main/config/role_mapping.yml | 0 .../plugin}/security/src/main/config/roles.yml | 0 .../plugin}/security/src/main/config/users | 0 .../plugin}/security/src/main/config/users_roles | 0 .../xpack/security/PkiRealmBootstrapCheck.java | 0 .../org/elasticsearch/xpack/security/Security.java | 0 .../xpack/security/SecurityFeatureSet.java | 0 .../xpack/security/SecurityLifecycleService.java | 0 .../xpack/security/TokenSSLBootstrapCheck.java | 0 .../xpack/security/action/SecurityActionMapper.java | 0 .../action/filter/SecurityActionFilter.java | 0 .../interceptor/BulkShardRequestInterceptor.java | 0 ...dAndDocumentLevelSecurityRequestInterceptor.java | 0 .../IndicesAliasesRequestInterceptor.java | 0 .../action/interceptor/RequestInterceptor.java | 0 .../interceptor/ResizeRequestInterceptor.java | 0 .../interceptor/SearchRequestInterceptor.java | 0 .../interceptor/UpdateRequestInterceptor.java | 0 .../realm/TransportClearRealmCacheAction.java | 0 .../action/role/TransportClearRolesCacheAction.java | 0 .../action/role/TransportDeleteRoleAction.java | 0 .../action/role/TransportGetRolesAction.java | 0 .../action/role/TransportPutRoleAction.java | 0 .../TransportDeleteRoleMappingAction.java | 0 .../rolemapping/TransportGetRoleMappingsAction.java | 0 .../rolemapping/TransportPutRoleMappingAction.java | 0 .../saml/TransportSamlAuthenticateAction.java | 0 .../saml/TransportSamlInvalidateSessionAction.java | 0 .../action/saml/TransportSamlLogoutAction.java | 0 .../TransportSamlPrepareAuthenticationAction.java | 0 .../action/token/TransportCreateTokenAction.java | 0 .../token/TransportInvalidateTokenAction.java | 0 .../action/token/TransportRefreshTokenAction.java | 0 .../action/user/TransportAuthenticateAction.java | 0 .../action/user/TransportChangePasswordAction.java | 0 .../action/user/TransportDeleteUserAction.java | 0 .../action/user/TransportGetUsersAction.java | 0 .../action/user/TransportHasPrivilegesAction.java | 0 .../action/user/TransportPutUserAction.java | 0 .../action/user/TransportSetEnabledAction.java | 0 .../xpack/security/audit/AuditLevel.java | 0 .../xpack/security/audit/AuditTrail.java | 0 .../xpack/security/audit/AuditTrailService.java | 0 .../xpack/security/audit/AuditUtil.java | 0 .../xpack/security/audit/index/IndexAuditTrail.java | 0 .../security/audit/index/IndexNameResolver.java | 0 .../security/audit/logfile/LoggingAuditTrail.java | 0 .../xpack/security/authc/AuthenticationService.java | 0 .../xpack/security/authc/BytesKey.java | 0 .../xpack/security/authc/ExpiredTokenRemover.java | 0 .../xpack/security/authc/InternalRealms.java | 0 .../elasticsearch/xpack/security/authc/Realms.java | 0 .../xpack/security/authc/TokenService.java | 0 .../xpack/security/authc/UserToken.java | 0 .../authc/esnative/ESNativeRealmMigrateTool.java | 0 .../xpack/security/authc/esnative/NativeRealm.java | 0 .../security/authc/esnative/NativeUsersStore.java | 0 .../security/authc/esnative/ReservedRealm.java | 0 .../security/authc/esnative/UserAndPassword.java | 0 .../authc/esnative/tool/CommandLineHttpClient.java | 0 .../security/authc/esnative/tool/HttpResponse.java | 0 .../authc/esnative/tool/SetupPasswordTool.java | 0 .../xpack/security/authc/file/FileRealm.java | 0 .../security/authc/file/FileUserPasswdStore.java | 0 .../security/authc/file/FileUserRolesStore.java | 0 .../xpack/security/authc/file/tool/UsersTool.java | 0 .../authc/ldap/ActiveDirectoryGroupsResolver.java | 0 .../security/authc/ldap/ActiveDirectorySIDUtil.java | 0 .../authc/ldap/ActiveDirectorySessionFactory.java | 0 .../xpack/security/authc/ldap/LdapRealm.java | 0 .../security/authc/ldap/LdapSessionFactory.java | 0 .../authc/ldap/LdapUserSearchSessionFactory.java | 0 .../security/authc/ldap/PoolingSessionFactory.java | 0 .../security/authc/ldap/SearchGroupsResolver.java | 0 .../authc/ldap/UserAttributeGroupsResolver.java | 0 .../authc/ldap/support/LdapLoadBalancing.java | 0 .../authc/ldap/support/LdapMetaDataResolver.java | 0 .../security/authc/ldap/support/LdapSession.java | 0 .../security/authc/ldap/support/LdapUtils.java | 0 .../security/authc/ldap/support/SessionFactory.java | 0 .../xpack/security/authc/pki/PkiRealm.java | 0 .../security/authc/pki/X509AuthenticationToken.java | 0 .../xpack/security/authc/saml/IdpConfiguration.java | 0 .../xpack/security/authc/saml/SamlAttributes.java | 0 .../security/authc/saml/SamlAuthenticator.java | 0 .../authc/saml/SamlAuthnRequestBuilder.java | 0 .../authc/saml/SamlLogoutRequestHandler.java | 0 .../authc/saml/SamlLogoutRequestMessageBuilder.java | 0 .../authc/saml/SamlLogoutResponseBuilder.java | 0 .../security/authc/saml/SamlMessageBuilder.java | 0 .../security/authc/saml/SamlMetadataCommand.java | 0 .../xpack/security/authc/saml/SamlNameId.java | 0 .../xpack/security/authc/saml/SamlRealm.java | 0 .../xpack/security/authc/saml/SamlRedirect.java | 0 .../security/authc/saml/SamlRequestHandler.java | 0 .../security/authc/saml/SamlSpMetadataBuilder.java | 0 .../xpack/security/authc/saml/SamlToken.java | 0 .../xpack/security/authc/saml/SamlUtils.java | 0 .../security/authc/saml/SigningConfiguration.java | 0 .../xpack/security/authc/saml/SpConfiguration.java | 0 .../xpack/security/authc/support/CachingRealm.java | 0 .../authc/support/CachingUsernamePasswordRealm.java | 0 .../xpack/security/authc/support/DnRoleMapper.java | 0 .../support/RoleMappingFileBootstrapCheck.java | 0 .../security/authc/support/UserRoleMapper.java | 0 .../authc/support/UsernamePasswordRealm.java | 0 .../authc/support/mapper/CompositeRoleMapper.java | 0 .../support/mapper/NativeRoleMappingStore.java | 0 .../xpack/security/authz/AuthorizationService.java | 0 .../xpack/security/authz/AuthorizationUtils.java | 0 .../xpack/security/authz/AuthorizedIndices.java | 0 .../security/authz/IndicesAndAliasesResolver.java | 0 .../authz/SecuritySearchOperationListener.java | 0 .../authz/accesscontrol/FieldExtractor.java | 0 .../authz/accesscontrol/OptOutQueryCache.java | 0 .../security/authz/store/CompositeRolesStore.java | 0 .../xpack/security/authz/store/FileRolesStore.java | 0 .../security/authz/store/NativeRolesStore.java | 0 .../xpack/security/crypto/tool/SystemKeyTool.java | 0 .../xpack/security/rest/RemoteHostHeader.java | 0 .../xpack/security/rest/SecurityRestFilter.java | 0 .../rest/action/RestAuthenticateAction.java | 0 .../rest/action/SecurityBaseRestHandler.java | 0 .../rest/action/oauth2/RestGetTokenAction.java | 0 .../action/oauth2/RestInvalidateTokenAction.java | 0 .../action/realm/RestClearRealmCacheAction.java | 0 .../rest/action/role/RestClearRolesCacheAction.java | 0 .../rest/action/role/RestDeleteRoleAction.java | 0 .../rest/action/role/RestGetRolesAction.java | 0 .../rest/action/role/RestPutRoleAction.java | 0 .../rolemapping/RestDeleteRoleMappingAction.java | 0 .../rolemapping/RestGetRoleMappingsAction.java | 0 .../rolemapping/RestPutRoleMappingAction.java | 0 .../action/saml/RestSamlAuthenticateAction.java | 0 .../saml/RestSamlInvalidateSessionAction.java | 0 .../rest/action/saml/RestSamlLogoutAction.java | 0 .../saml/RestSamlPrepareAuthenticationAction.java | 0 .../rest/action/saml/SamlBaseRestHandler.java | 0 .../rest/action/user/RestChangePasswordAction.java | 0 .../rest/action/user/RestDeleteUserAction.java | 0 .../rest/action/user/RestGetUsersAction.java | 0 .../rest/action/user/RestHasPrivilegesAction.java | 0 .../rest/action/user/RestPutUserAction.java | 0 .../rest/action/user/RestSetEnabledAction.java | 0 .../security/support/AbstractSecurityModule.java | 0 .../security/support/FileAttributesChecker.java | 0 .../security/support/IndexLifecycleManager.java | 0 .../support/RestorableContextClassLoader.java | 0 .../xpack/security/support/SecurityFiles.java | 0 .../SecurityServerTransportInterceptor.java | 0 .../security/transport/ServerTransportFilter.java | 0 .../xpack/security/transport/filter/IPFilter.java | 0 .../security/transport/filter/PatternRule.java | 0 .../transport/filter/SecurityIpFilterRule.java | 0 .../netty4/IpFilterRemoteAddressFilter.java | 0 .../netty4/SecurityNetty4HttpServerTransport.java | 0 .../netty4/SecurityNetty4ServerTransport.java | 0 .../security/transport/nio/SSLChannelContext.java | 0 .../xpack/security/transport/nio/SSLDriver.java | 0 .../transport/nio/SecurityNioTransport.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../resources/meta-plugin-descriptor.properties | 0 .../authc/saml/saml-schema-assertion-2.0.xsd | 0 .../authc/saml/saml-schema-metadata-2.0.xsd | 0 .../authc/saml/saml-schema-protocol-2.0.xsd | 0 .../xpack/security/authc/saml/xenc-schema.xsd | 0 .../elasticsearch/xpack/security/authc/saml/xml.xsd | 0 .../security/authc/saml/xmldsig-core-schema.xsd | 0 .../integration/AbstractPrivilegeTestCase.java | 0 .../elasticsearch/integration/BulkUpdateTests.java | 0 .../integration/ClearRealmsCacheTests.java | 0 .../integration/ClearRolesCacheTests.java | 0 .../integration/ClusterPrivilegeTests.java | 0 .../integration/DateMathExpressionIntegTests.java | 0 .../DocumentAndFieldLevelSecurityTests.java | 0 .../DocumentLevelSecurityRandomTests.java | 0 .../integration/DocumentLevelSecurityTests.java | 0 .../integration/FieldLevelSecurityRandomTests.java | 0 .../integration/FieldLevelSecurityTests.java | 0 .../integration/IndexPrivilegeTests.java | 0 ...rmissionsWithAliasesWildcardsAndRegexsTests.java | 0 .../integration/KibanaUserRoleIntegTests.java | 0 .../MultipleIndicesPermissionsTests.java | 0 .../integration/PermissionPrecedenceTests.java | 0 .../integration/SecurityCachePermissionTests.java | 0 .../integration/SecurityClearScrollTests.java | 0 .../integration/ShrinkIndexWithSecurityTests.java | 0 .../org/elasticsearch/license/LicensingTests.java | 0 .../test/NativeRealmIntegTestCase.java | 0 .../elasticsearch/test/SecurityIntegTestCase.java | 0 .../elasticsearch/test/SecuritySettingsSource.java | 0 .../test/SecuritySingleNodeTestCase.java | 0 .../org/elasticsearch/test/SecurityTestsUtils.java | 0 .../org/elasticsearch/test/SettingsFilterTests.java | 0 .../SecurityServerTransportServiceTests.java | 0 .../xpack/security/LocalStateSecurity.java | 0 .../xpack/security/PkiRealmBootstrapCheckTests.java | 0 .../xpack/security/ScrollHelperIntegTests.java | 0 .../xpack/security/SecurityContextTests.java | 0 .../xpack/security/SecurityFeatureSetTests.java | 0 .../security/SecurityLifecycleServiceTests.java | 0 .../xpack/security/SecurityPluginTests.java | 0 .../xpack/security/SecuritySettingsTests.java | 0 .../elasticsearch/xpack/security/SecurityTests.java | 0 .../xpack/security/TemplateUpgraderTests.java | 0 .../xpack/security/TokenSSLBootsrapCheckTests.java | 0 .../security/action/SecurityActionMapperTests.java | 0 .../action/filter/DestructiveOperationsTests.java | 0 .../action/filter/SecurityActionFilterTests.java | 0 .../IndicesAliasesRequestInterceptorTests.java | 0 .../interceptor/ResizeRequestInterceptorTests.java | 0 .../security/action/role/PutRoleBuilderTests.java | 0 .../action/role/TransportDeleteRoleActionTests.java | 0 .../action/role/TransportGetRolesActionTests.java | 0 .../action/role/TransportPutRoleActionTests.java | 0 .../rolemapping/PutRoleMappingRequestTests.java | 0 .../TransportGetRoleMappingsActionTests.java | 0 .../TransportPutRoleMappingActionTests.java | 0 .../saml/SamlPrepareAuthenticationRequestTests.java | 0 .../TransportSamlInvalidateSessionActionTests.java | 0 .../action/saml/TransportSamlLogoutActionTests.java | 0 .../action/token/CreateTokenRequestTests.java | 0 .../user/HasPrivilegesRequestBuilderTests.java | 0 .../action/user/PutUserRequestBuilderTests.java | 0 .../security/action/user/PutUserRequestTests.java | 0 .../user/TransportAuthenticateActionTests.java | 0 .../user/TransportChangePasswordActionTests.java | 0 .../action/user/TransportDeleteUserActionTests.java | 0 .../action/user/TransportGetUsersActionTests.java | 0 .../user/TransportHasPrivilegesActionTests.java | 0 .../action/user/TransportPutUserActionTests.java | 0 .../action/user/TransportSetEnabledActionTests.java | 0 .../xpack/security/audit/AuditLevelTests.java | 0 .../security/audit/AuditTrailServiceTests.java | 0 .../xpack/security/audit/AuditUtilTests.java | 0 .../xpack/security/audit/index/AuditTrailTests.java | 0 .../audit/index/IndexAuditTrailMutedTests.java | 0 .../security/audit/index/IndexAuditTrailTests.java | 0 .../index/RemoteIndexAuditTrailStartingTests.java | 0 .../logfile/AuditTrailSettingsUpdateTests.java | 0 .../audit/logfile/LoggingAuditTrailFilterTests.java | 0 .../audit/logfile/LoggingAuditTrailTests.java | 0 .../security/authc/AuthenticationServiceTests.java | 0 .../xpack/security/authc/InternalRealmsTests.java | 0 .../xpack/security/authc/RealmSettingsTests.java | 0 .../xpack/security/authc/RealmsTests.java | 0 .../xpack/security/authc/RunAsIntegTests.java | 0 .../xpack/security/authc/TokenAuthIntegTests.java | 0 .../xpack/security/authc/TokenServiceTests.java | 0 .../xpack/security/authc/UserTokenTests.java | 0 .../authc/esnative/ESNativeMigrateToolTests.java | 0 .../esnative/ESNativeRealmMigrateToolTests.java | 0 .../authc/esnative/NativeRealmIntegTests.java | 0 .../security/authc/esnative/NativeRealmTests.java | 0 .../authc/esnative/NativeUsersStoreTests.java | 0 .../authc/esnative/ReservedRealmIntegTests.java | 0 .../security/authc/esnative/ReservedRealmTests.java | 0 .../esnative/tool/CommandLineHttpClientTests.java | 0 .../authc/esnative/tool/SetupPasswordToolTests.java | 0 .../xpack/security/authc/file/FileRealmTests.java | 0 .../authc/file/FileUserPasswdStoreTests.java | 0 .../authc/file/FileUserRolesStoreTests.java | 0 .../authc/ldap/ActiveDirectoryRealmTests.java | 0 .../authc/ldap/ActiveDirectorySIDUtilTests.java | 0 .../authc/ldap/CancellableLdapRunnableTests.java | 0 .../security/authc/ldap/GroupsResolverTestCase.java | 0 .../xpack/security/authc/ldap/LdapRealmTests.java | 0 .../authc/ldap/LdapSessionFactoryTests.java | 0 .../xpack/security/authc/ldap/LdapTestUtils.java | 0 .../ldap/LdapUserSearchSessionFactoryTests.java | 0 .../ldap/SearchGroupsResolverInMemoryTests.java | 0 .../authc/ldap/support/LDAPServersTests.java | 0 .../authc/ldap/support/LdapLoadBalancingTests.java | 0 .../ldap/support/LdapMetaDataResolverTests.java | 0 .../security/authc/ldap/support/LdapTestCase.java | 0 .../support/SessionFactoryLoadBalancingTests.java | 0 .../authc/ldap/support/SessionFactoryTests.java | 0 .../security/authc/pki/PkiAuthenticationTests.java | 0 .../authc/pki/PkiOptionalClientAuthTests.java | 0 .../xpack/security/authc/pki/PkiRealmTests.java | 0 .../security/authc/saml/SamlAuthenticatorTests.java | 0 .../authc/saml/SamlAuthnRequestBuilderTests.java | 0 .../authc/saml/SamlLogoutRequestHandlerTests.java | 0 .../saml/SamlLogoutRequestMessageBuilderTests.java | 0 .../authc/saml/SamlMetadataCommandTests.java | 0 .../security/authc/saml/SamlRealmTestHelper.java | 0 .../xpack/security/authc/saml/SamlRealmTests.java | 0 .../security/authc/saml/SamlRedirectTests.java | 0 .../authc/saml/SamlSpMetadataBuilderTests.java | 0 .../xpack/security/authc/saml/SamlTestCase.java | 0 .../xpack/security/authc/saml/SamlUtilsTests.java | 0 .../authc/saml/SigningConfigurationTests.java | 0 .../xpack/security/authc/support/BCryptTests.java | 0 .../support/CachingUsernamePasswordRealmTests.java | 0 .../support/DistinguishedNamePredicateTests.java | 0 .../security/authc/support/DnRoleMapperTests.java | 0 .../xpack/security/authc/support/HasherTests.java | 0 .../support/RoleMappingFileBootstrapCheckTests.java | 0 .../authc/support/UsernamePasswordTokenTests.java | 0 .../support/mapper/ExpressionRoleMappingTests.java | 0 .../support/mapper/NativeRoleMappingStoreTests.java | 0 .../xpack/security/authz/AnalyzeTests.java | 0 .../security/authz/AuthorizationServiceTests.java | 0 .../security/authz/AuthorizationUtilsTests.java | 0 .../security/authz/AuthorizedIndicesTests.java | 0 .../xpack/security/authz/IndexAliasesTests.java | 0 .../authz/IndicesAndAliasesResolverTests.java | 0 .../xpack/security/authz/ReadActionsTests.java | 0 .../xpack/security/authz/RoleDescriptorTests.java | 0 .../xpack/security/authz/SecurityScrollTests.java | 0 .../authz/SecuritySearchOperationListenerTests.java | 0 .../xpack/security/authz/WriteActionsTests.java | 0 .../FieldDataCacheWithFieldSubsetReaderTests.java | 0 .../authz/accesscontrol/FieldExtractorTests.java | 0 .../accesscontrol/IndicesAccessControlTests.java | 0 .../authz/accesscontrol/IndicesPermissionTests.java | 0 .../authz/accesscontrol/OptOutQueryCacheTests.java | 0 .../SetSecurityUserProcessorTests.java | 0 .../authz/permission/FieldPermissionsTests.java | 0 .../security/authz/permission/PermissionTests.java | 0 .../authz/store/CompositeRolesStoreTests.java | 0 .../security/authz/store/FileRolesStoreTests.java | 0 .../security/authz/store/NativeRolesStoreTests.java | 0 .../xpack/security/rest/RestRequestFilterTests.java | 0 .../security/rest/SecurityRestFilterTests.java | 0 .../rest/action/RestAuthenticateActionTests.java | 0 .../rest/action/SecurityBaseRestHandlerTests.java | 0 .../rest/action/oauth2/RestGetTokenActionTests.java | 0 .../rest/action/saml/SamlBaseRestHandlerTests.java | 0 .../action/user/HasPrivilegesRestResponseTests.java | 0 .../support/IndexLifecycleManagerIntegTests.java | 0 .../support/IndexLifecycleManagerTests.java | 0 .../xpack/security/test/SecurityTestUtils.java | 0 .../SecurityServerTransportInterceptorTests.java | 0 .../ServerTransportFilterIntegrationTests.java | 0 .../transport/ServerTransportFilterTests.java | 0 .../security/transport/filter/IPFilterTests.java | 0 .../filter/IpFilteringIntegrationTests.java | 0 .../transport/filter/IpFilteringUpdateTests.java | 0 .../security/transport/filter/PatternRuleTests.java | 0 .../transport/filter/SecurityIpFilterRuleTests.java | 0 .../netty4/DNSOnlyHostnameVerificationTests.java | 0 .../netty4/IPHostnameVerificationTests.java | 0 .../netty4/IpFilterRemoteAddressFilterTests.java | 0 .../SecurityNetty4HttpServerTransportTests.java | 0 .../netty4/SecurityNetty4ServerTransportTests.java | 0 .../netty4/SslHostnameVerificationTests.java | 0 .../transport/nio/SSLChannelContextTests.java | 0 .../security/transport/nio/SSLDriverTests.java | 0 .../nio/SimpleSecurityNioTransportTests.java | 0 .../transport/ssl/EllipticCurveSSLTests.java | 0 .../security/transport/ssl/SslIntegrationTests.java | 0 .../security/transport/ssl/SslMultiPortTests.java | 0 .../security/transport/ssl/SslNullCipherTests.java | 0 .../security/user/AnonymousUserIntegTests.java | 0 .../xpack/security/user/AnonymousUserTests.java | 0 .../xpack/security/user/SystemUserTests.java | 0 .../xpack/security/user/UserTests.java | 0 .../xpack/security/user/XPackUserTests.java | 0 .../elasticsearch/xpack/ssl/SSLClientAuthTests.java | 0 .../xpack/ssl/SSLReloadIntegTests.java | 0 .../xpack/ssl/SSLTrustRestrictionsTests.java | 0 .../IndexLifecycleManagerTests-template.json | 0 .../missing-version-security-index-template.json | 0 .../xpack/security/action/role/roles2xformat.json | 0 .../elasticsearch/xpack/security/authc/file/users | 0 .../xpack/security/authc/file/users_roles | 0 .../xpack/security/authc/ldap/ad-schema.ldif | 0 .../elasticsearch/xpack/security/authc/ldap/ad.ldif | 0 .../xpack/security/authc/ldap/role_mapping.yml | 0 .../xpack/security/authc/ldap/support/ADtrust.jks | Bin .../authc/ldap/support/ldapWithGroupSearch.yml | 0 .../authc/ldap/support/ldapWithRoleMapping.yml | 0 .../security/authc/ldap/support/seven-seas.ldif | 0 .../xpack/security/authc/pki/role_mapping.yml | 0 .../xpack/security/authc/saml/idp1.xml | 0 .../xpack/security/authc/saml/saml-three-certs.crt | 0 .../xpack/security/authc/saml/saml.crt | 0 .../xpack/security/authc/saml/saml.key | 0 .../xpack/security/authc/saml/saml.p12 | Bin .../security/authc/saml/saml_with_password.key | 0 .../security/authc/saml/saml_with_password.p12 | Bin .../xpack/security/authc/support/role_mapping.yml | 0 .../xpack/security/authz/store/default_roles.yml | 0 .../xpack/security/authz/store/invalid_roles.yml | 0 .../xpack/security/authz/store/reserved_roles.yml | 0 .../xpack/security/authz/store/roles.yml | 0 .../xpack/security/authz/store/roles2xformat.json | 0 .../xpack/security/authz/store/roles2xformat.yml | 0 .../keystore/testnode-different-passwords.jks | Bin .../xpack/security/keystore/testnode.cert | 0 .../xpack/security/keystore/testnode.jks | Bin .../security/keystore/truststore-testnode-only.jks | Bin .../elasticsearch/xpack/security/plugin/roles.yml | 0 .../org/elasticsearch/xpack/security/plugin/users | 0 .../elasticsearch/xpack/security/plugin/users_roles | 0 .../transport/ssl/certs/simple/README.asciidoc | 0 .../ssl/certs/simple/active-directory-ca.crt | 0 .../transport/ssl/certs/simple/openldap.crt | 0 .../transport/ssl/certs/simple/openldap.der | Bin .../transport/ssl/certs/simple/openssl_config.cnf | 0 .../transport/ssl/certs/simple/prime256v1-cert.pem | 0 .../ssl/certs/simple/prime256v1-key-noparam.pem | 0 .../transport/ssl/certs/simple/prime256v1-key.pem | 0 .../ssl/certs/simple/testclient-client-profile.crt | 0 .../ssl/certs/simple/testclient-client-profile.jks | Bin .../ssl/certs/simple/testclient-client-profile.p12 | Bin .../ssl/certs/simple/testclient-client-profile.pem | 0 .../transport/ssl/certs/simple/testclient.crt | 0 .../transport/ssl/certs/simple/testclient.jks | Bin .../transport/ssl/certs/simple/testclient.p12 | Bin .../transport/ssl/certs/simple/testclient.pem | 0 .../ssl/certs/simple/testnode-client-profile.crt | 0 .../ssl/certs/simple/testnode-client-profile.jks | Bin .../ssl/certs/simple/testnode-client-profile.p12 | Bin .../ssl/certs/simple/testnode-client-profile.pem | 0 .../certs/simple/testnode-different-passwords.jks | Bin .../transport/ssl/certs/simple/testnode-ip-only.crt | 0 .../transport/ssl/certs/simple/testnode-ip-only.jks | Bin .../ssl/certs/simple/testnode-no-subjaltname.cert | 0 .../ssl/certs/simple/testnode-no-subjaltname.jks | Bin .../transport/ssl/certs/simple/testnode.crt | 0 .../transport/ssl/certs/simple/testnode.jks | Bin .../transport/ssl/certs/simple/testnode.p12 | Bin .../transport/ssl/certs/simple/testnode.pem | 0 .../ssl/certs/simple/truststore-testnode-only.jks | Bin {plugin => x-pack/plugin}/sql/build.gradle | 0 {plugin => x-pack/plugin}/sql/jdbc/build.gradle | 0 .../plugin}/sql/jdbc/licenses/jackson-LICENSE | 0 .../plugin}/sql/jdbc/licenses/jackson-NOTICE | 0 .../sql/jdbc/licenses/jackson-core-2.8.10.jar.sha1 | 0 .../sql/jdbc/licenses/joda-time-2.9.9.jar.sha1 | 0 .../plugin}/sql/jdbc/licenses/joda-time-LICENSE.txt | 0 .../plugin}/sql/jdbc/licenses/joda-time-NOTICE.txt | 0 .../sql/jdbc/licenses/log4j-api-2.9.1.jar.sha1 | 0 .../plugin}/sql/jdbc/licenses/log4j-api-LICENSE.txt | 0 .../plugin}/sql/jdbc/licenses/log4j-api-NOTICE.txt | 0 .../sql/jdbc/licenses/log4j-core-2.9.1.jar.sha1 | 0 .../sql/jdbc/licenses/log4j-core-LICENSE.txt | 0 .../plugin}/sql/jdbc/licenses/log4j-core-NOTICE.txt | 0 .../plugin}/sql/jdbc/licenses/lucene-LICENSE.txt | 0 .../plugin}/sql/jdbc/licenses/lucene-NOTICE.txt | 0 .../sql/jdbc/licenses/lucene-core-7.3.0.jar.sha1 | 0 .../elasticsearch/xpack/sql/jdbc/JdbcException.java | 0 .../xpack/sql/jdbc/JdbcSQLException.java | 0 .../xpack/sql/jdbc/debug/ConnectionProxy.java | 0 .../xpack/sql/jdbc/debug/DatabaseMetadataProxy.java | 0 .../elasticsearch/xpack/sql/jdbc/debug/Debug.java | 0 .../xpack/sql/jdbc/debug/DebugLog.java | 0 .../xpack/sql/jdbc/debug/DebugProxy.java | 0 .../xpack/sql/jdbc/debug/DebuggingInvoker.java | 0 .../sql/jdbc/debug/ParameterMetaDataProxy.java | 0 .../sql/jdbc/debug/ResultSetMetaDataProxy.java | 0 .../xpack/sql/jdbc/debug/ResultSetProxy.java | 0 .../xpack/sql/jdbc/debug/StatementProxy.java | 0 .../xpack/sql/jdbc/jdbc/JdbcConfiguration.java | 0 .../xpack/sql/jdbc/jdbc/JdbcConnection.java | 0 .../xpack/sql/jdbc/jdbc/JdbcDatabaseMetaData.java | 0 .../xpack/sql/jdbc/jdbc/JdbcDriver.java | 0 .../xpack/sql/jdbc/jdbc/JdbcParameterMetaData.java | 0 .../xpack/sql/jdbc/jdbc/JdbcPreparedStatement.java | 0 .../xpack/sql/jdbc/jdbc/JdbcResultSet.java | 0 .../xpack/sql/jdbc/jdbc/JdbcResultSetMetaData.java | 0 .../xpack/sql/jdbc/jdbc/JdbcStatement.java | 0 .../xpack/sql/jdbc/jdbc/JdbcWrapper.java | 0 .../xpack/sql/jdbc/jdbc/PreparedQuery.java | 0 .../sql/jdbc/jdbc/SqlQueryParameterAnalyzer.java | 0 .../xpack/sql/jdbc/jdbc/TypeConverter.java | 0 .../xpack/sql/jdbc/jdbcx/JdbcDataSource.java | 0 .../xpack/sql/jdbc/net/client/Cursor.java | 0 .../xpack/sql/jdbc/net/client/DefaultCursor.java | 0 .../xpack/sql/jdbc/net/client/JdbcHttpClient.java | 0 .../xpack/sql/jdbc/net/client/RequestMeta.java | 0 .../xpack/sql/jdbc/net/protocol/ColumnInfo.java | 0 .../xpack/sql/jdbc/net/protocol/InfoResponse.java | 0 .../xpack/sql/jdbc/net/protocol/Nullable.java | 0 .../resources/META-INF/services/java.sql.Driver | 0 .../sql/jdbc/DriverManagerRegistrationTests.java | 0 .../xpack/sql/jdbc/JdbcConfigurationTests.java | 0 .../elasticsearch/xpack/sql/jdbc/VersionTests.java | 0 .../jdbc/jdbc/SqlQueryParameterAnalyzerTests.java | 0 .../xpack/sql/jdbc/jdbc/TypeConverterTests.java | 0 .../sql/jdbc/net/protocol/ColumnInfoTests.java | 0 .../elasticsearch/xpack/sql/jdbc/package-info.java | 0 .../jdbc/src/test/resources/plugin-security.policy | 0 .../sql/licenses/antlr4-runtime-4.5.3.jar.sha1 | 0 .../plugin}/sql/licenses/antlr4-runtime-LICENSE.txt | 0 .../plugin}/sql/licenses/antlr4-runtime-NOTICE.txt | 0 {plugin => x-pack/plugin}/sql/sql-cli/build.gradle | 0 .../sql/sql-cli/licenses/jansi-1.16.jar.sha1 | 0 .../plugin}/sql/sql-cli/licenses/jansi-LICENSE.txt | 0 .../plugin}/sql/sql-cli/licenses/jansi-NOTICE.txt | 0 .../sql/sql-cli/licenses/jline-3.6.0.jar.sha1 | 0 .../plugin}/sql/sql-cli/licenses/jline-LICENSE.txt | 0 .../plugin}/sql/sql-cli/licenses/jline-NOTICE.txt | 0 .../sql/sql-cli/src/forbidden/cli-signatures.txt | 0 .../java/org/elasticsearch/xpack/sql/cli/Cli.java | 0 .../org/elasticsearch/xpack/sql/cli/CliRepl.java | 0 .../elasticsearch/xpack/sql/cli/CliTerminal.java | 0 .../org/elasticsearch/xpack/sql/cli/Completers.java | 0 .../xpack/sql/cli/ConnectionBuilder.java | 0 .../xpack/sql/cli/FatalCliException.java | 0 .../elasticsearch/xpack/sql/cli/JLineTerminal.java | 0 .../xpack/sql/cli/command/AbstractCliCommand.java | 0 .../sql/cli/command/AbstractServerCliCommand.java | 0 .../sql/cli/command/ClearScreenCliCommand.java | 0 .../xpack/sql/cli/command/CliCommand.java | 0 .../xpack/sql/cli/command/CliCommands.java | 0 .../xpack/sql/cli/command/CliSession.java | 0 .../sql/cli/command/FetchSeparatorCliCommand.java | 0 .../xpack/sql/cli/command/FetchSizeCliCommand.java | 0 .../xpack/sql/cli/command/PrintLogoCommand.java | 0 .../xpack/sql/cli/command/ServerInfoCliCommand.java | 0 .../sql/cli/command/ServerQueryCliCommand.java | 0 .../sql-cli/src/main/resources/logging.properties | 0 .../plugin}/sql/sql-cli/src/main/resources/logo.txt | 0 .../elasticsearch/xpack/sql/cli/CliReplTests.java | 0 .../xpack/sql/cli/CliSessionTests.java | 0 .../xpack/sql/cli/ConnectionBuilderTests.java | 0 .../xpack/sql/cli/JLineTerminalTests.java | 0 .../elasticsearch/xpack/sql/cli/TestTerminal.java | 0 .../elasticsearch/xpack/sql/cli/VersionTests.java | 0 .../xpack/sql/cli/command/BuiltinCommandTests.java | 0 .../xpack/sql/cli/command/CliCommandsTests.java | 0 .../sql/cli/command/ServerInfoCliCommandTests.java | 0 .../sql/cli/command/ServerQueryCliCommandTests.java | 0 .../elasticsearch/xpack/sql/cli/package-info.java | 0 .../plugin}/sql/sql-proto/build.gradle | 0 .../plugin}/sql/sql-proto/licenses/jackson-LICENSE | 0 .../plugin}/sql/sql-proto/licenses/jackson-NOTICE | 0 .../sql-proto/licenses/jackson-core-2.8.10.jar.sha1 | 0 .../sql/sql-proto/licenses/joda-time-2.9.9.jar.sha1 | 0 .../sql/sql-proto/licenses/joda-time-LICENSE.txt | 0 .../sql/sql-proto/licenses/joda-time-NOTICE.txt | 0 .../sql/sql-proto/licenses/log4j-api-2.9.1.jar.sha1 | 0 .../sql/sql-proto/licenses/log4j-api-LICENSE.txt | 0 .../sql/sql-proto/licenses/log4j-api-NOTICE.txt | 0 .../sql-proto/licenses/log4j-core-2.9.1.jar.sha1 | 0 .../sql/sql-proto/licenses/log4j-core-LICENSE.txt | 0 .../sql/sql-proto/licenses/log4j-core-NOTICE.txt | 0 .../sql/sql-proto/licenses/lucene-LICENSE.txt | 0 .../sql/sql-proto/licenses/lucene-NOTICE.txt | 0 .../sql-proto/licenses/lucene-core-7.3.0.jar.sha1 | 0 .../xpack/sql/plugin/AbstractSqlQueryRequest.java | 0 .../xpack/sql/plugin/AbstractSqlRequest.java | 0 .../xpack/sql/plugin/CliFormatter.java | 0 .../elasticsearch/xpack/sql/plugin/ColumnInfo.java | 0 .../xpack/sql/plugin/MetaColumnInfo.java | 0 .../xpack/sql/plugin/SqlClearCursorAction.java | 0 .../xpack/sql/plugin/SqlClearCursorRequest.java | 0 .../sql/plugin/SqlClearCursorRequestBuilder.java | 0 .../xpack/sql/plugin/SqlClearCursorResponse.java | 0 .../xpack/sql/plugin/SqlQueryAction.java | 0 .../xpack/sql/plugin/SqlQueryRequest.java | 0 .../xpack/sql/plugin/SqlQueryRequestBuilder.java | 0 .../xpack/sql/plugin/SqlQueryResponse.java | 0 .../xpack/sql/plugin/SqlTranslateAction.java | 0 .../xpack/sql/plugin/SqlTranslateRequest.java | 0 .../sql/plugin/SqlTranslateRequestBuilder.java | 0 .../xpack/sql/plugin/SqlTranslateResponse.java | 0 .../xpack/sql/plugin/SqlTypedParamValue.java | 0 .../org/elasticsearch/xpack/sql/type/DataType.java | 0 .../sql/plugin/SqlClearCursorRequestTests.java | 0 .../sql/plugin/SqlClearCursorResponseTests.java | 0 .../xpack/sql/plugin/SqlQueryRequestTests.java | 0 .../xpack/sql/plugin/SqlQueryResponseTests.java | 0 .../xpack/sql/plugin/SqlTestUtils.java | 0 .../xpack/sql/plugin/SqlTranslateRequestTests.java | 0 .../xpack/sql/plugin/SqlTranslateResponseTests.java | 0 .../plugin}/sql/sql-shared-client/build.gradle | 0 .../sql/sql-shared-client/licenses/jackson-LICENSE | 0 .../sql/sql-shared-client/licenses/jackson-NOTICE | 0 .../licenses/jackson-core-2.8.10.jar.sha1 | 0 .../elasticsearch/xpack/sql/client/HttpClient.java | 0 .../xpack/sql/client/shared/Bytes.java | 0 .../xpack/sql/client/shared/CheckedBiFunction.java | 0 .../xpack/sql/client/shared/CheckedConsumer.java | 0 .../xpack/sql/client/shared/CheckedFunction.java | 0 .../xpack/sql/client/shared/ClientException.java | 0 .../sql/client/shared/ConnectionConfiguration.java | 0 .../sql/client/shared/JreHttpUrlConnection.java | 0 .../xpack/sql/client/shared/ObjectUtils.java | 0 .../xpack/sql/client/shared/ProxyConfig.java | 0 .../xpack/sql/client/shared/RemoteFailure.java | 0 .../xpack/sql/client/shared/SslConfig.java | 0 .../xpack/sql/client/shared/StringUtils.java | 0 .../xpack/sql/client/shared/SuppressForbidden.java | 0 .../xpack/sql/client/shared/UriUtils.java | 0 .../xpack/sql/client/shared/Version.java | 0 .../xpack/sql/client/shared/RemoteFailureTests.java | 0 .../xpack/sql/client/shared/StringUtilsTests.java | 0 .../xpack/sql/client/shared/UriUtilsTests.java | 0 .../xpack/sql/client/shared/VersionTests.java | 0 .../src/test/resources/remote_failure/basic.json | 0 .../test/resources/remote_failure/bogus_error.json | 0 .../test/resources/remote_failure/invalid_json.txt | 0 .../test/resources/remote_failure/missing_auth.json | 0 .../src/test/resources/remote_failure/nested.json | 0 .../src/test/resources/remote_failure/no_error.json | 0 .../src/test/resources/remote_failure/no_stack.json | 0 .../src/test/resources/remote_failure/no_type.json | 0 .../src/test/resources/ssl/client.keystore | Bin .../src/test/resources/ssl/readme.txt | 0 .../src/test/resources/ssl/server.keystore | Bin .../plugin}/sql/src/main/antlr/SqlBase.g4 | 0 .../plugin}/sql/src/main/antlr/SqlBase.tokens | 0 .../plugin}/sql/src/main/antlr/SqlBaseLexer.tokens | 0 {plugin => x-pack/plugin}/sql/src/main/bin/sql-cli | 0 .../plugin}/sql/src/main/bin/sql-cli.bat | 0 .../elasticsearch/xpack/sql/ClientSqlException.java | 0 .../elasticsearch/xpack/sql/ServerSqlException.java | 0 .../org/elasticsearch/xpack/sql/SqlException.java | 0 .../xpack/sql/SqlIllegalArgumentException.java | 0 .../xpack/sql/analysis/AnalysisException.java | 0 .../xpack/sql/analysis/analyzer/Analyzer.java | 0 .../xpack/sql/analysis/analyzer/PreAnalyzer.java | 0 .../analysis/analyzer/VerificationException.java | 0 .../xpack/sql/analysis/analyzer/Verifier.java | 0 .../xpack/sql/analysis/index/EsIndex.java | 0 .../xpack/sql/analysis/index/IndexResolution.java | 0 .../xpack/sql/analysis/index/IndexResolver.java | 0 .../xpack/sql/analysis/index/MappingException.java | 0 .../xpack/sql/capabilities/Resolvable.java | 0 .../xpack/sql/capabilities/Resolvables.java | 0 .../xpack/sql/capabilities/Unresolvable.java | 0 .../xpack/sql/capabilities/UnresolvedException.java | 0 .../xpack/sql/execution/PlanExecutor.java | 0 .../xpack/sql/execution/search/AggRef.java | 0 .../search/CompositeAggregationCursor.java | 0 .../sql/execution/search/CompositeAggsRowSet.java | 0 .../xpack/sql/execution/search/FieldExtraction.java | 0 .../xpack/sql/execution/search/Querier.java | 0 .../execution/search/SchemaCompositeAggsRowSet.java | 0 .../sql/execution/search/SchemaSearchHitRowSet.java | 0 .../xpack/sql/execution/search/ScrollCursor.java | 0 .../xpack/sql/execution/search/SearchHitRowSet.java | 0 .../xpack/sql/execution/search/SourceGenerator.java | 0 .../sql/execution/search/SqlSourceBuilder.java | 0 .../execution/search/extractor/BucketExtractor.java | 0 .../search/extractor/BucketExtractors.java | 0 .../search/extractor/CompositeKeyExtractor.java | 0 .../search/extractor/ComputingExtractor.java | 0 .../search/extractor/ConstantExtractor.java | 0 .../search/extractor/FieldHitExtractor.java | 0 .../execution/search/extractor/HitExtractor.java | 0 .../execution/search/extractor/HitExtractors.java | 0 .../search/extractor/MetricAggExtractor.java | 0 .../execution/search/extractor/ScoreExtractor.java | 0 .../elasticsearch/xpack/sql/expression/Alias.java | 0 .../xpack/sql/expression/Attribute.java | 0 .../xpack/sql/expression/AttributeMap.java | 0 .../xpack/sql/expression/AttributeSet.java | 0 .../xpack/sql/expression/BinaryExpression.java | 0 .../xpack/sql/expression/BinaryLogic.java | 0 .../xpack/sql/expression/BinaryOperator.java | 0 .../elasticsearch/xpack/sql/expression/Exists.java | 0 .../xpack/sql/expression/Expression.java | 0 .../xpack/sql/expression/ExpressionId.java | 0 .../xpack/sql/expression/ExpressionSet.java | 0 .../xpack/sql/expression/Expressions.java | 0 .../xpack/sql/expression/FieldAttribute.java | 0 .../xpack/sql/expression/Foldables.java | 0 .../xpack/sql/expression/LeafExpression.java | 0 .../elasticsearch/xpack/sql/expression/Literal.java | 0 .../xpack/sql/expression/LiteralAttribute.java | 0 .../xpack/sql/expression/NamedExpression.java | 0 .../xpack/sql/expression/NullIntolerant.java | 0 .../elasticsearch/xpack/sql/expression/Order.java | 0 .../xpack/sql/expression/ScalarSubquery.java | 0 .../xpack/sql/expression/SubQueryExpression.java | 0 .../xpack/sql/expression/TypedAttribute.java | 0 .../xpack/sql/expression/UnaryExpression.java | 0 .../xpack/sql/expression/UnresolvedAlias.java | 0 .../xpack/sql/expression/UnresolvedAttribute.java | 0 .../sql/expression/UnresolvedNamedExpression.java | 0 .../xpack/sql/expression/UnresolvedStar.java | 0 .../xpack/sql/expression/function/Function.java | 0 .../sql/expression/function/FunctionAttribute.java | 0 .../sql/expression/function/FunctionDefinition.java | 0 .../sql/expression/function/FunctionRegistry.java | 0 .../xpack/sql/expression/function/FunctionType.java | 0 .../xpack/sql/expression/function/Functions.java | 0 .../xpack/sql/expression/function/Score.java | 0 .../sql/expression/function/ScoreAttribute.java | 0 .../sql/expression/function/UnresolvedFunction.java | 0 .../function/aggregate/AggregateFunction.java | 0 .../aggregate/AggregateFunctionAttribute.java | 0 .../sql/expression/function/aggregate/Avg.java | 0 .../aggregate/CompoundNumericAggregate.java | 0 .../sql/expression/function/aggregate/Count.java | 0 .../expression/function/aggregate/EnclosedAgg.java | 0 .../function/aggregate/ExtendedStats.java | 0 .../function/aggregate/ExtendedStatsEnclosed.java | 0 .../function/aggregate/InnerAggregate.java | 0 .../sql/expression/function/aggregate/Kurtosis.java | 0 .../expression/function/aggregate/MatrixStats.java | 0 .../function/aggregate/MatrixStatsEnclosed.java | 0 .../sql/expression/function/aggregate/Max.java | 0 .../sql/expression/function/aggregate/Min.java | 0 .../function/aggregate/NumericAggregate.java | 0 .../expression/function/aggregate/Percentile.java | 0 .../function/aggregate/PercentileRank.java | 0 .../function/aggregate/PercentileRanks.java | 0 .../expression/function/aggregate/Percentiles.java | 0 .../sql/expression/function/aggregate/Skewness.java | 0 .../sql/expression/function/aggregate/Stats.java | 0 .../function/aggregate/StatsEnclosed.java | 0 .../expression/function/aggregate/StddevPop.java | 0 .../sql/expression/function/aggregate/Sum.java | 0 .../expression/function/aggregate/SumOfSquares.java | 0 .../sql/expression/function/aggregate/VarPop.java | 0 .../function/scalar/BinaryScalarFunction.java | 0 .../xpack/sql/expression/function/scalar/Cast.java | 0 .../expression/function/scalar/CastProcessor.java | 0 .../sql/expression/function/scalar/Processors.java | 0 .../expression/function/scalar/ScalarFunction.java | 0 .../function/scalar/ScalarFunctionAttribute.java | 0 .../function/scalar/UnaryScalarFunction.java | 0 .../expression/function/scalar/arithmetic/Add.java | 0 .../scalar/arithmetic/ArithmeticFunction.java | 0 .../function/scalar/arithmetic/Arithmetics.java | 0 .../arithmetic/BinaryArithmeticProcessor.java | 0 .../BinaryArithmeticProcessorDefinition.java | 0 .../expression/function/scalar/arithmetic/Div.java | 0 .../expression/function/scalar/arithmetic/Mod.java | 0 .../expression/function/scalar/arithmetic/Mul.java | 0 .../expression/function/scalar/arithmetic/Neg.java | 0 .../expression/function/scalar/arithmetic/Sub.java | 0 .../scalar/arithmetic/UnaryArithmeticProcessor.java | 0 .../function/scalar/datetime/DateTimeFunction.java | 0 .../scalar/datetime/DateTimeHistogramFunction.java | 0 .../function/scalar/datetime/DateTimeProcessor.java | 0 .../function/scalar/datetime/DayOfMonth.java | 0 .../function/scalar/datetime/DayOfWeek.java | 0 .../function/scalar/datetime/DayOfYear.java | 0 .../function/scalar/datetime/HourOfDay.java | 0 .../function/scalar/datetime/MinuteOfDay.java | 0 .../function/scalar/datetime/MinuteOfHour.java | 0 .../function/scalar/datetime/MonthOfYear.java | 0 .../function/scalar/datetime/SecondOfMinute.java | 0 .../function/scalar/datetime/WeekOfYear.java | 0 .../expression/function/scalar/datetime/Year.java | 0 .../sql/expression/function/scalar/math/ACos.java | 0 .../sql/expression/function/scalar/math/ASin.java | 0 .../sql/expression/function/scalar/math/ATan.java | 0 .../sql/expression/function/scalar/math/ATan2.java | 0 .../sql/expression/function/scalar/math/Abs.java | 0 .../function/scalar/math/BinaryMathProcessor.java | 0 .../scalar/math/BinaryMathProcessorDefinition.java | 0 .../function/scalar/math/BinaryNumericFunction.java | 0 .../scalar/math/BinaryNumericProcessor.java | 0 .../sql/expression/function/scalar/math/Cbrt.java | 0 .../sql/expression/function/scalar/math/Ceil.java | 0 .../sql/expression/function/scalar/math/Cos.java | 0 .../sql/expression/function/scalar/math/Cosh.java | 0 .../sql/expression/function/scalar/math/Cot.java | 0 .../expression/function/scalar/math/Degrees.java | 0 .../sql/expression/function/scalar/math/E.java | 0 .../sql/expression/function/scalar/math/Exp.java | 0 .../sql/expression/function/scalar/math/Expm1.java | 0 .../sql/expression/function/scalar/math/Floor.java | 0 .../sql/expression/function/scalar/math/Log.java | 0 .../sql/expression/function/scalar/math/Log10.java | 0 .../function/scalar/math/MathFunction.java | 0 .../function/scalar/math/MathProcessor.java | 0 .../sql/expression/function/scalar/math/Pi.java | 0 .../sql/expression/function/scalar/math/Power.java | 0 .../expression/function/scalar/math/Radians.java | 0 .../sql/expression/function/scalar/math/Random.java | 0 .../sql/expression/function/scalar/math/Round.java | 0 .../sql/expression/function/scalar/math/Sign.java | 0 .../sql/expression/function/scalar/math/Sin.java | 0 .../sql/expression/function/scalar/math/Sinh.java | 0 .../sql/expression/function/scalar/math/Sqrt.java | 0 .../sql/expression/function/scalar/math/Tan.java | 0 .../processor/definition/AggExtractorInput.java | 0 .../scalar/processor/definition/AggNameInput.java | 0 .../scalar/processor/definition/AggPathInput.java | 0 .../scalar/processor/definition/AttributeInput.java | 0 .../definition/BinaryProcessorDefinition.java | 0 .../definition/CommonNonExecutableInput.java | 0 .../scalar/processor/definition/ConstantInput.java | 0 .../processor/definition/HitExtractorInput.java | 0 .../scalar/processor/definition/LeafInput.java | 0 .../processor/definition/NonExecutableInput.java | 0 .../processor/definition/ProcessorDefinition.java | 0 .../processor/definition/ProcessorDefinitions.java | 0 .../scalar/processor/definition/ReferenceInput.java | 0 .../definition/ScoreProcessorDefinition.java | 0 .../definition/UnaryProcessorDefinition.java | 0 .../scalar/processor/runtime/BinaryProcessor.java | 0 .../processor/runtime/BucketExtractorProcessor.java | 0 .../scalar/processor/runtime/ChainingProcessor.java | 0 .../scalar/processor/runtime/ConstantProcessor.java | 0 .../processor/runtime/HitExtractorProcessor.java | 0 .../scalar/processor/runtime/Processor.java | 0 .../scalar/processor/runtime/UnaryProcessor.java | 0 .../sql/expression/function/scalar/script/Agg.java | 0 .../expression/function/scalar/script/Param.java | 0 .../expression/function/scalar/script/Params.java | 0 .../function/scalar/script/ParamsBuilder.java | 0 .../expression/function/scalar/script/Script.java | 0 .../function/scalar/script/ScriptTemplate.java | 0 .../sql/expression/function/scalar/script/Var.java | 0 .../xpack/sql/expression/predicate/And.java | 0 .../sql/expression/predicate/BinaryComparison.java | 0 .../xpack/sql/expression/predicate/Equals.java | 0 .../xpack/sql/expression/predicate/GreaterThan.java | 0 .../expression/predicate/GreaterThanOrEqual.java | 0 .../xpack/sql/expression/predicate/In.java | 0 .../xpack/sql/expression/predicate/IsNotNull.java | 0 .../xpack/sql/expression/predicate/LessThan.java | 0 .../sql/expression/predicate/LessThanOrEqual.java | 0 .../xpack/sql/expression/predicate/Not.java | 0 .../xpack/sql/expression/predicate/Or.java | 0 .../xpack/sql/expression/predicate/Predicates.java | 0 .../xpack/sql/expression/predicate/Range.java | 0 .../predicate/fulltext/FullTextPredicate.java | 0 .../predicate/fulltext/FullTextUtils.java | 0 .../predicate/fulltext/MatchQueryPredicate.java | 0 .../fulltext/MultiMatchQueryPredicate.java | 0 .../predicate/fulltext/StringQueryPredicate.java | 0 .../xpack/sql/expression/regex/Like.java | 0 .../xpack/sql/expression/regex/LikePattern.java | 0 .../xpack/sql/expression/regex/RLike.java | 0 .../xpack/sql/optimizer/Optimizer.java | 0 .../org/elasticsearch/xpack/sql/package-info.java | 0 .../xpack/sql/parser/AbstractBuilder.java | 0 .../elasticsearch/xpack/sql/parser/AstBuilder.java | 0 .../xpack/sql/parser/CaseInsensitiveStream.java | 0 .../xpack/sql/parser/CommandBuilder.java | 0 .../xpack/sql/parser/ExpressionBuilder.java | 0 .../xpack/sql/parser/IdentifierBuilder.java | 0 .../xpack/sql/parser/LogicalPlanBuilder.java | 0 .../xpack/sql/parser/ParsingException.java | 0 .../xpack/sql/parser/SqlBaseBaseListener.java | 0 .../xpack/sql/parser/SqlBaseBaseVisitor.java | 0 .../xpack/sql/parser/SqlBaseLexer.java | 0 .../xpack/sql/parser/SqlBaseListener.java | 0 .../xpack/sql/parser/SqlBaseParser.java | 0 .../xpack/sql/parser/SqlBaseVisitor.java | 0 .../elasticsearch/xpack/sql/parser/SqlParser.java | 0 .../org/elasticsearch/xpack/sql/plan/QueryPlan.java | 0 .../xpack/sql/plan/TableIdentifier.java | 0 .../xpack/sql/plan/logical/Aggregate.java | 0 .../xpack/sql/plan/logical/BinaryPlan.java | 0 .../xpack/sql/plan/logical/Distinct.java | 0 .../xpack/sql/plan/logical/EsRelation.java | 0 .../xpack/sql/plan/logical/Filter.java | 0 .../elasticsearch/xpack/sql/plan/logical/Join.java | 0 .../xpack/sql/plan/logical/LeafPlan.java | 0 .../elasticsearch/xpack/sql/plan/logical/Limit.java | 0 .../xpack/sql/plan/logical/LocalRelation.java | 0 .../xpack/sql/plan/logical/LogicalPlan.java | 0 .../xpack/sql/plan/logical/OrderBy.java | 0 .../xpack/sql/plan/logical/Project.java | 0 .../xpack/sql/plan/logical/SubQueryAlias.java | 0 .../xpack/sql/plan/logical/UnaryPlan.java | 0 .../xpack/sql/plan/logical/UnresolvedRelation.java | 0 .../elasticsearch/xpack/sql/plan/logical/With.java | 0 .../xpack/sql/plan/logical/command/Command.java | 0 .../xpack/sql/plan/logical/command/Debug.java | 0 .../xpack/sql/plan/logical/command/Explain.java | 0 .../xpack/sql/plan/logical/command/ShowColumns.java | 0 .../sql/plan/logical/command/ShowFunctions.java | 0 .../xpack/sql/plan/logical/command/ShowSchemas.java | 0 .../xpack/sql/plan/logical/command/ShowTables.java | 0 .../sql/plan/logical/command/sys/SysCatalogs.java | 0 .../sql/plan/logical/command/sys/SysColumns.java | 0 .../sql/plan/logical/command/sys/SysTableTypes.java | 0 .../sql/plan/logical/command/sys/SysTables.java | 0 .../sql/plan/logical/command/sys/SysTypes.java | 0 .../xpack/sql/plan/physical/AggregateExec.java | 0 .../xpack/sql/plan/physical/BinaryExec.java | 0 .../xpack/sql/plan/physical/CommandExec.java | 0 .../xpack/sql/plan/physical/EsQueryExec.java | 0 .../xpack/sql/plan/physical/FilterExec.java | 0 .../xpack/sql/plan/physical/LeafExec.java | 0 .../xpack/sql/plan/physical/LimitExec.java | 0 .../xpack/sql/plan/physical/LocalExec.java | 0 .../xpack/sql/plan/physical/OrderExec.java | 0 .../xpack/sql/plan/physical/PhysicalPlan.java | 0 .../xpack/sql/plan/physical/ProjectExec.java | 0 .../xpack/sql/plan/physical/UnaryExec.java | 0 .../xpack/sql/plan/physical/Unexecutable.java | 0 .../xpack/sql/plan/physical/UnplannedExec.java | 0 .../xpack/sql/planner/FoldingException.java | 0 .../org/elasticsearch/xpack/sql/planner/Mapper.java | 0 .../elasticsearch/xpack/sql/planner/Planner.java | 0 .../xpack/sql/planner/PlanningException.java | 0 .../xpack/sql/planner/QueryFolder.java | 0 .../xpack/sql/planner/QueryTranslator.java | 0 .../elasticsearch/xpack/sql/planner/Verifier.java | 0 .../xpack/sql/plugin/CliFormatterCursor.java | 0 .../xpack/sql/plugin/RestSqlClearCursorAction.java | 0 .../xpack/sql/plugin/RestSqlQueryAction.java | 0 .../xpack/sql/plugin/RestSqlTranslateAction.java | 0 .../xpack/sql/plugin/SqlLicenseChecker.java | 0 .../elasticsearch/xpack/sql/plugin/SqlPlugin.java | 0 .../elasticsearch/xpack/sql/plugin/TextFormat.java | 0 .../sql/plugin/TransportSqlClearCursorAction.java | 0 .../xpack/sql/plugin/TransportSqlQueryAction.java | 0 .../sql/plugin/TransportSqlTranslateAction.java | 0 .../elasticsearch/xpack/sql/querydsl/agg/Agg.java | 0 .../xpack/sql/querydsl/agg/AggFilter.java | 0 .../elasticsearch/xpack/sql/querydsl/agg/Aggs.java | 0 .../xpack/sql/querydsl/agg/AndAggFilter.java | 0 .../xpack/sql/querydsl/agg/AvgAgg.java | 0 .../xpack/sql/querydsl/agg/CardinalityAgg.java | 0 .../xpack/sql/querydsl/agg/ExtendedStatsAgg.java | 0 .../xpack/sql/querydsl/agg/GroupByColumnKey.java | 0 .../xpack/sql/querydsl/agg/GroupByDateKey.java | 0 .../xpack/sql/querydsl/agg/GroupByKey.java | 0 .../xpack/sql/querydsl/agg/GroupByScriptKey.java | 0 .../xpack/sql/querydsl/agg/LeafAgg.java | 0 .../xpack/sql/querydsl/agg/MatrixStatsAgg.java | 0 .../xpack/sql/querydsl/agg/MaxAgg.java | 0 .../xpack/sql/querydsl/agg/MinAgg.java | 0 .../xpack/sql/querydsl/agg/MultiFieldAgg.java | 0 .../xpack/sql/querydsl/agg/OrAggFilter.java | 0 .../xpack/sql/querydsl/agg/PercentileRanksAgg.java | 0 .../xpack/sql/querydsl/agg/PercentilesAgg.java | 0 .../xpack/sql/querydsl/agg/PipelineAgg.java | 0 .../xpack/sql/querydsl/agg/StatsAgg.java | 0 .../xpack/sql/querydsl/agg/SumAgg.java | 0 .../xpack/sql/querydsl/container/AttributeSort.java | 0 .../xpack/sql/querydsl/container/ComputedRef.java | 0 .../sql/querydsl/container/FieldReference.java | 0 .../sql/querydsl/container/GlobalCountRef.java | 0 .../xpack/sql/querydsl/container/GroupByRef.java | 0 .../xpack/sql/querydsl/container/MetricAggRef.java | 0 .../sql/querydsl/container/QueryContainer.java | 0 .../xpack/sql/querydsl/container/ScoreSort.java | 0 .../sql/querydsl/container/ScriptFieldRef.java | 0 .../xpack/sql/querydsl/container/ScriptSort.java | 0 .../sql/querydsl/container/SearchHitFieldRef.java | 0 .../xpack/sql/querydsl/container/Sort.java | 0 .../xpack/sql/querydsl/query/BoolQuery.java | 0 .../xpack/sql/querydsl/query/ExistsQuery.java | 0 .../xpack/sql/querydsl/query/LeafQuery.java | 0 .../xpack/sql/querydsl/query/MatchAll.java | 0 .../xpack/sql/querydsl/query/MatchQuery.java | 0 .../xpack/sql/querydsl/query/MultiMatchQuery.java | 0 .../xpack/sql/querydsl/query/NestedQuery.java | 0 .../xpack/sql/querydsl/query/NotQuery.java | 0 .../xpack/sql/querydsl/query/Query.java | 0 .../xpack/sql/querydsl/query/QueryStringQuery.java | 0 .../xpack/sql/querydsl/query/RangeQuery.java | 0 .../xpack/sql/querydsl/query/RegexQuery.java | 0 .../xpack/sql/querydsl/query/ScriptQuery.java | 0 .../xpack/sql/querydsl/query/TermQuery.java | 0 .../xpack/sql/querydsl/query/WildcardQuery.java | 0 .../java/org/elasticsearch/xpack/sql/rule/Rule.java | 0 .../xpack/sql/rule/RuleExecutionException.java | 0 .../elasticsearch/xpack/sql/rule/RuleExecutor.java | 0 .../xpack/sql/session/AbstractRowSet.java | 0 .../xpack/sql/session/Configuration.java | 0 .../org/elasticsearch/xpack/sql/session/Cursor.java | 0 .../elasticsearch/xpack/sql/session/Cursors.java | 0 .../xpack/sql/session/EmptyCursor.java | 0 .../xpack/sql/session/EmptyExecutable.java | 0 .../xpack/sql/session/EmptyRowSetCursor.java | 0 .../elasticsearch/xpack/sql/session/Executable.java | 0 .../xpack/sql/session/ListRowSetCursor.java | 0 .../org/elasticsearch/xpack/sql/session/RowSet.java | 0 .../elasticsearch/xpack/sql/session/RowView.java | 0 .../org/elasticsearch/xpack/sql/session/Rows.java | 0 .../xpack/sql/session/SchemaRowSet.java | 0 .../xpack/sql/session/SingletonExecutable.java | 0 .../xpack/sql/session/SingletonRowSet.java | 0 .../elasticsearch/xpack/sql/session/SqlSession.java | 0 .../org/elasticsearch/xpack/sql/tree/Location.java | 0 .../java/org/elasticsearch/xpack/sql/tree/Node.java | 0 .../org/elasticsearch/xpack/sql/tree/NodeInfo.java | 0 .../org/elasticsearch/xpack/sql/tree/NodeUtils.java | 0 .../xpack/sql/type/DataTypeConversion.java | 0 .../org/elasticsearch/xpack/sql/type/DataTypes.java | 0 .../elasticsearch/xpack/sql/type/DateEsField.java | 0 .../org/elasticsearch/xpack/sql/type/EsField.java | 0 .../xpack/sql/type/KeywordEsField.java | 0 .../org/elasticsearch/xpack/sql/type/Schema.java | 0 .../elasticsearch/xpack/sql/type/TextEsField.java | 0 .../org/elasticsearch/xpack/sql/type/Types.java | 0 .../xpack/sql/type/UnsupportedEsField.java | 0 .../org/elasticsearch/xpack/sql/util/Check.java | 0 .../xpack/sql/util/CollectionUtils.java | 0 .../org/elasticsearch/xpack/sql/util/Graphviz.java | 0 .../xpack/sql/util/ReflectionUtils.java | 0 .../elasticsearch/xpack/sql/util/StringUtils.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../xpack/sql/action/AbstractSqlIntegTestCase.java | 0 .../elasticsearch/xpack/sql/action/SqlActionIT.java | 0 .../xpack/sql/action/SqlClearCursorActionIT.java | 0 .../xpack/sql/action/SqlDisabledIT.java | 0 .../xpack/sql/action/SqlLicenseIT.java | 0 .../xpack/sql/action/SqlTranslateActionIT.java | 0 .../sql/analysis/analyzer/FieldAttributeTests.java | 0 .../sql/analysis/analyzer/PreAnalyzerTests.java | 0 .../analyzer/VerifierErrorMessagesTests.java | 0 .../search/CompositeAggregationCursorTests.java | 0 .../xpack/sql/execution/search/CursorTests.java | 0 .../sql/execution/search/ScrollCursorTests.java | 0 .../sql/execution/search/SourceGeneratorTests.java | 0 .../sql/execution/search/SqlSourceBuilderTests.java | 0 .../extractor/CompositeKeyExtractorTests.java | 0 .../search/extractor/ComputingExtractorTests.java | 0 .../search/extractor/ConstantExtractorTests.java | 0 .../search/extractor/FieldHitExtractorTests.java | 0 .../search/extractor/MetricAggExtractorTests.java | 0 .../search/extractor/ScoreExtractorTests.java | 0 .../sql/execution/search/extractor/TestBucket.java | 0 .../search/extractor/TestMultiValueAggregation.java | 0 .../extractor/TestSingleValueAggregation.java | 0 .../xpack/sql/expression/AttributeMapTests.java | 0 .../xpack/sql/expression/ExpressionIdTests.java | 0 .../xpack/sql/expression/LiteralTests.java | 0 .../xpack/sql/expression/ParameterTests.java | 0 .../xpack/sql/expression/QuotingTests.java | 0 .../sql/expression/UnresolvedAttributeTests.java | 0 .../expression/function/FunctionRegistryTests.java | 0 .../expression/function/NamedExpressionTests.java | 0 .../function/UnresolvedFunctionTests.java | 0 .../function/scalar/CastProcessorTests.java | 0 .../arithmetic/BinaryArithmeticProcessorTests.java | 0 .../scalar/datetime/DateTimeProcessorTests.java | 0 .../function/scalar/datetime/DayOfYearTests.java | 0 .../scalar/math/MathFunctionProcessorTests.java | 0 .../processor/definition/AttributeInputTests.java | 0 .../definition/BinaryProcessorDefinitionTests.java | 0 .../definition/UnaryProcessorDefinitionTests.java | 0 .../processor/runtime/ChainingProcessorTests.java | 0 .../processor/runtime/ConstantProcessorTests.java | 0 .../xpack/sql/optimizer/OptimizerTests.java | 0 .../xpack/sql/parser/IdentifierBuilderTests.java | 0 .../xpack/sql/parser/LikeEscapingParsingTests.java | 0 .../xpack/sql/parser/SqlParserTests.java | 0 .../sql/plan/logical/UnresolvedRelationTests.java | 0 .../plan/logical/command/sys/SysCatalogsTests.java | 0 .../plan/logical/command/sys/SysColumnsTests.java | 0 .../plan/logical/command/sys/SysParserTests.java | 0 .../logical/command/sys/SysTableTypesTests.java | 0 .../plan/logical/command/sys/SysTablesTests.java | 0 .../xpack/sql/planner/QueryTranslatorTests.java | 0 .../sql/planner/VerifierErrorMessagesTests.java | 0 .../xpack/sql/plugin/CliFormatterTests.java | 0 .../xpack/sql/plugin/SqlPluginTests.java | 0 .../xpack/sql/plugin/TextFormatTests.java | 0 .../sql/querydsl/container/QueryContainerTests.java | 0 .../xpack/sql/querydsl/query/BoolQueryTests.java | 0 .../xpack/sql/querydsl/query/LeafQueryTests.java | 0 .../xpack/sql/querydsl/query/MatchQueryTests.java | 0 .../sql/querydsl/query/MultiMatchQueryTests.java | 0 .../xpack/sql/querydsl/query/NestedQueryTests.java | 0 .../sql/querydsl/query/QueryStringQueryTests.java | 0 .../xpack/sql/tree/AbstractNodeTestCase.java | 0 .../elasticsearch/xpack/sql/tree/LocationTests.java | 0 .../xpack/sql/tree/NodeSubclassTests.java | 0 .../org/elasticsearch/xpack/sql/tree/NodeTests.java | 0 .../xpack/sql/type/DataTypeConversionTests.java | 0 .../elasticsearch/xpack/sql/type/TypesTests.java | 0 .../xpack/sql/util/LikeConversionTests.java | 0 .../sql/src/test/resources/mapping-basic.json | 0 .../sql/src/test/resources/mapping-date-multi.json | 0 .../src/test/resources/mapping-date-no-format.json | 0 .../sql/src/test/resources/mapping-date.json | 0 .../src/test/resources/mapping-default-string.json | 0 .../sql/src/test/resources/mapping-docvalues.json | 0 .../src/test/resources/mapping-dotted-field.json | 0 .../plugin}/sql/src/test/resources/mapping-geo.json | 0 .../sql/src/test/resources/mapping-keyword.json | 0 .../test/resources/mapping-multi-field-options.json | 0 .../resources/mapping-multi-field-variation.json | 0 .../resources/mapping-multi-field-with-nested.json | 0 .../sql/src/test/resources/mapping-multi-field.json | 0 .../sql/src/test/resources/mapping-nested.json | 0 .../sql/src/test/resources/mapping-object.json | 0 .../src/test/resources/mapping-parent-child.json | 0 .../sql/src/test/resources/mapping-text.json | 0 .../sql/src/test/resources/mapping-unsupported.json | 0 .../elasticsearch/xpack/test/rest/XPackRestIT.java | 0 .../IndexLifecycleManagerTests-template-v512.json | 0 .../xpack/watcher/actions/email/service/logo.png | Bin .../rest-api-spec/api/xpack.graph.explore.json | 0 .../resources/rest-api-spec/api/xpack.info.json | 0 .../rest-api-spec/api/xpack.license.delete.json | 0 .../rest-api-spec/api/xpack.license.get.json | 0 .../api/xpack.license.get_basic_status.json | 0 .../api/xpack.license.get_trial_status.json | 0 .../rest-api-spec/api/xpack.license.post.json | 0 .../api/xpack.license.post_start_basic.json | 0 .../api/xpack.license.post_start_trial.json | 0 .../api/xpack.migration.deprecations.json | 0 .../api/xpack.migration.get_assistance.json | 0 .../rest-api-spec/api/xpack.migration.upgrade.json | 0 .../rest-api-spec/api/xpack.ml.close_job.json | 0 .../rest-api-spec/api/xpack.ml.delete_calendar.json | 0 .../api/xpack.ml.delete_calendar_event.json | 0 .../api/xpack.ml.delete_calendar_job.json | 0 .../rest-api-spec/api/xpack.ml.delete_datafeed.json | 0 .../api/xpack.ml.delete_expired_data.json | 0 .../rest-api-spec/api/xpack.ml.delete_filter.json | 0 .../rest-api-spec/api/xpack.ml.delete_job.json | 0 .../api/xpack.ml.delete_model_snapshot.json | 0 .../rest-api-spec/api/xpack.ml.flush_job.json | 0 .../rest-api-spec/api/xpack.ml.forecast.json | 0 .../rest-api-spec/api/xpack.ml.get_buckets.json | 0 .../api/xpack.ml.get_calendar_events.json | 0 .../rest-api-spec/api/xpack.ml.get_calendars.json | 0 .../rest-api-spec/api/xpack.ml.get_categories.json | 0 .../api/xpack.ml.get_datafeed_stats.json | 0 .../rest-api-spec/api/xpack.ml.get_datafeeds.json | 0 .../rest-api-spec/api/xpack.ml.get_filters.json | 0 .../rest-api-spec/api/xpack.ml.get_influencers.json | 0 .../rest-api-spec/api/xpack.ml.get_job_stats.json | 0 .../rest-api-spec/api/xpack.ml.get_jobs.json | 0 .../api/xpack.ml.get_model_snapshots.json | 0 .../api/xpack.ml.get_overall_buckets.json | 0 .../rest-api-spec/api/xpack.ml.get_records.json | 0 .../resources/rest-api-spec/api/xpack.ml.info.json | 0 .../rest-api-spec/api/xpack.ml.open_job.json | 0 .../api/xpack.ml.post_calendar_events.json | 0 .../rest-api-spec/api/xpack.ml.post_data.json | 0 .../api/xpack.ml.preview_datafeed.json | 0 .../rest-api-spec/api/xpack.ml.put_calendar.json | 0 .../api/xpack.ml.put_calendar_job.json | 0 .../rest-api-spec/api/xpack.ml.put_datafeed.json | 0 .../rest-api-spec/api/xpack.ml.put_filter.json | 0 .../rest-api-spec/api/xpack.ml.put_job.json | 0 .../api/xpack.ml.revert_model_snapshot.json | 0 .../rest-api-spec/api/xpack.ml.start_datafeed.json | 0 .../rest-api-spec/api/xpack.ml.stop_datafeed.json | 0 .../rest-api-spec/api/xpack.ml.update_datafeed.json | 0 .../rest-api-spec/api/xpack.ml.update_job.json | 0 .../api/xpack.ml.update_model_snapshot.json | 0 .../rest-api-spec/api/xpack.ml.validate.json | 0 .../api/xpack.ml.validate_detector.json | 0 .../rest-api-spec/api/xpack.monitoring.bulk.json | 0 .../rest-api-spec/api/xpack.rollup.delete_job.json | 0 .../rest-api-spec/api/xpack.rollup.get_jobs.json | 0 .../api/xpack.rollup.get_rollup_caps.json | 0 .../rest-api-spec/api/xpack.rollup.put_job.json | 0 .../api/xpack.rollup.rollup_search.json | 0 .../rest-api-spec/api/xpack.rollup.start_job.json | 0 .../rest-api-spec/api/xpack.rollup.stop_job.json | 0 .../api/xpack.security.authenticate.json | 0 .../api/xpack.security.change_password.json | 0 .../api/xpack.security.clear_cached_realms.json | 0 .../api/xpack.security.clear_cached_roles.json | 0 .../api/xpack.security.delete_role.json | 0 .../api/xpack.security.delete_role_mapping.json | 0 .../api/xpack.security.delete_user.json | 0 .../api/xpack.security.disable_user.json | 0 .../api/xpack.security.enable_user.json | 0 .../rest-api-spec/api/xpack.security.get_role.json | 0 .../api/xpack.security.get_role_mapping.json | 0 .../rest-api-spec/api/xpack.security.get_token.json | 0 .../rest-api-spec/api/xpack.security.get_user.json | 0 .../api/xpack.security.invalidate_token.json | 0 .../rest-api-spec/api/xpack.security.put_role.json | 0 .../api/xpack.security.put_role_mapping.json | 0 .../rest-api-spec/api/xpack.security.put_user.json | 0 .../rest-api-spec/api/xpack.sql.clear_cursor.json | 0 .../rest-api-spec/api/xpack.sql.query.json | 0 .../rest-api-spec/api/xpack.sql.translate.json | 0 .../rest-api-spec/api/xpack.ssl.certificates.json | 0 .../resources/rest-api-spec/api/xpack.usage.json | 0 .../rest-api-spec/api/xpack.watcher.ack_watch.json | 0 .../api/xpack.watcher.activate_watch.json | 0 .../api/xpack.watcher.deactivate_watch.json | 0 .../api/xpack.watcher.delete_watch.json | 0 .../api/xpack.watcher.execute_watch.json | 0 .../rest-api-spec/api/xpack.watcher.get_watch.json | 0 .../rest-api-spec/api/xpack.watcher.put_watch.json | 0 .../rest-api-spec/api/xpack.watcher.start.json | 0 .../rest-api-spec/api/xpack.watcher.stats.json | 0 .../rest-api-spec/api/xpack.watcher.stop.json | 0 .../rest-api-spec/test/authenticate/10_basic.yml | 0 .../test/authenticate/10_field_level_security.yml | 0 .../rest-api-spec/test/change_password/10_basic.yml | 0 .../rest-api-spec/test/deprecation/10_basic.yml | 0 .../resources/rest-api-spec/test/graph/10_basic.yml | 0 .../rest-api-spec/test/license/20_put_license.yml | 0 .../rest-api-spec/test/ml/calendar_crud.yml | 0 .../rest-api-spec/test/ml/custom_all_field.yml | 0 .../rest-api-spec/test/ml/datafeeds_crud.yml | 0 .../rest-api-spec/test/ml/delete_job_force.yml | 0 .../rest-api-spec/test/ml/delete_model_snapshot.yml | 0 .../resources/rest-api-spec/test/ml/filter_crud.yml | 0 .../resources/rest-api-spec/test/ml/forecast.yml | 0 .../rest-api-spec/test/ml/get_datafeed_stats.yml | 0 .../rest-api-spec/test/ml/get_datafeeds.yml | 0 .../rest-api-spec/test/ml/get_model_snapshots.yml | 0 .../rest-api-spec/test/ml/index_layout.yml | 0 .../resources/rest-api-spec/test/ml/job_groups.yml | 0 .../resources/rest-api-spec/test/ml/jobs_crud.yml | 0 .../resources/rest-api-spec/test/ml/jobs_get.yml | 0 .../test/ml/jobs_get_result_buckets.yml | 0 .../test/ml/jobs_get_result_categories.yml | 0 .../test/ml/jobs_get_result_influencers.yml | 0 .../test/ml/jobs_get_result_overall_buckets.yml | 0 .../test/ml/jobs_get_result_records.yml | 0 .../rest-api-spec/test/ml/jobs_get_stats.yml | 0 .../test/ml/ml_anomalies_default_mappings.yml | 0 .../rest-api-spec/test/ml/ml_classic_analyze.yml | 0 .../resources/rest-api-spec/test/ml/ml_info.yml | 0 .../resources/rest-api-spec/test/ml/post_data.yml | 0 .../rest-api-spec/test/ml/preview_datafeed.yml | 0 .../rest-api-spec/test/ml/revert_model_snapshot.yml | 0 .../rest-api-spec/test/ml/start_stop_datafeed.yml | 0 .../rest-api-spec/test/ml/update_model_snapshot.yml | 0 .../resources/rest-api-spec/test/ml/validate.yml | 0 .../rest-api-spec/test/ml/validate_detector.yml | 0 .../rest-api-spec/test/monitoring/bulk/10_basic.yml | 0 .../test/monitoring/bulk/20_privileges.yml | 0 .../rest-api-spec/test/role_mapping/10_basic.yml | 0 .../test/role_mapping/20_get_missing.yml | 0 .../rest-api-spec/test/role_mapping/30_delete.yml | 0 .../resources/rest-api-spec/test/roles/10_basic.yml | 0 .../rest-api-spec/test/roles/11_idx_arrays.yml | 0 .../rest-api-spec/test/roles/20_get_missing.yml | 0 .../test/roles/30_prohibited_role_query.yml | 0 .../rest-api-spec/test/rollup/delete_job.yml | 0 .../rest-api-spec/test/rollup/get_jobs.yml | 0 .../rest-api-spec/test/rollup/get_rollup_caps.yml | 0 .../resources/rest-api-spec/test/rollup/put_job.yml | 0 .../rest-api-spec/test/rollup/rollup_search.yml | 0 .../rest-api-spec/test/rollup/start_job.yml | 0 .../rest-api-spec/test/rollup/stop_job.yml | 0 .../test/security/authz/10_index_doc.yml | 0 .../test/security/authz/11_delete_doc.yml | 0 .../test/security/authz/12_index_alias.yml | 0 .../test/security/authz/13_index_datemath.yml | 0 .../test/security/authz/20_get_doc.yml | 0 .../test/security/authz/21_search_doc.yml | 0 .../test/security/hidden-index/10_security_read.yml | 0 .../security/hidden-index/11_security-6_read.yml | 0 .../set_security_user/10_small_users_one_index.yml | 0 .../test/resources/rest-api-spec/test/sql/sql.yml | 0 .../resources/rest-api-spec/test/sql/translate.yml | 0 .../resources/rest-api-spec/test/ssl/10_basic.yml | 0 .../resources/rest-api-spec/test/token/10_basic.yml | 0 .../rest-api-spec/test/upgrade/10_basic.yml | 0 .../resources/rest-api-spec/test/users/10_basic.yml | 0 .../rest-api-spec/test/users/15_overwrite_user.yml | 0 .../rest-api-spec/test/users/16_update_user.yml | 0 .../rest-api-spec/test/users/20_get_missing.yml | 0 .../rest-api-spec/test/users/30_enable_disable.yml | 0 .../rest-api-spec/test/users/31_create_disabled.yml | 0 .../test/watcher/ack_watch/10_basic.yml | 0 .../watcher/ack_watch/20_ack_individual_action.yml | 0 .../30_reset_ack_after_unmet_condition.yml | 0 .../40_reset_ack_after_unmet_action_condition.yml | 0 .../test/watcher/activate_watch/10_basic.yml | 0 .../test/watcher/delete_watch/10_basic.yml | 0 .../test/watcher/execute_watch/10_basic.yml | 0 .../test/watcher/execute_watch/20_transform.yml | 0 .../test/watcher/execute_watch/30_throttled.yml | 0 .../watcher/execute_watch/40_ignore_condition.yml | 0 .../test/watcher/execute_watch/50_action_mode.yml | 0 .../test/watcher/execute_watch/60_http_input.yml | 0 .../test/watcher/execute_watch/70_invalid.yml | 0 .../test/watcher/get_watch/10_basic.yml | 0 .../test/watcher/get_watch/20_missing.yml | 0 .../test/watcher/put_watch/10_basic.yml | 0 .../put_watch/20_put_watch_with_throttle_period.yml | 0 .../30_put_watch_with_action_throttle_period.yml | 0 .../watcher/put_watch/40_put_watch_as_inactive.yml | 0 .../put_watch/50_email_attachment_validation.yml | 0 .../60_put_watch_with_action_condition.yml | 0 .../70_put_watch_with_index_action_using_id.yml | 0 .../put_watch/80_put_get_watch_with_passwords.yml | 0 .../test/watcher/start_watcher/10_basic.yml | 0 .../rest-api-spec/test/watcher/stats/10_basic.yml | 0 .../test/watcher/stop_watcher/10_basic.yml | 0 .../rest-api-spec/test/watcher/usage/10_basic.yml | 0 .../resources/rest-api-spec/test/xpack/10_basic.yml | 0 .../resources/rest-api-spec/test/xpack/15_basic.yml | 0 .../wrong-version-logstash-index-template.json | 0 .../wrong-version-security-index-template.json | 0 {plugin => x-pack/plugin}/upgrade/build.gradle | 0 .../xpack/upgrade/IndexUpgradeCheck.java | 0 .../xpack/upgrade/IndexUpgradeCheckFactory.java | 0 .../xpack/upgrade/IndexUpgradeService.java | 0 .../xpack/upgrade/InternalIndexReindexer.java | 0 .../org/elasticsearch/xpack/upgrade/Upgrade.java | 0 .../actions/TransportIndexUpgradeAction.java | 0 .../actions/TransportIndexUpgradeInfoAction.java | 0 .../xpack/upgrade/rest/RestIndexUpgradeAction.java | 0 .../upgrade/rest/RestIndexUpgradeInfoAction.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../elasticsearch/xpack/upgrade/IndexUpgradeIT.java | 0 .../xpack/upgrade/IndexUpgradeIntegTestCase.java | 0 .../xpack/upgrade/IndexUpgradeServiceTests.java | 0 .../xpack/upgrade/IndexUpgradeTasksIT.java | 0 .../xpack/upgrade/InternalIndexReindexerIT.java | 0 .../actions/IndexUpgradeActionRequestTests.java | 0 .../actions/IndexUpgradeInfoActionRequestTests.java | 0 .../IndexUpgradeInfoActionResponseTests.java | 0 {plugin => x-pack/plugin}/watcher/build.gradle | 0 .../watcher/licenses/activation-1.1.1.jar.sha1 | 0 .../plugin}/watcher/licenses/activation-LICENSE.txt | 0 .../plugin}/watcher/licenses/activation-NOTICE.txt | 0 .../plugin}/watcher/licenses/guava-16.0.1.jar.sha1 | 0 .../plugin}/watcher/licenses/guava-LICENSE.txt | 0 .../plugin}/watcher/licenses/guava-NOTICE.txt | 0 .../watcher/licenses/javax.mail-1.5.6.jar.sha1 | 0 .../plugin}/watcher/licenses/javax.mail-LICENSE.txt | 0 .../plugin}/watcher/licenses/javax.mail-NOTICE.txt | 0 .../licenses/owasp-java-html-sanitizer-LICENSE.txt | 0 .../licenses/owasp-java-html-sanitizer-NOTICE.txt | 0 .../owasp-java-html-sanitizer-r239.jar.sha1 | 0 .../plugin}/watcher/src/main/bin/croneval | 0 .../plugin}/watcher/src/main/bin/croneval.bat | 0 .../plugin}/watcher/src/main/bin/x-pack-watcher-env | 0 .../watcher/src/main/bin/x-pack-watcher-env.bat | 0 .../watcher/EncryptSensitiveDataBootstrapCheck.java | 0 .../org/elasticsearch/xpack/watcher/Watcher.java | 0 .../xpack/watcher/WatcherClientHelper.java | 0 .../xpack/watcher/WatcherFeatureSet.java | 0 .../xpack/watcher/WatcherIndexingListener.java | 0 .../xpack/watcher/WatcherLifeCycleService.java | 0 .../elasticsearch/xpack/watcher/WatcherService.java | 0 .../xpack/watcher/actions/ActionBuilders.java | 0 .../xpack/watcher/actions/email/EmailAction.java | 0 .../watcher/actions/email/EmailActionFactory.java | 0 .../actions/email/ExecutableEmailAction.java | 0 .../actions/hipchat/ExecutableHipChatAction.java | 0 .../watcher/actions/hipchat/HipChatAction.java | 0 .../actions/hipchat/HipChatActionFactory.java | 0 .../actions/index/ExecutableIndexAction.java | 0 .../xpack/watcher/actions/index/IndexAction.java | 0 .../watcher/actions/index/IndexActionFactory.java | 0 .../watcher/actions/jira/ExecutableJiraAction.java | 0 .../xpack/watcher/actions/jira/JiraAction.java | 0 .../watcher/actions/jira/JiraActionFactory.java | 0 .../actions/logging/ExecutableLoggingAction.java | 0 .../watcher/actions/logging/LoggingAction.java | 0 .../actions/logging/LoggingActionFactory.java | 0 .../xpack/watcher/actions/logging/LoggingLevel.java | 0 .../pagerduty/ExecutablePagerDutyAction.java | 0 .../watcher/actions/pagerduty/PagerDutyAction.java | 0 .../actions/pagerduty/PagerDutyActionFactory.java | 0 .../actions/slack/ExecutableSlackAction.java | 0 .../xpack/watcher/actions/slack/SlackAction.java | 0 .../watcher/actions/slack/SlackActionFactory.java | 0 .../actions/webhook/ExecutableWebhookAction.java | 0 .../watcher/actions/webhook/WebhookAction.java | 0 .../actions/webhook/WebhookActionFactory.java | 0 .../xpack/watcher/client/WatchSourceBuilders.java | 0 .../xpack/watcher/common/http/HttpClient.java | 0 .../xpack/watcher/common/http/HttpContentType.java | 0 .../xpack/watcher/common/http/HttpMethod.java | 0 .../xpack/watcher/common/http/HttpProxy.java | 0 .../xpack/watcher/common/http/HttpRequest.java | 0 .../watcher/common/http/HttpRequestTemplate.java | 0 .../xpack/watcher/common/http/HttpResponse.java | 0 .../xpack/watcher/common/http/HttpSettings.java | 0 .../xpack/watcher/common/http/Scheme.java | 0 .../watcher/common/http/SizeLimitInputStream.java | 0 .../common/http/auth/ApplicableHttpAuth.java | 0 .../xpack/watcher/common/http/auth/HttpAuth.java | 0 .../watcher/common/http/auth/HttpAuthFactory.java | 0 .../watcher/common/http/auth/HttpAuthRegistry.java | 0 .../common/http/auth/basic/ApplicableBasicAuth.java | 0 .../watcher/common/http/auth/basic/BasicAuth.java | 0 .../common/http/auth/basic/BasicAuthFactory.java | 0 .../xpack/watcher/common/text/TextTemplate.java | 0 .../watcher/common/text/TextTemplateEngine.java | 0 .../watcher/condition/AbstractCompareCondition.java | 0 .../watcher/condition/ArrayCompareCondition.java | 0 .../xpack/watcher/condition/CompareCondition.java | 0 .../watcher/condition/InternalAlwaysCondition.java | 0 .../xpack/watcher/condition/LenientCompare.java | 0 .../xpack/watcher/condition/NeverCondition.java | 0 .../xpack/watcher/condition/ScriptCondition.java | 0 .../execution/AsyncTriggerEventConsumer.java | 0 .../xpack/watcher/execution/CurrentExecutions.java | 0 .../xpack/watcher/execution/ExecutionService.java | 0 .../watcher/execution/InternalWatchExecutor.java | 0 .../watcher/execution/ManualExecutionContext.java | 0 .../watcher/execution/SyncTriggerEventConsumer.java | 0 .../execution/TriggeredExecutionContext.java | 0 .../xpack/watcher/execution/TriggeredWatch.java | 0 .../watcher/execution/TriggeredWatchStore.java | 0 .../xpack/watcher/execution/WatchExecutor.java | 0 .../xpack/watcher/history/HistoryStore.java | 0 .../xpack/watcher/input/InputBuilders.java | 0 .../xpack/watcher/input/InputFactory.java | 0 .../xpack/watcher/input/InputRegistry.java | 0 .../xpack/watcher/input/chain/ChainInput.java | 0 .../watcher/input/chain/ChainInputFactory.java | 0 .../watcher/input/chain/ExecutableChainInput.java | 0 .../watcher/input/http/ExecutableHttpInput.java | 0 .../xpack/watcher/input/http/HttpInput.java | 0 .../xpack/watcher/input/http/HttpInputFactory.java | 0 .../watcher/input/none/ExecutableNoneInput.java | 0 .../xpack/watcher/input/none/NoneInputFactory.java | 0 .../watcher/input/search/ExecutableSearchInput.java | 0 .../xpack/watcher/input/search/SearchInput.java | 0 .../watcher/input/search/SearchInputFactory.java | 0 .../watcher/input/simple/ExecutableSimpleInput.java | 0 .../xpack/watcher/input/simple/SimpleInput.java | 0 .../watcher/input/simple/SimpleInputFactory.java | 0 .../input/transform/ExecutableTransformInput.java | 0 .../watcher/input/transform/TransformInput.java | 0 .../input/transform/TransformInputFactory.java | 0 .../watcher/notification/NotificationService.java | 0 .../xpack/watcher/notification/email/Account.java | 0 .../watcher/notification/email/Attachment.java | 0 .../watcher/notification/email/Authentication.java | 0 .../watcher/notification/email/DataAttachment.java | 0 .../xpack/watcher/notification/email/Email.java | 0 .../watcher/notification/email/EmailService.java | 0 .../watcher/notification/email/EmailTemplate.java | 0 .../watcher/notification/email/HtmlSanitizer.java | 0 .../xpack/watcher/notification/email/Profile.java | 0 .../email/attachment/DataAttachment.java | 0 .../email/attachment/DataAttachmentParser.java | 0 .../email/attachment/EmailAttachmentParser.java | 0 .../email/attachment/EmailAttachments.java | 0 .../email/attachment/EmailAttachmentsParser.java | 0 .../attachment/HttpEmailAttachementParser.java | 0 .../email/attachment/HttpRequestAttachment.java | 0 .../email/attachment/ReportingAttachment.java | 0 .../email/attachment/ReportingAttachmentParser.java | 0 .../notification/email/support/BodyPartSource.java | 0 .../notification/hipchat/HipChatAccount.java | 0 .../notification/hipchat/HipChatMessage.java | 0 .../watcher/notification/hipchat/HipChatServer.java | 0 .../notification/hipchat/HipChatService.java | 0 .../notification/hipchat/IntegrationAccount.java | 0 .../watcher/notification/hipchat/SentMessages.java | 0 .../watcher/notification/hipchat/UserAccount.java | 0 .../watcher/notification/hipchat/V1Account.java | 0 .../watcher/notification/jira/JiraAccount.java | 0 .../xpack/watcher/notification/jira/JiraIssue.java | 0 .../watcher/notification/jira/JiraService.java | 0 .../notification/pagerduty/IncidentEvent.java | 0 .../pagerduty/IncidentEventContext.java | 0 .../pagerduty/IncidentEventDefaults.java | 0 .../notification/pagerduty/PagerDutyAccount.java | 0 .../notification/pagerduty/PagerDutyService.java | 0 .../watcher/notification/pagerduty/SentEvent.java | 0 .../watcher/notification/slack/SentMessages.java | 0 .../watcher/notification/slack/SlackAccount.java | 0 .../watcher/notification/slack/SlackService.java | 0 .../watcher/notification/slack/message/Action.java | 0 .../notification/slack/message/Attachment.java | 0 .../slack/message/DynamicAttachments.java | 0 .../watcher/notification/slack/message/Field.java | 0 .../notification/slack/message/MessageElement.java | 0 .../notification/slack/message/SlackMessage.java | 0 .../slack/message/SlackMessageDefaults.java | 0 .../xpack/watcher/rest/WatcherRestHandler.java | 0 .../watcher/rest/action/RestAckWatchAction.java | 0 .../rest/action/RestActivateWatchAction.java | 0 .../watcher/rest/action/RestDeleteWatchAction.java | 0 .../watcher/rest/action/RestExecuteWatchAction.java | 0 .../watcher/rest/action/RestGetWatchAction.java | 0 .../watcher/rest/action/RestPutWatchAction.java | 0 .../watcher/rest/action/RestWatchServiceAction.java | 0 .../watcher/rest/action/RestWatcherStatsAction.java | 0 .../xpack/watcher/support/ArrayObjectIterator.java | 0 .../xpack/watcher/support/Strings.java | 0 .../xpack/watcher/support/Variables.java | 0 .../support/WatcherIndexTemplateRegistry.java | 0 .../watcher/support/XContentFilterKeysUtils.java | 0 .../search/WatcherSearchTemplateRequest.java | 0 .../search/WatcherSearchTemplateService.java | 0 .../xpack/watcher/transform/TransformBuilders.java | 0 .../transform/script/ExecutableScriptTransform.java | 0 .../watcher/transform/script/ScriptTransform.java | 0 .../transform/script/ScriptTransformFactory.java | 0 .../transform/search/ExecutableSearchTransform.java | 0 .../watcher/transform/search/SearchTransform.java | 0 .../transform/search/SearchTransformFactory.java | 0 .../transport/actions/WatcherTransportAction.java | 0 .../actions/ack/TransportAckWatchAction.java | 0 .../activate/TransportActivateWatchAction.java | 0 .../actions/delete/TransportDeleteWatchAction.java | 0 .../execute/TransportExecuteWatchAction.java | 0 .../actions/get/TransportGetWatchAction.java | 0 .../actions/put/TransportPutWatchAction.java | 0 .../service/TransportWatcherServiceAction.java | 0 .../actions/stats/TransportWatcherStatsAction.java | 0 .../xpack/watcher/trigger/TriggerBuilders.java | 0 .../xpack/watcher/trigger/TriggerEngine.java | 0 .../xpack/watcher/trigger/TriggerService.java | 0 .../xpack/watcher/trigger/TriggerWatchStats.java | 0 .../xpack/watcher/trigger/manual/ManualTrigger.java | 0 .../watcher/trigger/manual/ManualTriggerEngine.java | 0 .../watcher/trigger/manual/ManualTriggerEvent.java | 0 .../watcher/trigger/schedule/CronSchedule.java | 0 .../watcher/trigger/schedule/CronnableSchedule.java | 0 .../watcher/trigger/schedule/DailySchedule.java | 0 .../watcher/trigger/schedule/HourlySchedule.java | 0 .../watcher/trigger/schedule/IntervalSchedule.java | 0 .../watcher/trigger/schedule/MonthlySchedule.java | 0 .../xpack/watcher/trigger/schedule/Schedule.java | 0 .../watcher/trigger/schedule/ScheduleRegistry.java | 0 .../watcher/trigger/schedule/ScheduleTrigger.java | 0 .../trigger/schedule/ScheduleTriggerEngine.java | 0 .../trigger/schedule/ScheduleTriggerEvent.java | 0 .../xpack/watcher/trigger/schedule/Schedules.java | 0 .../watcher/trigger/schedule/WeeklySchedule.java | 0 .../watcher/trigger/schedule/YearlySchedule.java | 0 .../engine/TickerScheduleTriggerEngine.java | 0 .../watcher/trigger/schedule/support/DayOfWeek.java | 0 .../watcher/trigger/schedule/support/DayTimes.java | 0 .../watcher/trigger/schedule/support/Month.java | 0 .../trigger/schedule/support/MonthTimes.java | 0 .../watcher/trigger/schedule/support/Times.java | 0 .../watcher/trigger/schedule/support/WeekTimes.java | 0 .../watcher/trigger/schedule/support/YearTimes.java | 0 .../watcher/trigger/schedule/tool/CronEvalTool.java | 0 .../xpack/watcher/watch/WatchParser.java | 0 .../xpack/watcher/watch/WatchStoreUtils.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 .../notification/NotificationServiceTests.java | 0 .../EncryptSensitiveDataBootstrapCheckTests.java | 0 .../xpack/watcher/WatcherClientHelperTests.java | 0 .../xpack/watcher/WatcherFeatureSetTests.java | 0 .../xpack/watcher/WatcherIndexingListenerTests.java | 0 .../xpack/watcher/WatcherLifeCycleServiceTests.java | 0 .../watcher/WatcherMetaDataSerializationTests.java | 0 .../xpack/watcher/WatcherPluginTests.java | 0 .../xpack/watcher/WatcherServiceTests.java | 0 .../xpack/watcher/WatcherXpackUsageStatsTests.java | 0 .../actions/ActionErrorIntegrationTests.java | 0 .../xpack/watcher/actions/ActionWrapperTests.java | 0 .../actions/TimeThrottleIntegrationTests.java | 0 .../watcher/actions/email/EmailActionTests.java | 0 .../watcher/actions/email/EmailAttachmentTests.java | 0 .../actions/hipchat/HipChatActionFactoryTests.java | 0 .../watcher/actions/hipchat/HipChatActionTests.java | 0 .../watcher/actions/index/IndexActionTests.java | 0 .../actions/jira/ExecutableJiraActionTests.java | 0 .../actions/jira/JiraActionFactoryTests.java | 0 .../xpack/watcher/actions/jira/JiraActionTests.java | 0 .../watcher/actions/logging/LoggingActionTests.java | 0 .../pagerduty/PagerDutyActionFactoryTests.java | 0 .../actions/pagerduty/PagerDutyActionTests.java | 0 .../actions/slack/ExecutableSlackActionTests.java | 0 .../actions/slack/SlackActionFactoryTests.java | 0 .../watcher/actions/slack/SlackActionTests.java | 0 .../actions/throttler/AckThrottlerTests.java | 0 .../actions/throttler/ActionThrottleTests.java | 0 .../actions/throttler/PeriodThrottlerTests.java | 0 .../watcher/actions/webhook/WebhookActionTests.java | 0 .../webhook/WebhookHttpsIntegrationTests.java | 0 .../actions/webhook/WebhookIntegrationTests.java | 0 .../xpack/watcher/common/http/HttpClientTests.java | 0 .../common/http/HttpConnectionTimeoutTests.java | 0 .../xpack/watcher/common/http/HttpProxyTests.java | 0 .../watcher/common/http/HttpReadTimeoutTests.java | 0 .../common/http/HttpRequestTemplateTests.java | 0 .../xpack/watcher/common/http/HttpRequestTests.java | 0 .../watcher/common/http/HttpResponseTests.java | 0 .../common/http/SizeLimitInputStreamTests.java | 0 .../watcher/common/text/TextTemplateTests.java | 0 .../watcher/condition/AlwaysConditionTests.java | 0 .../condition/ArrayCompareConditionSearchTests.java | 0 .../condition/ArrayCompareConditionTests.java | 0 .../condition/CompareConditionSearchTests.java | 0 .../watcher/condition/CompareConditionTests.java | 0 .../watcher/condition/NeverConditionTests.java | 0 .../watcher/condition/ScriptConditionTests.java | 0 .../watcher/execution/ExecutionServiceTests.java | 0 .../watcher/execution/TriggeredWatchStoreTests.java | 0 .../history/HistoryActionConditionTests.java | 0 .../xpack/watcher/history/HistoryStoreTests.java | 0 .../history/HistoryTemplateEmailMappingsTests.java | 0 .../history/HistoryTemplateHttpMappingsTests.java | 0 .../HistoryTemplateIndexActionMappingsTests.java | 0 .../HistoryTemplateSearchInputMappingsTests.java | 0 .../history/HistoryTemplateTimeMappingsTests.java | 0 .../HistoryTemplateTransformMappingsTests.java | 0 .../xpack/watcher/input/InputRegistryTests.java | 0 .../xpack/watcher/input/chain/ChainInputTests.java | 0 .../watcher/input/chain/ChainIntegrationTests.java | 0 .../input/chain/ExecutableChainInputTests.java | 0 .../xpack/watcher/input/http/HttpInputTests.java | 0 .../watcher/input/simple/SimpleInputTests.java | 0 .../input/transform/TransformInputTests.java | 0 .../watcher/notification/email/AccountTests.java | 0 .../watcher/notification/email/AccountsTests.java | 0 .../notification/email/DataAttachmentTests.java | 0 .../email/EmailSecretsIntegrationTests.java | 0 .../notification/email/EmailServiceTests.java | 0 .../notification/email/EmailTemplateTests.java | 0 .../watcher/notification/email/EmailTests.java | 0 .../notification/email/HtmlSanitizerTests.java | 0 .../watcher/notification/email/ProfileTests.java | 0 .../email/attachment/DataAttachmentParserTests.java | 0 .../attachment/EmailAttachmentParsersTests.java | 0 .../attachment/HttpEmailAttachementParserTests.java | 0 .../attachment/ReportingAttachmentParserTests.java | 0 .../notification/email/support/EmailServer.java | 0 .../notification/hipchat/HipChatAccountsTests.java | 0 .../notification/hipchat/HipChatMessageTests.java | 0 .../notification/hipchat/HipChatServiceTests.java | 0 .../hipchat/IntegrationAccountTests.java | 0 .../notification/hipchat/UserAccountTests.java | 0 .../notification/hipchat/V1AccountTests.java | 0 .../watcher/notification/jira/JiraAccountTests.java | 0 .../watcher/notification/jira/JiraIssueTests.java | 0 .../pagerduty/IncidentEventDefaultsTests.java | 0 .../pagerduty/PagerDutyAccountsTests.java | 0 .../notification/pagerduty/SentEventTests.java | 0 .../slack/message/SlackMessageDefaultsTests.java | 0 .../slack/message/SlackMessageTests.java | 0 .../rest/action/RestExecuteWatchActionTests.java | 0 .../xpack/watcher/support/FilterXContentTests.java | 0 .../xpack/watcher/support/VariablesTests.java | 0 .../watcher/support/WatcherDateTimeUtilsTests.java | 0 .../support/WatcherIndexTemplateRegistryTests.java | 0 .../xpack/watcher/support/WatcherUtilsTests.java | 0 .../search/WatcherSearchTemplateRequestTests.java | 0 .../watcher/support/xcontent/MapPathTests.java | 0 .../support/xcontent/XContentSourceTests.java | 0 .../test/AbstractWatcherIntegrationTestCase.java | 0 .../xpack/watcher/test/LocalStateWatcher.java | 0 .../xpack/watcher/test/MockTextTemplateEngine.java | 0 .../xpack/watcher/test/TimeWarpedWatcher.java | 0 .../test/WatchExecutionContextMockBuilder.java | 0 .../xpack/watcher/test/WatcherTestUtils.java | 0 .../test/bench/ScheduleEngineTriggerBenchmark.java | 0 .../test/bench/WatcherExecutorServiceBenchmark.java | 0 .../test/bench/WatcherScheduleEngineBenchmark.java | 0 .../watcher/test/integration/BasicWatcherTests.java | 0 .../watcher/test/integration/BootStrapTests.java | 0 .../integration/ExecutionVarsIntegrationTests.java | 0 .../test/integration/HistoryIntegrationTests.java | 0 .../integration/HttpSecretsIntegrationTests.java | 0 .../watcher/test/integration/SearchInputTests.java | 0 .../test/integration/SearchTransformTests.java | 0 .../watcher/test/integration/WatchAckTests.java | 0 .../test/integration/WatchMetadataTests.java | 0 .../transform/TransformIntegrationTests.java | 0 .../transform/chain/ChainTransformTests.java | 0 .../transform/script/ScriptTransformTests.java | 0 .../action/WatchRequestValidationTests.java | 0 .../action/activate/ActivateWatchTests.java | 0 .../transport/action/delete/DeleteWatchTests.java | 0 .../action/execute/ExecuteWatchRequestTests.java | 0 .../transport/action/execute/ExecuteWatchTests.java | 0 .../watcher/transport/action/get/GetWatchTests.java | 0 .../action/put/PutWatchSerializationTests.java | 0 .../actions/ack/TransportAckWatchActionTests.java | 0 .../actions/put/TransportPutWatchActionTests.java | 0 .../stats/TransportWatcherStatsActionTests.java | 0 .../watcher/trigger/ScheduleTriggerEngineMock.java | 0 .../xpack/watcher/trigger/TriggerServiceTests.java | 0 .../watcher/trigger/schedule/CronScheduleTests.java | 0 .../trigger/schedule/DailyScheduleTests.java | 0 .../trigger/schedule/HourlyScheduleTests.java | 0 .../trigger/schedule/IntervalScheduleTests.java | 0 .../trigger/schedule/MonthlyScheduleTests.java | 0 .../trigger/schedule/ScheduleRegistryTests.java | 0 .../watcher/trigger/schedule/ScheduleTestCase.java | 0 .../trigger/schedule/ScheduleTriggerEventTests.java | 0 .../trigger/schedule/WeeklyScheduleTests.java | 0 .../trigger/schedule/YearlyScheduleTests.java | 0 .../schedule/engine/TickerScheduleEngineTests.java | 0 .../trigger/schedule/tool/CronEvalToolTests.java | 0 .../watcher/watch/WatchStatusIntegrationTests.java | 0 .../xpack/watcher/watch/WatchStatusTests.java | 0 .../xpack/watcher/watch/WatchTests.java | 0 .../xpack/watcher/watch/clock/ClockTests.java | 0 .../xpack/security/keystore/testnode.jks | Bin .../security/keystore/truststore-testnode-only.jks | Bin .../ssl/certs/simple/testnode-no-subjaltname.jks | Bin {qa => x-pack/qa}/audit-tests/build.gradle | 0 .../xpack/security/audit/IndexAuditIT.java | 0 {qa => x-pack/qa}/build.gradle | 0 .../qa}/core-rest-tests-with-security/build.gradle | 0 .../CoreWithSecurityClientYamlTestSuiteIT.java | 0 .../rest-api-spec/test/rankeval/10_rankeval.yml | 0 {qa => x-pack/qa}/full-cluster-restart/build.gradle | 0 .../xpack/restart/CoreFullClusterRestartIT.java | 0 .../xpack/restart/FullClusterRestartIT.java | 0 .../xpack/restart/funny-timeout-watch.json | 0 .../elasticsearch/xpack/restart/simple-watch.json | 0 .../xpack/restart/throttle-period-watch.json | 0 .../src/test/resources/system_key | 0 .../with-system-key/build.gradle | 0 .../without-system-key/build.gradle | 0 {qa => x-pack/qa}/ml-basic-multi-node/build.gradle | 0 .../xpack/ml/integration/MlBasicMultiNodeIT.java | 0 {qa => x-pack/qa}/ml-disabled/build.gradle | 0 .../xpack/ml/integration/MlPluginDisabledIT.java | 0 {qa => x-pack/qa}/ml-native-tests/build.gradle | 0 .../ml/integration/AutodetectMemoryLimitIT.java | 0 .../ml/integration/BasicRenormalizationIT.java | 0 .../xpack/ml/integration/CategorizationIT.java | 0 .../xpack/ml/integration/DatafeedJobsIT.java | 0 .../xpack/ml/integration/DatafeedJobsRestIT.java | 0 .../xpack/ml/integration/DeleteExpiredDataIT.java | 0 .../xpack/ml/integration/DetectionRulesIT.java | 0 .../xpack/ml/integration/ForecastIT.java | 0 .../InterimResultsDeletedAfterReopeningJobIT.java | 0 .../elasticsearch/xpack/ml/integration/MlJobIT.java | 0 .../MlNativeAutodetectIntegTestCase.java | 0 .../xpack/ml/integration/OverallBucketsIT.java | 0 .../xpack/ml/integration/PersistJobIT.java | 0 .../ml/integration/RestoreModelSnapshotIT.java | 0 .../xpack/ml/integration/RevertModelSnapshotIT.java | 0 .../xpack/ml/integration/ScheduledEventsIT.java | 0 .../ml/integration/UpdateInterimResultsIT.java | 0 .../qa}/ml-no-bootstrap-tests/build.gradle | 0 .../ml/utils/NamedPipeHelperNoBootstrapTests.java | 0 {qa => x-pack/qa}/ml-single-node-tests/build.gradle | 0 .../xpack/ml/transforms/PainlessDomainSplitIT.java | 0 .../qa}/multi-cluster-search-security/build.gradle | 0 ...ltiClusterSearchWithSecurityYamlTestSuiteIT.java | 0 .../rest-api-spec/test/multi_cluster/10_basic.yml | 0 .../rest-api-spec/test/multi_cluster/20_info.yml | 0 .../test/multi_cluster/30_field_caps.yml | 0 .../rest-api-spec/test/multi_cluster/40_scroll.yml | 0 .../rest-api-spec/test/multi_cluster/50_missing.yml | 0 .../test/multi_cluster/60_skip_shards.yml | 0 .../rest-api-spec/test/remote_cluster/10_basic.yml | 0 {qa => x-pack/qa}/multi-node/build.gradle | 0 {qa => x-pack/qa}/multi-node/roles.yml | 0 .../multi_node/GlobalCheckpointSyncActionIT.java | 0 {qa => x-pack/qa}/openldap-tests/build.gradle | 0 .../java/org/elasticsearch/test/OpenLdapTests.java | 0 .../ldap/OpenLdapUserSearchSessionFactoryTests.java | 0 .../authc/ldap/SearchGroupsResolverTests.java | 0 .../qa}/reindex-tests-with-security/build.gradle | 0 .../qa}/reindex-tests-with-security/roles.yml | 0 .../ReindexWithSecurityClientYamlTestSuiteIT.java | 0 .../xpack/security/ReindexWithSecurityIT.java | 0 .../resources/rest-api-spec/test/10_reindex.yml | 0 .../rest-api-spec/test/15_reindex_from_remote.yml | 0 .../rest-api-spec/test/20_update_by_query.yml | 0 .../rest-api-spec/test/30_delete_by_query.yml | 0 .../qa}/rolling-upgrade-basic/build.gradle | 0 .../upgrades/AbstractUpgradeTestCase.java | 0 .../upgrades/BasicLicenseUpgradeIT.java | 0 {qa => x-pack/qa}/rolling-upgrade/build.gradle | 0 .../upgrades/AbstractUpgradeTestCase.java | 0 .../elasticsearch/upgrades/IndexAuditUpgradeIT.java | 0 .../upgrades/TokenBackwardsCompatibilityIT.java | 0 .../UpgradeClusterClientYamlTestSuiteIT.java | 0 .../rest-api-spec/test/mixed_cluster/10_basic.yml | 0 .../test/mixed_cluster/20_security.yml | 0 .../test/mixed_cluster/30_ml_jobs_crud.yml | 0 .../test/mixed_cluster/40_ml_datafeed_crud.yml | 0 .../test/mixed_cluster/50_token_auth.yml | 0 .../test/mixed_cluster/60_monitoring.yml | 0 .../rest-api-spec/test/old_cluster/10_basic.yml | 0 .../rest-api-spec/test/old_cluster/20_security.yml | 0 .../test/old_cluster/30_ml_jobs_crud.yml | 0 .../test/old_cluster/40_ml_datafeed_crud.yml | 0 .../test/old_cluster/50_token_auth.yml | 0 .../test/old_cluster/60_monitoring.yml | 0 .../test/upgraded_cluster/10_basic.yml | 0 .../test/upgraded_cluster/20_security.yml | 0 .../test/upgraded_cluster/30_ml_jobs_crud.yml | 0 .../test/upgraded_cluster/40_ml_datafeed_crud.yml | 0 .../test/upgraded_cluster/50_token_auth.yml | 0 .../test/upgraded_cluster/60_monitoring.yml | 0 .../rolling-upgrade/src/test/resources/system_key | 0 .../rolling-upgrade/with-system-key/build.gradle | 0 .../rolling-upgrade/without-system-key/build.gradle | 0 {qa => x-pack/qa}/saml-idp-tests/build.gradle | 0 .../security/authc/saml/SamlAuthenticationIT.java | 0 .../qa}/security-client-tests/build.gradle | 0 .../security/qa/SecurityTransportClientIT.java | 0 .../qa}/security-example-spi-extension/build.gradle | 0 .../example/ExampleSecurityExtension.java | 0 .../elasticsearch/example/SpiExtensionPlugin.java | 0 .../realm/CustomAuthenticationFailureHandler.java | 0 .../elasticsearch/example/realm/CustomRealm.java | 0 .../example/role/CustomInMemoryRolesProvider.java | 0 .../src/main/plugin-metadata/plugin-security.policy | 0 ...sticsearch.xpack.core.security.SecurityExtension | 0 .../elasticsearch/example/realm/CustomRealmIT.java | 0 .../example/realm/CustomRealmTests.java | 0 .../example/role/CustomRolesProviderIT.java | 0 .../qa}/security-migrate-tests/build.gradle | 0 {qa => x-pack/qa}/security-migrate-tests/roles.yml | 0 .../elasticsearch/xpack/security/MigrateToolIT.java | 0 .../xpack/security/MigrateToolTestCase.java | 0 .../qa}/security-setup-password-tests/build.gradle | 0 .../authc/esnative/tool/SetupPasswordToolIT.java | 0 {qa => x-pack/qa}/security-tools-tests/build.gradle | 0 .../core/ssl/CertificateGenerateToolTests.java | 0 .../xpack/core/ssl/CertificateToolTests.java | 0 .../security/authc/file/tool/UsersToolTests.java | 0 .../security/crypto/tool/SystemKeyToolTests.java | 0 .../support/FileAttributesCheckerTests.java | 0 .../xpack/security/support/SecurityFilesTests.java | 0 .../qa}/smoke-test-graph-with-security/build.gradle | 0 .../qa}/smoke-test-graph-with-security/roles.yml | 0 .../smoketest/GraphWithSecurityIT.java | 0 .../GraphWithSecurityInsufficientRoleIT.java | 0 .../qa}/smoke-test-ml-with-security/build.gradle | 0 .../qa}/smoke-test-ml-with-security/roles.yml | 0 .../elasticsearch/smoketest/MlWithSecurityIT.java | 0 .../smoketest/MlWithSecurityInsufficientRoleIT.java | 0 .../smoketest/MlWithSecurityUserRoleIT.java | 0 .../smoke-test-monitoring-with-watcher/build.gradle | 0 .../smoketest/MonitoringWithWatcherRestIT.java | 0 .../smoketest/PreventFailingBuildIT.java | 0 .../qa}/smoke-test-plugins-ssl/build.gradle | 0 .../SmokeTestMonitoringWithSecurityIT.java | 0 .../SmokeTestPluginsSslClientYamlTestSuiteIT.java | 0 .../test/smoke_test_plugins_ssl/10_basic.yml | 0 .../smoke_test_plugins_ssl/20_settings_filter.yml | 0 {qa => x-pack/qa}/smoke-test-plugins/build.gradle | 0 .../XSmokeTestPluginsClientYamlTestSuiteIT.java | 0 .../test/smoke_test_plugins/10_basic.yml | 0 .../smoke-test-security-with-mustache/build.gradle | 0 ...stSecurityWithMustacheClientYamlTestSuiteIT.java | 0 .../rest-api-spec/test/10_templated_role_query.yml | 0 .../test/11_templated_role_query_runas.yml | 0 .../rest-api-spec/test/20_small_users_one_index.yml | 0 .../rest-api-spec/test/30_search_template.yml | 0 .../src/test/resources/templates/query.mustache | 0 .../smoke-test-watcher-with-mustache/build.gradle | 0 .../smoketest/WatcherTemplateTests.java | 0 .../smoketest/WatcherWithMustacheIT.java | 0 .../rest-api-spec/test/actions/10_webhook.yml | 0 .../test/watcher_mustache/20_array_access.yml | 0 .../test/watcher_mustache/25_array_compare.yml | 0 .../test/watcher_mustache/30_search_input.yml | 0 .../test/watcher_mustache/40_search_transform.yml | 0 .../watcher_mustache/50_webhook_url_escaping.yml | 0 .../smoke-test-watcher-with-painless/build.gradle | 0 .../smoketest/WatcherWithPainlessIT.java | 0 .../test/watcher_painless/10_basic.yml | 0 .../test/watcher_painless/20_minimal_body.yml | 0 .../test/watcher_painless/30_inline_watch.yml | 0 .../test/watcher_painless/40_exception.yml | 0 .../test/watcher_painless/50_update_scripts.yml | 0 .../60_chain_input_with_transform.yml | 0 .../smoke-test-watcher-with-security/build.gradle | 0 .../qa}/smoke-test-watcher-with-security/roles.yml | 0 ...estWatcherWithSecurityClientYamlTestSuiteIT.java | 0 .../smoketest/SmokeTestWatcherWithSecurityIT.java | 0 .../watcher_and_security/10_insufficient_privs.yml | 0 .../watcher_and_security/20_settings_filter.yml | 0 .../20_test_run_as_execute_watch.yml | 0 {qa => x-pack/qa}/smoke-test-watcher/build.gradle | 0 .../smoketest/SmokeTestWatcherTestSuiteIT.java | 0 {qa => x-pack/qa}/sql/build.gradle | 0 {qa => x-pack/qa}/sql/multinode/build.gradle | 0 .../xpack/qa/sql/multinode/CliSelectIT.java | 0 .../xpack/qa/sql/multinode/CliShowIT.java | 0 .../qa/sql/multinode/JdbcDatabaseMetaDataIT.java | 0 .../xpack/qa/sql/multinode/JdbcErrorsIT.java | 0 .../qa/sql/multinode/JdbcPreparedStatementIT.java | 0 .../xpack/qa/sql/multinode/JdbcShowTablesIT.java | 0 .../xpack/qa/sql/multinode/RestSqlIT.java | 0 .../xpack/qa/sql/multinode/RestSqlMultinodeIT.java | 0 {qa => x-pack/qa}/sql/no-security/build.gradle | 0 .../xpack/qa/sql/nosecurity/CliErrorsIT.java | 0 .../xpack/qa/sql/nosecurity/CliExplainIT.java | 0 .../xpack/qa/sql/nosecurity/CliFetchSizeIT.java | 0 .../xpack/qa/sql/nosecurity/CliSelectIT.java | 0 .../xpack/qa/sql/nosecurity/CliShowIT.java | 0 .../xpack/qa/sql/nosecurity/JdbcConnectionIT.java | 0 .../xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java | 0 .../qa/sql/nosecurity/JdbcDatabaseMetaDataIT.java | 0 .../xpack/qa/sql/nosecurity/JdbcErrorsIT.java | 0 .../xpack/qa/sql/nosecurity/JdbcFetchSizeIT.java | 0 .../qa/sql/nosecurity/JdbcPreparedStatementIT.java | 0 .../xpack/qa/sql/nosecurity/JdbcShowTablesIT.java | 0 .../qa/sql/nosecurity/JdbcSimpleExampleIT.java | 0 .../xpack/qa/sql/nosecurity/JdbcSqlSpecIT.java | 0 .../xpack/qa/sql/nosecurity/RestSqlIT.java | 0 {qa => x-pack/qa}/sql/security/build.gradle | 0 {qa => x-pack/qa}/sql/security/no-ssl/build.gradle | 0 {qa => x-pack/qa}/sql/security/roles.yml | 0 .../xpack/qa/sql/security/CliErrorsIT.java | 0 .../xpack/qa/sql/security/CliFetchSizeIT.java | 0 .../xpack/qa/sql/security/CliSecurityIT.java | 0 .../xpack/qa/sql/security/CliSelectIT.java | 0 .../xpack/qa/sql/security/CliShowIT.java | 0 .../xpack/qa/sql/security/JdbcConnectionIT.java | 0 .../xpack/qa/sql/security/JdbcCsvSpecIT.java | 0 .../qa/sql/security/JdbcDatabaseMetaDataIT.java | 0 .../xpack/qa/sql/security/JdbcErrorsIT.java | 0 .../xpack/qa/sql/security/JdbcFetchSizeIT.java | 0 .../qa/sql/security/JdbcPreparedStatementIT.java | 0 .../xpack/qa/sql/security/JdbcSecurityIT.java | 0 .../xpack/qa/sql/security/JdbcShowTablesIT.java | 0 .../xpack/qa/sql/security/JdbcSimpleExampleIT.java | 0 .../xpack/qa/sql/security/JdbcSqlSpecIT.java | 0 .../xpack/qa/sql/security/RestSqlIT.java | 0 .../xpack/qa/sql/security/RestSqlSecurityIT.java | 0 .../xpack/qa/sql/security/SqlSecurityTestCase.java | 0 .../src/test/resources/plugin-security.policy | 0 {qa => x-pack/qa}/sql/security/ssl/build.gradle | 0 .../elasticsearch/xpack/qa/sql/ErrorsTestCase.java | 0 .../xpack/qa/sql/cli/CliIntegrationTestCase.java | 0 .../elasticsearch/xpack/qa/sql/cli/EmbeddedCli.java | 0 .../xpack/qa/sql/cli/ErrorsTestCase.java | 0 .../xpack/qa/sql/cli/FetchSizeTestCase.java | 0 .../xpack/qa/sql/cli/SelectTestCase.java | 0 .../xpack/qa/sql/cli/ShowTestCase.java | 0 .../xpack/qa/sql/cli/package-info.java | 0 .../xpack/qa/sql/jdbc/ConnectionTestCase.java | 0 .../xpack/qa/sql/jdbc/CsvSpecTestCase.java | 0 .../xpack/qa/sql/jdbc/CsvTestUtils.java | 0 .../elasticsearch/xpack/qa/sql/jdbc/DataLoader.java | 0 .../xpack/qa/sql/jdbc/DatabaseMetaDataTestCase.java | 0 .../xpack/qa/sql/jdbc/DebugCsvSpec.java | 0 .../xpack/qa/sql/jdbc/DebugSqlSpec.java | 0 .../xpack/qa/sql/jdbc/ErrorsTestCase.java | 0 .../xpack/qa/sql/jdbc/FetchSizeTestCase.java | 0 .../elasticsearch/xpack/qa/sql/jdbc/JdbcAssert.java | 0 .../xpack/qa/sql/jdbc/JdbcIntegrationTestCase.java | 0 .../xpack/qa/sql/jdbc/JdbcTestUtils.java | 0 .../elasticsearch/xpack/qa/sql/jdbc/LocalH2.java | 0 .../qa/sql/jdbc/PreparedStatementTestCase.java | 0 .../xpack/qa/sql/jdbc/ShowTablesTestCase.java | 0 .../xpack/qa/sql/jdbc/SimpleExampleTestCase.java | 0 .../qa/sql/jdbc/SpecBaseIntegrationTestCase.java | 0 .../xpack/qa/sql/jdbc/SqlSpecTestCase.java | 0 .../xpack/qa/sql/jdbc/package-info.java | 0 .../xpack/qa/sql/rest/RestSqlTestCase.java | 0 .../xpack/qa/sql/rest/package-info.java | 0 .../qa}/sql/src/main/resources/agg.csv-spec | 0 .../qa}/sql/src/main/resources/agg.sql-spec | 0 .../qa}/sql/src/main/resources/alias.csv-spec | 0 .../qa}/sql/src/main/resources/arithmetic.csv-spec | 0 .../qa}/sql/src/main/resources/arithmetic.sql-spec | 0 .../qa}/sql/src/main/resources/columns.csv-spec | 0 .../qa}/sql/src/main/resources/command-sys.csv-spec | 0 .../qa}/sql/src/main/resources/command.csv-spec | 0 .../qa}/sql/src/main/resources/datetime.csv-spec | 0 .../qa}/sql/src/main/resources/datetime.sql-spec | 0 .../qa}/sql/src/main/resources/debug.csv-spec | 0 .../qa}/sql/src/main/resources/debug.sql-spec | 0 .../qa}/sql/src/main/resources/dep_emp.csv | 0 .../qa}/sql/src/main/resources/departments.csv | 0 .../qa}/sql/src/main/resources/employees.csv | 0 .../qa}/sql/src/main/resources/example.csv-spec | 0 .../qa}/sql/src/main/resources/example.sql-spec | 0 .../qa}/sql/src/main/resources/filter.sql-spec | 0 .../qa}/sql/src/main/resources/fulltext.csv-spec | 0 .../qa}/sql/src/main/resources/math.sql-spec | 0 .../qa}/sql/src/main/resources/nested.csv-spec | 0 .../qa}/sql/src/main/resources/nulls.csv-spec | 0 .../sql/src/main/resources/plugin-security.policy | 0 .../qa}/sql/src/main/resources/select.sql-spec | 0 .../resources/setup_mock_metadata_get_columns.sql | 0 .../setup_mock_metadata_get_procedure_columns.sql | 0 .../setup_mock_metadata_get_procedures.sql | 0 .../setup_mock_metadata_get_table_types.sql | 0 .../resources/setup_mock_metadata_get_tables.sql | 0 .../src/main/resources/setup_mock_show_tables.sql | 0 .../qa}/sql/src/main/resources/setup_test_emp.sql | 0 .../qa}/third-party/active-directory/build.gradle | 0 .../ldap/ADLdapUserSearchSessionFactoryTests.java | 0 .../authc/ldap/AbstractActiveDirectoryTestCase.java | 0 .../authc/ldap/AbstractAdLdapRealmTestCase.java | 0 .../ldap/ActiveDirectoryGroupsResolverTests.java | 0 .../security/authc/ldap/ActiveDirectoryRunAsIT.java | 0 .../ldap/ActiveDirectorySessionFactoryTests.java | 0 .../xpack/security/authc/ldap/GroupMappingIT.java | 0 .../security/authc/ldap/MultiGroupMappingIT.java | 0 .../security/authc/ldap/MultipleAdRealmIT.java | 0 .../ldap/UserAttributeGroupsResolverTests.java | 0 {qa => x-pack/qa}/third-party/build.gradle | 0 {qa => x-pack/qa}/third-party/hipchat/build.gradle | 0 .../smoketest/WatcherHipchatYamlTestSuiteIT.java | 0 .../rest-api-spec/test/hipchat/10_hipchat.yml | 0 {qa => x-pack/qa}/third-party/jira/build.gradle | 0 .../smoketest/WatcherJiraYamlTestSuiteIT.java | 0 .../resources/rest-api-spec/test/jira/10_jira.yml | 0 .../qa}/third-party/pagerduty/build.gradle | 0 .../smoketest/WatcherPagerDutyYamlTestSuiteIT.java | 0 .../rest-api-spec/test/pagerduty/10_pagerduty.yml | 0 {qa => x-pack/qa}/third-party/slack/build.gradle | 0 .../smoketest/WatcherSlackYamlTestSuiteIT.java | 0 .../resources/rest-api-spec/test/slack/10_slack.yml | 0 .../qa}/transport-client-tests/build.gradle | 0 .../xpack/ml/client/ESXPackSmokeClientTestCase.java | 0 .../xpack/ml/client/MLTransportClientIT.java | 0 {qa => x-pack/qa}/vagrant/build.gradle | 0 .../test/resources/packaging/tests/10_basic.bats | 0 .../packaging/tests/20_tar_bootstrap_password.bats | 0 .../tests/25_package_bootstrap_password.bats | 0 .../packaging/tests/30_tar_setup_passwords.bats | 0 .../packaging/tests/35_package_setup_passwords.bats | 0 .../resources/packaging/tests/40_tar_certgen.bats | 0 .../packaging/tests/45_package_certgen.bats | 0 .../packaging/tests/bootstrap_password.bash | 0 .../src/test/resources/packaging/tests/certgen.bash | 0 .../resources/packaging/tests/setup_passwords.bash | 0 .../src/test/resources/packaging/utils/xpack.bash | 0 settings.gradle => x-pack/settings.gradle | 0 {test => x-pack/test}/build.gradle | 0 {test => x-pack/test}/idp-fixture/.gitignore | 0 {test => x-pack/test}/idp-fixture/README.txt | 0 {test => x-pack/test}/idp-fixture/Vagrantfile | 0 {test => x-pack/test}/idp-fixture/build.gradle | 0 .../idp-fixture/src/main/resources/certs/README.txt | 0 .../idp-fixture/src/main/resources/certs/ca.crt | 0 .../idp-fixture/src/main/resources/certs/ca.key | 0 .../src/main/resources/certs/idptrust.jks | Bin .../src/main/resources/provision/playbook.yml | 0 .../src/main/resources/provision/roles/certs/README | 0 .../provision/roles/certs/files/ca_server.conf | 0 .../resources/provision/roles/certs/tasks/main.yml | 0 .../roles/certs/templates/cert_server.conf.j2 | 0 .../roles/certs/templates/keystore_server.conf.j2 | 0 .../resources/provision/roles/certs/vars/main.yml | 0 .../provision/roles/java-8-openjdk/tasks/main.yml | 0 .../provision/roles/openldap/handlers/main.yml | 0 .../provision/roles/openldap/tasks/configure.yml | 0 .../provision/roles/openldap/tasks/install.yml | 0 .../provision/roles/openldap/tasks/main.yml | 0 .../provision/roles/openldap/tasks/populate.yml | 0 .../roles/openldap/tasks/provision_deps.yml | 0 .../provision/roles/openldap/templates/ldap.conf.j2 | 0 .../provision/roles/openldap/templates/slapd.j2 | 0 .../roles/openldap/templates/tls_add.ldif.j2 | 0 .../roles/openldap/templates/tls_replace.ldif.j2 | 0 .../provision/roles/openldap/vars/main.yml | 0 .../roles/shibboleth/files/attribute-filter.xml | 0 .../roles/shibboleth/files/attribute-resolver.xml | 0 .../roles/shibboleth/files/relying-party.xml | 0 .../provision/roles/shibboleth/handlers/main.yml | 0 .../provision/roles/shibboleth/tasks/main.yml | 0 .../roles/shibboleth/templates/idp.properties.j2 | 0 .../roles/shibboleth/templates/idp.silent.params.j2 | 0 .../provision/roles/shibboleth/templates/idp.xml.j2 | 0 .../roles/shibboleth/templates/ldap.properties.j2 | 0 .../provision/roles/tomcat-8/handlers/main.yml | 0 .../provision/roles/tomcat-8/tasks/main.yml | 0 .../roles/tomcat-8/templates/server.xml.j2 | 0 .../src/main/resources/provision/vars/default.yml | 0 {test => x-pack/test}/smb-fixture/Vagrantfile | 0 {test => x-pack/test}/smb-fixture/build.gradle | 0 .../smb-fixture/src/main/resources/certs/ca.key | 0 .../smb-fixture/src/main/resources/certs/ca.pem | 0 .../smb-fixture/src/main/resources/certs/cert.pem | 0 .../smb-fixture/src/main/resources/certs/key.pem | 0 .../src/main/resources/provision/installsmb.sh | 0 .../transport-client}/build.gradle | 0 .../xpack/client/PreBuiltXPackTransportClient.java | 0 .../client/PreBuiltXPackTransportClientTests.java | 0 3887 files changed, 0 insertions(+), 0 deletions(-) rename {.ci => x-pack/.ci}/java-versions.properties (100%) rename {.ci => x-pack/.ci}/matrix-build-javas.yml (100%) rename {.ci => x-pack/.ci}/matrix-java-exclusions.yml (100%) rename {.ci => x-pack/.ci}/matrix-runtime-javas.yml (100%) rename .dir-locals.el => x-pack/.dir-locals.el (100%) rename {.github => x-pack/.github}/ISSUE_TEMPLATE.md (100%) rename .gitignore => x-pack/.gitignore (100%) rename .projectile => x-pack/.projectile (100%) rename LICENSE.txt => x-pack/LICENSE.txt (100%) rename NOTICE.txt => x-pack/NOTICE.txt (100%) rename README.asciidoc => x-pack/README.asciidoc (100%) rename build.gradle => x-pack/build.gradle (100%) rename {buildSrc => x-pack/buildSrc}/settings.gradle (100%) rename {dev-tools => x-pack/dev-tools}/checkstyle_suppressions.xml (100%) rename {dev-tools => x-pack/dev-tools}/ci (100%) rename {dev-tools => x-pack/dev-tools}/github_relabel.pl (100%) rename {dev-tools => x-pack/dev-tools}/smoke_test_xpack_rc.py (100%) rename {dev-tools => x-pack/dev-tools}/xes_release_notes.pl (100%) rename {dev-tools => x-pack/dev-tools}/xescpp_release_notes.pl (100%) rename {docs => x-pack/docs}/build.gradle (100%) rename {docs => x-pack/docs}/en/commands/certgen.asciidoc (100%) rename {docs => x-pack/docs}/en/commands/certutil.asciidoc (100%) rename {docs => x-pack/docs}/en/commands/index.asciidoc (100%) rename {docs => x-pack/docs}/en/commands/migrate-tool.asciidoc (100%) rename {docs => x-pack/docs}/en/commands/saml-metadata.asciidoc (100%) rename {docs => x-pack/docs}/en/commands/setup-passwords.asciidoc (100%) rename {docs => x-pack/docs}/en/commands/syskeygen.asciidoc (100%) rename {docs => x-pack/docs}/en/commands/users-command.asciidoc (100%) rename {docs => x-pack/docs}/en/index.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/aggregations.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/analyzing.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/api-quickref.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/architecture.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/buckets.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/calendars.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/categories.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/configuring.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/customurl.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/datafeeds.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/forecasting.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions/count.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions/geo.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions/info.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions/metric.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions/rare.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions/sum.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/functions/time.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/getting-started-data.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/getting-started-forecast.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/getting-started-multi.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/getting-started-next.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/getting-started-single.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/getting-started-wizards.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/getting-started.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/images/ml-category-advanced.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-category-anomalies.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-categoryterms.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-create-job.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-create-jobs.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-customurl.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-data-dates.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-data-keywords.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-data-metrics.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-data-topmetrics.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-data-visualizer.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-edit-job.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-aggregations.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-duration.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-forecast-actual.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-forecast-open.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-forecast-results.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-forecast.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job-analysis.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job-forecast.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-analysis.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-anomalies.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-datafeed.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-explorer-anomaly.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-explorer.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-manage1.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-results.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1-time.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job1.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job2-explorer-anomaly.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job2-explorer-host.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job2-explorer-table.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job2-explorer.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-job2-split.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-multi-job.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-gs-single-job.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-population-anomaly.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-population-job.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-population-results.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-scriptfields.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-start-feed.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml-stop-feed.jpg (100%) rename {docs => x-pack/docs}/en/ml/images/ml.jpg (100%) rename {docs => x-pack/docs}/en/ml/index.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/jobs.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/limitations.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/overview.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/populations.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/stopping-ml.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/transforms.asciidoc (100%) rename {docs => x-pack/docs}/en/ml/troubleshooting.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/collectors.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/configuring-monitoring.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/exporters.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/http-export.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/index.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/indices.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/local-export.asciidoc (100%) rename {docs => x-pack/docs}/en/monitoring/pause-export.asciidoc (100%) rename {docs => x-pack/docs}/en/node.asciidoc (100%) rename {docs => x-pack/docs}/en/release-notes/7.0.0-alpha1.asciidoc (100%) rename {docs => x-pack/docs}/en/release-notes/xpack-breaking.asciidoc (100%) rename {docs => x-pack/docs}/en/release-notes/xpack-xes.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/defs.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/graph/explore.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/index.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/info.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/license/delete-license.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/license/get-basic-status.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/license/get-license.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/license/get-trial-status.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/license/start-basic.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/license/start-trial.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/license/update-license.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/licensing.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/migration.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/migration/assistance.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/migration/deprecation.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/migration/upgrade.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml-api.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/calendarresource.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/close-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/datafeedresource.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/delete-calendar-event.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/delete-calendar-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/delete-calendar.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/delete-datafeed.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/delete-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/delete-snapshot.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/eventresource.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/flush-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/forecast.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-bucket.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-calendar-event.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-calendar.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-category.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-datafeed-stats.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-datafeed.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-influencer.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-job-stats.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-overall-buckets.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-record.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/get-snapshot.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/jobcounts.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/jobresource.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/open-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/post-calendar-event.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/post-data.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/preview-datafeed.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/put-calendar-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/put-calendar.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/put-datafeed.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/put-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/resultsresource.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/revert-snapshot.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/snapshotresource.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/start-datafeed.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/stop-datafeed.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/update-datafeed.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/update-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/update-snapshot.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/validate-detector.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/ml/validate-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup-api.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/delete-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/get-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/put-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/rollup-caps.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/rollup-job-config.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/rollup-search.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/start-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/rollup/stop-job.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/authenticate.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/change-password.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/clear-cache.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/privileges.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/role-mapping.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/roles.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/ssl.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/tokens.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/security/users.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/ack-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/activate-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/deactivate-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/delete-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/execute-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/get-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/put-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/start.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/stats.asciidoc (100%) rename {docs => x-pack/docs}/en/rest-api/watcher/stop.asciidoc (100%) rename {docs => x-pack/docs}/en/rollup/api-quickref.asciidoc (100%) rename {docs => x-pack/docs}/en/rollup/index.asciidoc (100%) rename {docs => x-pack/docs}/en/rollup/overview.asciidoc (100%) rename {docs => x-pack/docs}/en/rollup/rollup-getting-started.asciidoc (100%) rename {docs => x-pack/docs}/en/rollup/rollup-search-limitations.asciidoc (100%) rename {docs => x-pack/docs}/en/rollup/understanding-groups.asciidoc (100%) rename {docs => x-pack/docs}/en/security/auditing.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/active-directory-realm.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/anonymous-access.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/custom-realm.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/file-realm.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/ldap-realm.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/native-realm.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/pki-realm.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/saml-guide.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/saml-realm.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authentication/user-cache.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authorization.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authorization/alias-privileges.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authorization/custom-roles-provider.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authorization/field-and-document-access-control.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authorization/mapping-roles.asciidoc (100%) rename {docs => x-pack/docs}/en/security/authorization/run-as-privilege.asciidoc (100%) rename {docs => x-pack/docs}/en/security/ccs-clients-integrations.asciidoc (100%) rename {docs => x-pack/docs}/en/security/ccs-clients-integrations/beats.asciidoc (100%) rename {docs => x-pack/docs}/en/security/ccs-clients-integrations/cross-cluster.asciidoc (100%) rename {docs => x-pack/docs}/en/security/ccs-clients-integrations/hadoop.asciidoc (100%) rename {docs => x-pack/docs}/en/security/ccs-clients-integrations/http.asciidoc (100%) rename {docs => x-pack/docs}/en/security/ccs-clients-integrations/java.asciidoc (100%) rename {docs => x-pack/docs}/en/security/ccs-clients-integrations/monitoring.asciidoc (100%) rename {docs => x-pack/docs}/en/security/configuring-es.asciidoc (100%) rename {docs => x-pack/docs}/en/security/getting-started.asciidoc (100%) rename {docs => x-pack/docs}/en/security/gs-index.asciidoc (100%) rename {docs => x-pack/docs}/en/security/how-security-works.asciidoc (100%) rename {docs => x-pack/docs}/en/security/images/kibana-login.jpg (100%) rename {docs => x-pack/docs}/en/security/images/nexus.png (100%) rename {docs => x-pack/docs}/en/security/index.asciidoc (100%) rename {docs => x-pack/docs}/en/security/limitations.asciidoc (100%) rename {docs => x-pack/docs}/en/security/reference.asciidoc (100%) rename {docs => x-pack/docs}/en/security/reference/files.asciidoc (100%) rename {docs => x-pack/docs}/en/security/reference/privileges.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/configuring-tls-docker.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/enabling-cipher-suites.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/node-certificates.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/securing-elasticsearch.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/separating-node-client-traffic.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/setting-up-ssl.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/tls-http.asciidoc (100%) rename {docs => x-pack/docs}/en/security/securing-communications/tls-transport.asciidoc (100%) rename {docs => x-pack/docs}/en/security/troubleshooting.asciidoc (100%) rename {docs => x-pack/docs}/en/security/using-ip-filtering.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/audit-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/configuring-xes.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/images/monitoring-es-cgroup-true.png (100%) rename {docs => x-pack/docs}/en/settings/license-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/ml-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/monitoring-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/notification-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/security-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/sql-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/settings/ssl-settings.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/bootstrap-checks-xes.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/docker.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/images/ElasticsearchFlow.jpg (100%) rename {docs => x-pack/docs}/en/setup/next-steps.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/setup-xclient.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/setup-xes.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/xpack-indices.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/xpack-passwords.asciidoc (100%) rename {docs => x-pack/docs}/en/setup/xpack-tls.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/endpoints/cli.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/endpoints/index.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/endpoints/jdbc.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/endpoints/rest.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/endpoints/translate.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/functions/index.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/getting-started.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/index.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/language/data-types.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/language/index.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/language/reserved.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/language/syntax.asciidoc (100%) rename {docs => x-pack/docs}/en/sql/standalone.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/email.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/hipchat.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/index.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/jira.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/logging.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/pagerduty.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/slack.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/actions/webhook.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/condition.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/condition/always.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/condition/array-compare.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/condition/compare.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/condition/never.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/condition/script.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/customizing-watches.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/encrypting-data.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/example-watches.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/example-watches/example-watch-clusterstatus.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/example-watches/example-watch-meetupdata.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/example-watches/watching-time-series-data.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/getting-started.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/gs-index.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/how-watcher-works.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/images/action-throttling.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/hipchat-copy-room-token.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/hipchat-copy-user-token.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/hipchat-copy-v1-token.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/hipchat-generate-room-token.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/hipchat-generate-user-token.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/hipchat-generate-v1-token.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/hipchat-integration-example.png (100%) rename {docs => x-pack/docs}/en/watcher/images/pagerduty-integrations.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/pagerduty-services.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/slack-add-webhook-integration.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/slack-copy-webhook-url.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/watch-execution.jpg (100%) rename {docs => x-pack/docs}/en/watcher/images/watcher-kibana-dashboard.png (100%) rename {docs => x-pack/docs}/en/watcher/images/watcher-ui-edit-watch.png (100%) rename {docs => x-pack/docs}/en/watcher/images/watcher.graffle (100%) rename {docs => x-pack/docs}/en/watcher/index.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/input.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/input/chain.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/input/http.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/input/search.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/input/simple.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/ack-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/activate-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/deactivate-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/delete-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/execute-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/get-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/put-watch.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/service.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/java/stats.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/limitations.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/managing-watches.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/release-notes.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/transform.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/transform/chain.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/transform/script.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/transform/search.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule/cron.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule/daily.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule/hourly.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule/interval.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule/monthly.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule/weekly.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/trigger/schedule/yearly.asciidoc (100%) rename {docs => x-pack/docs}/en/watcher/troubleshooting.asciidoc (100%) rename {docs => x-pack/docs}/src/test/java/org/elasticsearch/smoketest/XDocsClientYamlTestSuiteIT.java (100%) rename gradle.properties => x-pack/gradle.properties (100%) rename {gradle => x-pack/gradle}/wrapper/gradle-wrapper.jar (100%) rename {gradle => x-pack/gradle}/wrapper/gradle-wrapper.properties (100%) rename gradlew => x-pack/gradlew (100%) rename gradlew.bat => x-pack/gradlew.bat (100%) rename {license-tools => x-pack/license-tools}/bin/key-pair-generator (100%) rename {license-tools => x-pack/license-tools}/bin/license-generator (100%) rename {license-tools => x-pack/license-tools}/bin/verify-license (100%) rename {license-tools => x-pack/license-tools}/build.gradle (100%) rename {license-tools => x-pack/license-tools}/src/main/java/org/elasticsearch/license/licensor/LicenseSigner.java (100%) rename {license-tools => x-pack/license-tools}/src/main/java/org/elasticsearch/license/licensor/tools/KeyPairGeneratorTool.java (100%) rename {license-tools => x-pack/license-tools}/src/main/java/org/elasticsearch/license/licensor/tools/LicenseGeneratorTool.java (100%) rename {license-tools => x-pack/license-tools}/src/main/java/org/elasticsearch/license/licensor/tools/LicenseVerificationTool.java (100%) rename {license-tools => x-pack/license-tools}/src/test/java/org/elasticsearch/license/licensor/LicenseVerificationTests.java (100%) rename {license-tools => x-pack/license-tools}/src/test/java/org/elasticsearch/license/licensor/TestUtils.java (100%) rename {license-tools => x-pack/license-tools}/src/test/java/org/elasticsearch/license/licensor/tools/KeyPairGenerationToolTests.java (100%) rename {license-tools => x-pack/license-tools}/src/test/java/org/elasticsearch/license/licensor/tools/LicenseGenerationToolTests.java (100%) rename {license-tools => x-pack/license-tools}/src/test/java/org/elasticsearch/license/licensor/tools/LicenseVerificationToolTests.java (100%) rename {license-tools => x-pack/license-tools}/src/test/resources/log4j.properties (100%) rename {license-tools => x-pack/license-tools}/src/test/resources/private.key (100%) rename {license-tools => x-pack/license-tools}/src/test/resources/public.key (100%) rename {plugin => x-pack/plugin}/build.gradle (100%) rename {plugin => x-pack/plugin}/bwc/build.gradle (100%) rename {plugin => x-pack/plugin}/bwc/maintenance-bugfix-snapshot/build.gradle (100%) rename {plugin => x-pack/plugin}/bwc/next-bugfix-snapshot/build.gradle (100%) rename {plugin => x-pack/plugin}/bwc/next-minor-snapshot/build.gradle (100%) rename {plugin => x-pack/plugin}/bwc/staged-minor-snapshot/build.gradle (100%) rename {plugin => x-pack/plugin}/core/build.gradle (100%) rename {plugin => x-pack/plugin}/core/licenses/bcpkix-jdk15on-1.58.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/bcprov-jdk15on-1.58.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/bouncycastle-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/core/licenses/bouncycastle-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/core/licenses/commons-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/core/licenses/commons-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/core/licenses/commons-codec-1.10.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/commons-logging-1.1.3.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/httpasyncclient-4.1.2.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/httpclient-4.5.2.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/httpclient-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/core/licenses/httpclient-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/core/licenses/httpcore-4.4.5.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/httpcore-nio-4.4.5.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/unboundid-ldapsdk-3.2.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/core/licenses/unboundid-ldapsdk-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/core/licenses/unboundid-ldapsdk-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/core/snapshot.key (100%) rename {plugin => x-pack/plugin}/core/src/main/bin/x-pack-env (100%) rename {plugin => x-pack/plugin}/core/src/main/bin/x-pack-env.bat (100%) rename {plugin => x-pack/plugin}/core/src/main/config/log4j2.properties (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/common/network/InetAddressHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/CryptUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/DateUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/DeleteLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/DeleteLicenseResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/ExpirationCallback.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetBasicStatusAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetBasicStatusResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetLicenseRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetLicenseRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetLicenseResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetTrialStatusAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/GetTrialStatusResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/License.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/LicenseService.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/LicenseUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/LicenseVerifier.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/LicensesMetaData.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/LicensesStatus.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/Licensing.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/LicensingClient.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/OperationModeFileWatcher.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartBasicAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartBasicRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartBasicRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartBasicResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartTrialAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartTrialRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartTrialRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PostStartTrialResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PutLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PutLicenseRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PutLicenseRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/PutLicenseResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/RestDeleteLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/RestGetBasicStatus.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/RestGetLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/RestGetTrialStatus.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/RestPostStartBasicLicense.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/RestPostStartTrialLicense.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/RestPutLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/SelfGeneratedLicense.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/StartBasicClusterTask.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/StartTrialClusterTask.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/StartupSelfGeneratedLicenseTask.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/TransportDeleteLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/TransportGetBasicStatusAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/TransportGetTrialStatusAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/TransportPostStartBasicAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/TransportPostStartTrialAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/XPackInfoResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/license/package-info.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ClientHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/EmptyXPackFeatureSet.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/XPackBuild.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/XPackClient.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/XPackFeatureSet.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/XPackField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackUsageAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/common/IteratingActionListener.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/common/socket/SocketAccess.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssue.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/GraphFeatureSetUsage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Connection.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Hop.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Vertex.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/graph/action/VertexRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/logstash/LogstashFeatureSetUsage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/MLMetadataField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningFeatureSetUsage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/MlClientHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetaIndex.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetadata.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/MlParserType.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/CloseJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteFilterAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FinalizeJobExecutionAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FlushJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ForecastJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetBucketsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsStatsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetFiltersAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsStatsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetRecordsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/IsolateDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/JobTaskRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/KillProcessAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/MlInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/OpenJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PersistJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostDataAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutCalendarAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutFilterAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/PageParams.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/QueryPage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/Calendar.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEvent.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/client/MachineLearningClient.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedJobValidator.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdate.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/DataExtractor.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimits.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/CategorizationAnalyzerConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Condition.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Connective.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DataDescription.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DefaultDetectorDescription.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRule.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Detector.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectorFunction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Job.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobTaskStatus.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdate.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/MlFilter.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Operator.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleCondition.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionType.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJob.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookup.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndex.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndexFields.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobDataDeleter.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobStorageDeletionTask.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/output/FlushAcknowledgement.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/CategorizerState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCounts.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStats.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshot.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/Quantiles.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/writer/RecordWriter.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCause.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecord.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Bucket.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencer.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/CategoryDefinition.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Forecast.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ForecastRequestStats.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influence.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influencer.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ModelPlot.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/OverallBucket.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/PartitionScore.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ReservedFieldNames.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Result.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditorField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/Level.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ExceptionsHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/Intervals.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlIndicesUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlStrings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/NameResolver.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ToXContentParams.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/DateTimeFormatterTimestampConverter.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimeUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimestampConverter.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoredSystem.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringFeatureSetUsage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkDoc.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringIndex.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/client/MonitoringClient.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rest/XPackRestHandler.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackUsageAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupFeatureSetUsage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/DeleteRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupCapsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupJobsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/PutRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollableIndexCaps.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupJobCaps.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupSearchAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StartRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StopRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/GroupConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/IndexerState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/MetricConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJob.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStats.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatus.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/scheduler/Cron.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/ScrollHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityContext.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityExtension.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityFeatureSetUsage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityLifecycleServiceField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/SecuritySettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/UserSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/RefreshTokenAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/UserRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationFailureHandler.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationResult.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationServiceField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationToken.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/DefaultAuthenticationFailureHandler.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/InternalRealmsSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/KeyAndTimestamp.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Realm.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/TokenMetaData.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/ClientReservedRealm.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/NativeRealmSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/file/FileRealmSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/ActiveDirectorySessionFactorySettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapRealmSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapSessionFactorySettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapUserSearchSessionFactorySettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/PoolingSessionFactorySettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/SearchGroupsResolverSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/UserAttributeGroupsResolverSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapLoadBalancingSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapMetaDataResolverSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapSearchScope.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/SessionFactorySettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/pki/PkiRealmSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CachingUsernamePasswordRealmSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CharArrays.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/DnRoleMapperSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/Hasher.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/UsernamePasswordToken.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/CompositeRoleMapperSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/ExpressionRoleMapping.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/NativeRoleMappingStoreField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AllExpression.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AnyExpression.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExceptExpression.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModel.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/FieldExpression.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/RoleMapperExpression.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/AuthorizationServiceField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/IndicesAndAliasesResolverField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReader.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReader.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/IndicesAccessControl.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessor.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/ClusterPermission.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissions.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCache.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsDefinition.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/Role.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/RunAsPermission.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/ClusterPrivilege.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/HealthAndStatsPrivilege.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/IndexPrivilege.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/Privilege.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/SystemPrivilege.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStore.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/client/SecurityClient.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/index/IndexAuditTrailField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/rest/RestRequestFilter.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/support/Automatons.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/support/Exceptions.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/support/MetadataUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/support/NoOpLogger.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/support/Validation.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/transport/SSLExceptionHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/transport/netty4/SecurityNetty4Transport.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/AnonymousUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/BeatsSystemUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/BuiltinUserInfo.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/ElasticUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/InternalUserSerializationHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/KibanaUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/LogstashSystemUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/SystemUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/User.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/UsernamesField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackSecurityUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackUser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/security/xcontent/XContentUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateTool.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTool.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTrustRestrictions.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/DefaultJDKTrustConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/KeyConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMKeyConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMTrustConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManager.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLClientAuth.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfiguration.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloader.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLService.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreTrustConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheck.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustAllConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustConfig.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/VerificationMode.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/X509KeyPairSettings.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/GetCertificateInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/TransportGetCertificateInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfo.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/ssl/rest/RestGetCertificateInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/template/TemplateUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeCheckVersion.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeServiceFields.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeActionRequired.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeInfoAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherFeatureSetUsage.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherMetaData.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/Action.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionFactory.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionRegistry.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionStatus.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapper.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperResult.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ExecutableAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/AckThrottler.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ActionThrottler.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/PeriodThrottler.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/Throttler.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ThrottlerField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatchSourceBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatcherClient.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/secret/Secret.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/stats/Counters.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/xcontent/XContentUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/AlwaysCondition.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/Condition.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionFactory.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionRegistry.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ExecutableCondition.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoService.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ActionExecutionMode.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionPhase.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionState.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/QueuedWatch.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/TriggeredWatchStoreField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionContext.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionResult.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionSnapshot.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/Wid.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/HistoryStoreField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/WatchRecord.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/ExecutableInput.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/Input.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/none/NoneInput.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/Exceptions.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherDateTimeUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherIndexTemplateRegistryField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/ObjectPath.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherParams.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherXContentParser.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/XContentSource.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/ExecutableTransform.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/Transform.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformFactory.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformRegistry.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransform.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransformFactory.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ExecutableChainTransform.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsAction.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/Trigger.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/TriggerEvent.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Payload.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Watch.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchField.java (100%) rename {plugin => x-pack/plugin}/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchStatus.java (100%) rename {plugin => x-pack/plugin}/core/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/logstash-index-template.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/monitoring-alerts.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/monitoring-beats.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/monitoring-es.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/monitoring-kibana.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/monitoring-logstash.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/rollup-dynamic-template.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/security-index-template.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/security_audit_log.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/triggered-watches.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/watch-history.json (100%) rename {plugin => x-pack/plugin}/core/src/main/resources/watches.json (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/action/MockIndicesRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/http/netty4/Netty4HttpMockUtil.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/AbstractLicenseServiceTestCase.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/AbstractLicensesIntegrationTestCase.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/ExpirationCallbackTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseClusterChangeTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseOperationModeTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseOperationModeUpdateTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseRegistrationTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseScheduleTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseSerializationTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterNotRecoveredTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseTLSTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicenseUtilsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicensesAcknowledgementTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicensesManagerServiceTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicensesMetaDataSerializationTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/LicensesTransportTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/OperationModeFileWatcherTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/PutLicenseResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/SelfGeneratedLicenseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/StartBasicLicenseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/StartTrialLicenseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/TestUtils.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/script/MockMustacheScriptEngine.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/test/SecuritySettingsSourceField.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/test/TestMatchers.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/test/http/Headers.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/test/http/MockRequest.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/test/http/MockResponse.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/test/http/MockWebServer.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ClientHelperTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/LocalStateCompositeXPackPlugin.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/TestXPackTransportClient.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/XPackSettingsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/action/TransportXPackInfoActionTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/common/IteratingActionListenerTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationChecksTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssueTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteJobRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/MlInfoActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/OpenJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutFilterActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobActionResquestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/PageParamsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/QueryPageTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/CalendarTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEventTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfigTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfigTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdateTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtilsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/integration/MlRestTestStateCleaner.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfigTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimitsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DataDescriptionTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRuleTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectorTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdateTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/MlFilterTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfigTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookupTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappingsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCountsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStatsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/QuantilesTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCauseTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecordTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencerTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/InfluencerTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessageTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/monitoring/test/MockPainlessScriptEngine.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/ConfigTestHelpers.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/RollupRestTestStateCleaner.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfigSerializingTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/GroupConfigSerializingTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfigSerializingTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/IndexerStateEnumTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/JobWrapperSerializingTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/MetricsConfigSerializingTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfigTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatusTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfigSerializingTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/audit/logfile/CapturingLogger.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModelPredicateTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParserTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReaderTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReaderTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperUnitTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessorFactoryTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCacheTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/privilege/PrivilegeTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/support/AutomatonsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/support/ValidationTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/security/test/SecurityAssertions.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/CertUtilsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfigTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManagerTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloaderTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettingsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLServiceTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfigTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheckTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/TestsSSLService.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfoTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/template/TemplateUtilsTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/watcher/actions/throttler/WatchThrottlerTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/watcher/common/stats/CountersTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoServiceTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/core/watcher/watch/ClockMock.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestTestHelper.java (100%) rename {plugin => x-pack/plugin}/core/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/WatcherXContentParserTests.java (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/monitoring-test.json (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/complex-x-pack-extension-security.policy (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/simple-x-pack-extension-security.policy (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/unresolved-x-pack-extension-security.policy (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/private.key (100%) rename {plugin => x-pack/plugin}/core/src/test/resources/public.key (100%) rename {plugin => x-pack/plugin}/deprecation/build.gradle (100%) rename {plugin => x-pack/plugin}/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/Deprecation.java (100%) rename {plugin => x-pack/plugin}/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/DeprecationChecks.java (100%) rename {plugin => x-pack/plugin}/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecks.java (100%) rename {plugin => x-pack/plugin}/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/RestDeprecationInfoAction.java (100%) rename {plugin => x-pack/plugin}/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/TransportDeprecationInfoAction.java (100%) rename {plugin => x-pack/plugin}/deprecation/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java (100%) rename {plugin => x-pack/plugin}/graph/build.gradle (100%) rename {plugin => x-pack/plugin}/graph/src/main/java/org/elasticsearch/xpack/graph/Graph.java (100%) rename {plugin => x-pack/plugin}/graph/src/main/java/org/elasticsearch/xpack/graph/GraphFeatureSet.java (100%) rename {plugin => x-pack/plugin}/graph/src/main/java/org/elasticsearch/xpack/graph/action/TransportGraphExploreAction.java (100%) rename {plugin => x-pack/plugin}/graph/src/main/java/org/elasticsearch/xpack/graph/rest/action/RestGraphAction.java (100%) rename {plugin => x-pack/plugin}/graph/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/graph/src/test/java/org/elasticsearch/xpack/graph/GraphFeatureSetTests.java (100%) rename {plugin => x-pack/plugin}/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java (100%) rename {plugin => x-pack/plugin}/logstash/build.gradle (100%) rename {plugin => x-pack/plugin}/logstash/src/main/java/org/elasticsearch/xpack/logstash/Logstash.java (100%) rename {plugin => x-pack/plugin}/logstash/src/main/java/org/elasticsearch/xpack/logstash/LogstashFeatureSet.java (100%) rename {plugin => x-pack/plugin}/logstash/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/logstash/src/test/java/org/elasticsearch/xpack/logstash/LogstashFeatureSetTests.java (100%) rename {plugin => x-pack/plugin}/ml/build.gradle (100%) rename {plugin => x-pack/plugin}/ml/cpp-snapshot/.gitignore (100%) rename {plugin => x-pack/plugin}/ml/cpp-snapshot/build.gradle (100%) rename {plugin => x-pack/plugin}/ml/licenses/super-csv-2.4.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/ml/licenses/super-csv-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/ml/licenses/super-csv-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/InvalidLicenseEnforcer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSet.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/MlAssignmentNotifier.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/MlDailyMaintenanceService.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/MlLifeCycleService.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportCloseJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarEventAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteExpiredDataAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteFilterAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFinalizeJobExecutionAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFlushJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportForecastJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetBucketsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarEventsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCategoriesAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsStatsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetFiltersAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetInfluencersAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetModelSnapshotsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetOverallBucketsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetRecordsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportIsolateDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportKillProcessAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportMlInfoAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportOpenJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPersistJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostCalendarEventsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostDataAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutCalendarAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutFilterAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportRevertModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateCalendarJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateProcessAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateDetectorAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateJobConfigAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJob.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManager.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelector.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/ProblemTracker.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorContext.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorContext.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedField.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFields.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorContext.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/JobManager.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/UpdateJobProcessNotifier.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedBucketsIterator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIterator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedInfluencersIterator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedRecordsIterator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedResultsIterator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BucketsQueryBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/CalendarQueryBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobDataCountsPersister.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobProvider.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersister.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersister.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/RecordsQueryBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ScheduledEventsQueryBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollector.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProcessor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProvider.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/CountingInputStream.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnostics.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeController.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeControllerHolder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrl.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessPipes.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcess.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManager.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcess.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcess.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/ProcessContext.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/UpdateParams.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParser.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListener.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/AutodetectParams.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParams.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParams.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParams.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRange.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CannotParseTimestampException.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateTransformer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriter.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/WriterConstants.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReader.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessage.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandler.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/AbstractLeafNormalizable.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizable.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizable.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizable.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Level.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/MultiplyingNormalizerProcess.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcess.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcessFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizable.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcess.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcessFactory.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResult.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/PartitionScoreNormalizable.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/RecordNormalizable.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Renormalizer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdater.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizer.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandler.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/results/AutodetectResult.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/AbstractExpiredJobDataRemover.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredForecastsRemover.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemover.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemover.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/MlDataRemover.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/notifications/Auditor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestDeleteExpiredDataAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestMlInfoAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarEventAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarEventsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPostCalendarEventAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestDeleteDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedStatsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPreviewDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPutDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStopDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestUpdateDatafeedAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestDeleteFilterAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestGetFiltersAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestPutFilterAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestCloseJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestDeleteJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestFlushJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestForecastJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobStatsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestOpenJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostDataAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostJobUpdateAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPutJobAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestDeleteModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestGetModelSnapshotsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestRevertModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestUpdateModelSnapshotAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetBucketsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetCategoriesAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetInfluencersAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetOverallBucketsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetRecordsAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateDetectorAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateJobConfigAction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutor.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/utils/DomainSplitFunction.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelper.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/utils/StatsAccumulator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/java/org/elasticsearch/xpack/ml/utils/VolatileCursorIterator.java (100%) rename {plugin => x-pack/plugin}/ml/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/ml/src/main/resources/org/elasticsearch/xpack/ml/transforms/exact.properties (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/license/MachineLearningLicensingTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/LocalStateMachineLearning.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSetTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MlAssignmentNotifierTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MlClientHelperTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MlDailyManagementServiceTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MlInitializationServiceTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MlMetadataTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportCloseJobActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportForecastJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportOpenJobActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilderTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobValidatorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManagerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelectorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedStateTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/ProblemTrackerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactoryTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactoryTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationTestUtils.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactoryTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectResultProcessorIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/BasicDistributedJobsIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteJobIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/EstablishedMemUsageIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobProviderIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobStorageDeletionTaskIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/NetworkDisruptionIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/integration/TooManyJobsIT.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobManagerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/CategorizationAnalyzerConfigTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConditionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConnectiveTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DataFormatTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DefaultDetectorDescriptionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DetectorFunctionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobBuilderTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobStateTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobTaskStatusTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/OperatorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleConditionTypeTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/messages/MessagesTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIteratorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilderTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobProviderTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersisterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersisterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockBatchedDocumentsIterator.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockClientBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilderTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregatorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollectorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProviderTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/CountingInputStreamTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnosticsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DummyDataCountsReporter.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/NativeControllerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrlTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessPipesTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicatorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManagerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcessTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParserTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushAcknowledgementTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListenerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParamsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParamsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParamsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRangeTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/state/MemoryStatusTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvParserTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactoryTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReaderTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandlerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizableTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizableTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizableTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResultTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandlerTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/AutodetectResultTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/BucketTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/CategoryDefinitionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastRequestStatsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/InfluenceTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ModelPlotTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/OverallBucketTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/PartitionScoreTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ReservedFieldNamesTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemoverTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemoverTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/GetModelSnapshotsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/UpdateModelSnapshotActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/AuditorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/LevelTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedActionTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/support/BaseMlIntegTestCase.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/test/SearchHitBuilder.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/IntervalsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/MlStringsTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NameResolverTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/StatsAccumulatorTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/DateTimeFormatterTimestampConverterTests.java (100%) rename {plugin => x-pack/plugin}/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/TimeUtilsTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/build.gradle (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringService.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkAction.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerService.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/Collector.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollector.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollector.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollector.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollector.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollector.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollector.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtil.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportBulk.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportException.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporter.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporters.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/FilteredMonitoringDoc.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulk.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListener.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporter.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilder.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListener.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/Scheme.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallback.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallback.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalBulk.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporter.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/MonitoringRestHandler.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkAction.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/resources/monitoring/watches/elasticsearch_cluster_status.json (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/resources/monitoring/watches/elasticsearch_nodes.json (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/resources/monitoring/watches/elasticsearch_version_mismatch.json (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/resources/monitoring/watches/kibana_version_mismatch.json (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/resources/monitoring/watches/logstash_version_mismatch.json (100%) rename {plugin => x-pack/plugin}/monitoring/src/main/resources/monitoring/watches/xpack_license_expiration.json (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/BaseCollectorTestCase.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/LocalStateMonitoring.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoredSystemTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSetTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringHistoryDurationSettingsTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringPluginClientTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringServiceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringTestUtils.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MultiNodesStatsTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkRequestTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponseTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringIndexTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkActionTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/AbstractIndicesCleanerTestCase.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerServiceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/CollectorTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollectorTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollectorTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollectorTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollectorTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollectorTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseFilteredMonitoringDocTestCase.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseMonitoringDocTestCase.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDocTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtilTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ExportersTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/MonitoringTemplateUtilsTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/AbstractPublishableHttpResourceTestCase.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListenerTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterIT.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilderTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MockHttpResource.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListenerTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SchemeTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallbackTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallbackTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResourceTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTestCase.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterResourceIntegTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkActionTests.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MockIngestPlugin.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MonitoringIntegTestCase.java (100%) rename {plugin => x-pack/plugin}/monitoring/src/test/resources/monitoring-test.json (100%) rename {plugin => x-pack/plugin}/rollup/build.gradle (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupFeatureSet.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtils.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupRequestTranslator.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupResponseTranslator.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/RollupIndexCaps.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportDeleteRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupCapsAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportPutRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportRollupSearchAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStartRollupAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStopRollupAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelper.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/CronSchedule.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/IndexerUtils.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupClientHelper.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupIndexer.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupJobTask.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestDeleteRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupCapsAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupJobsAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestPutRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestRollupSearchAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStartRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStopRollupJobAction.java (100%) rename {plugin => x-pack/plugin}/rollup/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/LocalStateRollup.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupFeatureSetTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupIT.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtilTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupRequestTranslationTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupResponseTranslationTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/DeleteJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetJobsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetRollupCapsActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobStateMachineTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/RollupIndexCapsTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/SearchActionTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StartJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StopJobActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelperTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/config/ConfigTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/IndexerUtilsTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupClientHelperTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerStateTests.java (100%) rename {plugin => x-pack/plugin}/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupJobTaskTests.java (100%) rename {plugin => x-pack/plugin}/security/build.gradle (100%) rename {plugin => x-pack/plugin}/security/forbidden/ldap-signatures.txt (100%) rename {plugin => x-pack/plugin}/security/forbidden/xml-signatures.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/cryptacular-1.2.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/cryptacular-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/cryptacular-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/guava-19.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/guava-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/guava-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/httpclient-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/httpclient-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/httpclient-cache-4.5.2.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/java-support-7.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/log4j-slf4j-impl-2.9.1.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/log4j-slf4j-impl-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/log4j-slf4j-impl-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/metrics-core-3.2.2.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/metrics-core-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/metrics-core-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-core-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-messaging-api-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-messaging-impl-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-profile-api-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-profile-impl-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-saml-api-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-saml-impl-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-security-api-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-security-impl-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-soap-api-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-soap-impl-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-storage-api-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-storage-impl-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-xmlsec-api-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/opensaml-xmlsec-impl-3.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/shibboleth-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/shibboleth-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/slf4j-api-1.6.2.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/slf4j-api-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/slf4j-api-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/xmlsec-2.0.8.jar.sha1 (100%) rename {plugin => x-pack/plugin}/security/licenses/xmlsec-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/security/licenses/xmlsec-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/certgen (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/certgen.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/certutil (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/certutil.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/migrate (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/migrate.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/saml-metadata (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/saml-metadata.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/setup-passwords (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/setup-passwords.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/syskeygen (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/syskeygen.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/users (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/users.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/x-pack-security-env (100%) rename {plugin => x-pack/plugin}/security/src/main/bin/x-pack-security-env.bat (100%) rename {plugin => x-pack/plugin}/security/src/main/config/role_mapping.yml (100%) rename {plugin => x-pack/plugin}/security/src/main/config/roles.yml (100%) rename {plugin => x-pack/plugin}/security/src/main/config/users (100%) rename {plugin => x-pack/plugin}/security/src/main/config/users_roles (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheck.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/Security.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/SecurityFeatureSet.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/SecurityLifecycleService.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/TokenSSLBootstrapCheck.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/SecurityActionMapper.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilter.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/BulkShardRequestInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/FieldAndDocumentLevelSecurityRequestInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/RequestInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/SearchRequestInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/UpdateRequestInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/realm/TransportClearRealmCacheAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportClearRolesCacheAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportDeleteRoleMappingAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlAuthenticateAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlPrepareAuthenticationAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportCreateTokenAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportInvalidateTokenAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportRefreshTokenAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportPutUserAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditLevel.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrail.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditUtil.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrail.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexNameResolver.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrail.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/AuthenticationService.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/BytesKey.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ExpiredTokenRemover.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/InternalRealms.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/Realms.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/UserToken.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateTool.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStore.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/UserAndPassword.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClient.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/HttpResponse.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordTool.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/file/tool/UsersTool.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolver.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactory.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactory.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactory.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/PoolingSessionFactory.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolver.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolver.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancing.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolver.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapSession.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapUtils.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactory.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/PkiRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/X509AuthenticationToken.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/IdpConfiguration.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAttributes.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticator.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandler.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilder.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutResponseBuilder.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMessageBuilder.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommand.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlNameId.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirect.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRequestHandler.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilder.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlToken.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlUtils.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SigningConfiguration.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SpConfiguration.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheck.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UserRoleMapper.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordRealm.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/CompositeRoleMapper.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStore.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationUtils.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizedIndices.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListener.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCache.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStore.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyTool.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/RemoteHostHeader.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/SecurityRestFilter.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandler.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestInvalidateTokenAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/realm/RestClearRealmCacheAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestClearRolesCacheAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestDeleteRoleAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestGetRolesAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestPutRoleAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestDeleteRoleMappingAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestGetRoleMappingsAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestPutRoleMappingAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlAuthenticateAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlInvalidateSessionAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlLogoutAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlPrepareAuthenticationAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandler.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestChangePasswordAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestDeleteUserAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestGetUsersAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestHasPrivilegesAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestPutUserAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestSetEnabledAction.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/support/AbstractSecurityModule.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/support/FileAttributesChecker.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/support/IndexLifecycleManager.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/support/RestorableContextClassLoader.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/support/SecurityFiles.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptor.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/ServerTransportFilter.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/IPFilter.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/PatternRule.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRule.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilter.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransport.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransport.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContext.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLDriver.java (100%) rename {plugin => x-pack/plugin}/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SecurityNioTransport.java (100%) rename {plugin => x-pack/plugin}/security/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/security/src/main/resources/meta-plugin-descriptor.properties (100%) rename {plugin => x-pack/plugin}/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-assertion-2.0.xsd (100%) rename {plugin => x-pack/plugin}/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-metadata-2.0.xsd (100%) rename {plugin => x-pack/plugin}/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-protocol-2.0.xsd (100%) rename {plugin => x-pack/plugin}/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xenc-schema.xsd (100%) rename {plugin => x-pack/plugin}/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xml.xsd (100%) rename {plugin => x-pack/plugin}/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xmldsig-core-schema.xsd (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/AbstractPrivilegeTestCase.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/BulkUpdateTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/ClearRealmsCacheTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/ClusterPrivilegeTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/DateMathExpressionIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/DocumentAndFieldLevelSecurityTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityRandomTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityRandomTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/IndexPrivilegeTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/IndicesPermissionsWithAliasesWildcardsAndRegexsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/KibanaUserRoleIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/MultipleIndicesPermissionsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/PermissionPrecedenceTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/SecurityCachePermissionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/SecurityClearScrollTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/license/LicensingTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/test/NativeRealmIntegTestCase.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/test/SecurityIntegTestCase.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/test/SecuritySettingsSource.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/test/SecuritySingleNodeTestCase.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/test/SecurityTestsUtils.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/test/SettingsFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/LocalStateSecurity.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheckTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/ScrollHelperIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/SecurityContextTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/SecurityFeatureSetTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/SecurityLifecycleServiceTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/SecurityPluginTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/SecuritySettingsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/SecurityTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/TemplateUpgraderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/TokenSSLBootsrapCheckTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/SecurityActionMapperTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/filter/DestructiveOperationsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptorTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptorTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/role/PutRoleBuilderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/PutRoleMappingRequestTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/saml/SamlPrepareAuthenticationRequestTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/token/CreateTokenRequestTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/HasPrivilegesRequestBuilderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestBuilderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportPutUserActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditLevelTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditUtilTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/index/AuditTrailTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailMutedTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/index/RemoteIndexAuditTrailStartingTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/AuditTrailSettingsUpdateTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/AuthenticationServiceTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/InternalRealmsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmSettingsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/RunAsIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenAuthIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenServiceTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/UserTokenTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeMigrateToolTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateToolTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStoreTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClientTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStoreTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStoreTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtilTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/CancellableLdapRunnableTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupsResolverTestCase.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactoryTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapTestUtils.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactoryTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverInMemoryTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LDAPServersTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancingTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolverTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapTestCase.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryLoadBalancingTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiAuthenticationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiOptionalClientAuthTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticatorTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandlerTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommandTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTestHelper.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirectTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlTestCase.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlUtilsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SigningConfigurationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/BCryptTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealmTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DistinguishedNamePredicateTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapperTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/HasherTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheckTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordTokenTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/ExpressionRoleMappingTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStoreTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/AnalyzeTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationUtilsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizedIndicesTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/IndexAliasesTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolverTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/ReadActionsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/RoleDescriptorTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/SecurityScrollTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListenerTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/WriteActionsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractorTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesAccessControlTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesPermissionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCacheTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/SetSecurityUserProcessorTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/FieldPermissionsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/PermissionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/store/FileRolesStoreTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStoreTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/rest/RestRequestFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/rest/SecurityRestFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandlerTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenActionTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandlerTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/rest/action/user/HasPrivilegesRestResponseTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/test/SecurityTestUtils.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptorTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IPFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringUpdateTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/PatternRuleTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRuleTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/DNSOnlyHostnameVerificationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IPHostnameVerificationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilterTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransportTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransportTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SslHostnameVerificationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContextTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLDriverTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SimpleSecurityNioTransportTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/EllipticCurveSSLTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslMultiPortTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslNullCipherTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/user/SystemUserTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/user/UserTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/security/user/XPackUserTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/ssl/SSLClientAuthTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/ssl/SSLReloadIntegTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/java/org/elasticsearch/xpack/ssl/SSLTrustRestrictionsTests.java (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/IndexLifecycleManagerTests-template.json (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/missing-version-security-index-template.json (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/action/role/roles2xformat.json (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users_roles (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad-schema.ldif (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad.ldif (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/role_mapping.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ADtrust.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/seven-seas.ldif (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/pki/role_mapping.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/idp1.xml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml-three-certs.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.key (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.p12 (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.key (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.p12 (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authc/support/role_mapping.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/default_roles.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/invalid_roles.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/reserved_roles.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.json (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode-different-passwords.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.cert (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/plugin/roles.yml (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users_roles (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem (100%) rename {plugin => x-pack/plugin}/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks (100%) rename {plugin => x-pack/plugin}/sql/build.gradle (100%) rename {plugin => x-pack/plugin}/sql/jdbc/build.gradle (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/jackson-LICENSE (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/jackson-NOTICE (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/jackson-core-2.8.10.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/joda-time-2.9.9.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/joda-time-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/joda-time-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/log4j-api-2.9.1.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/log4j-api-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/log4j-api-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/log4j-core-2.9.1.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/log4j-core-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/log4j-core-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/lucene-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/lucene-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/jdbc/licenses/lucene-core-7.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcException.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcSQLException.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ConnectionProxy.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DatabaseMetadataProxy.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/Debug.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugLog.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugProxy.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebuggingInvoker.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ParameterMetaDataProxy.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetMetaDataProxy.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetProxy.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/StatementProxy.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConfiguration.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConnection.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDatabaseMetaData.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDriver.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcParameterMetaData.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcPreparedStatement.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSet.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSetMetaData.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcStatement.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcWrapper.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/PreparedQuery.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzer.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverter.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbcx/JdbcDataSource.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/Cursor.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/DefaultCursor.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/JdbcHttpClient.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/RequestMeta.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfo.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/InfoResponse.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/Nullable.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/main/resources/META-INF/services/java.sql.Driver (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DriverManagerRegistrationTests.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/JdbcConfigurationTests.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/VersionTests.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzerTests.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverterTests.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfoTests.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/package-info.java (100%) rename {plugin => x-pack/plugin}/sql/jdbc/src/test/resources/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/sql/licenses/antlr4-runtime-4.5.3.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/licenses/antlr4-runtime-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/licenses/antlr4-runtime-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/build.gradle (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/licenses/jansi-1.16.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/licenses/jansi-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/licenses/jansi-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/licenses/jline-3.6.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/licenses/jline-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/licenses/jline-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/forbidden/cli-signatures.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Cli.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliRepl.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliTerminal.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Completers.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/FatalCliException.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/JLineTerminal.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractCliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractServerCliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ClearScreenCliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommands.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliSession.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSeparatorCliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSizeCliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/PrintLogoCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommand.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/resources/logging.properties (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/main/resources/logo.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliReplTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliSessionTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilderTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/JLineTerminalTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/TestTerminal.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/VersionTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/BuiltinCommandTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/CliCommandsTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommandTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommandTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/package-info.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/build.gradle (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/jackson-LICENSE (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/jackson-NOTICE (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/jackson-core-2.8.10.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/joda-time-2.9.9.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/joda-time-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/joda-time-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/log4j-api-2.9.1.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/log4j-api-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/log4j-api-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/log4j-core-2.9.1.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/log4j-core-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/log4j-core-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/lucene-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/lucene-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/licenses/lucene-core-7.3.0.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlQueryRequest.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlRequest.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatter.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/ColumnInfo.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/MetaColumnInfo.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorAction.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequest.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponse.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryAction.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequest.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponse.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateAction.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequest.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponse.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTypedParamValue.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/type/DataType.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponseTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponseTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTestUtils.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponseTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/build.gradle (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/licenses/jackson-LICENSE (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/licenses/jackson-NOTICE (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/licenses/jackson-core-2.8.10.jar.sha1 (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/HttpClient.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Bytes.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedBiFunction.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedConsumer.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedFunction.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ClientException.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ConnectionConfiguration.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/JreHttpUrlConnection.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ObjectUtils.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ProxyConfig.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailure.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SslConfig.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/StringUtils.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SuppressForbidden.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/UriUtils.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Version.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailureTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/StringUtilsTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/UriUtilsTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/VersionTests.java (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/basic.json (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/bogus_error.json (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/invalid_json.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/missing_auth.json (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/nested.json (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/no_error.json (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/no_stack.json (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/remote_failure/no_type.json (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/ssl/client.keystore (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/ssl/readme.txt (100%) rename {plugin => x-pack/plugin}/sql/sql-shared-client/src/test/resources/ssl/server.keystore (100%) rename {plugin => x-pack/plugin}/sql/src/main/antlr/SqlBase.g4 (100%) rename {plugin => x-pack/plugin}/sql/src/main/antlr/SqlBase.tokens (100%) rename {plugin => x-pack/plugin}/sql/src/main/antlr/SqlBaseLexer.tokens (100%) rename {plugin => x-pack/plugin}/sql/src/main/bin/sql-cli (100%) rename {plugin => x-pack/plugin}/sql/src/main/bin/sql-cli.bat (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/ClientSqlException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/ServerSqlException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/SqlException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/SqlIllegalArgumentException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/AnalysisException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Analyzer.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzer.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerificationException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Verifier.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/EsIndex.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolution.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolver.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/MappingException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvable.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvables.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Unresolvable.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/UnresolvedException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/PlanExecutor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/AggRef.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggsRowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/FieldExtraction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/Querier.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaCompositeAggsRowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaSearchHitRowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SearchHitRowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SourceGenerator.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractors.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractors.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Alias.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Attribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeMap.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryExpression.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryLogic.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryOperator.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Exists.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expression.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionId.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expressions.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/FieldAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Foldables.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LeafExpression.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Literal.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LiteralAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NamedExpression.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NullIntolerant.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Order.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ScalarSubquery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/SubQueryExpression.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/TypedAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnaryExpression.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAlias.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedNamedExpression.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedStar.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Function.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionDefinition.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistry.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionType.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Functions.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Score.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/ScoreAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunctionAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Avg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/CompoundNumericAggregate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Count.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/EnclosedAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStats.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStatsEnclosed.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/InnerAggregate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Kurtosis.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStats.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStatsEnclosed.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Max.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Min.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/NumericAggregate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentile.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRank.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRanks.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentiles.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Skewness.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Stats.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StatsEnclosed.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StddevPop.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Sum.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/SumOfSquares.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/VarPop.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/BinaryScalarFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Cast.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Processors.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunctionAttribute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/UnaryScalarFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Add.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/ArithmeticFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Arithmetics.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorDefinition.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Div.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mod.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mul.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Neg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Sub.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/UnaryArithmeticProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeHistogramFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfMonth.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfWeek.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYear.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/HourOfDay.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfDay.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfHour.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MonthOfYear.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/SecondOfMinute.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/WeekOfYear.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/Year.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ACos.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ASin.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan2.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Abs.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessorDefinition.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cbrt.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Ceil.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cos.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cosh.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cot.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Degrees.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/E.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Exp.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Expm1.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Floor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log10.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Pi.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Power.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Radians.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Random.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Round.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sign.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sin.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sinh.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sqrt.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Tan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggExtractorInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggNameInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggPathInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinition.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/CommonNonExecutableInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ConstantInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/HitExtractorInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/LeafInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/NonExecutableInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinition.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinitions.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ReferenceInput.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ScoreProcessorDefinition.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinition.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BinaryProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BucketExtractorProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/HitExtractorProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/Processor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/UnaryProcessor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Agg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Param.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Params.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ParamsBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Script.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ScriptTemplate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Var.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/And.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/BinaryComparison.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Equals.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThanOrEqual.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/In.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/IsNotNull.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThanOrEqual.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Not.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Or.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Predicates.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Range.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextPredicate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextUtils.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MatchQueryPredicate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MultiMatchQueryPredicate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/StringQueryPredicate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/Like.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/LikePattern.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/RLike.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/package-info.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AbstractBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AstBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CaseInsensitiveStream.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CommandBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ExpressionBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/LogicalPlanBuilder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ParsingException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseListener.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseVisitor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseLexer.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseListener.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseParser.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseVisitor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlParser.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/QueryPlan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/TableIdentifier.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Aggregate.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/BinaryPlan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Distinct.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/EsRelation.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Filter.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Join.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LeafPlan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Limit.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LocalRelation.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LogicalPlan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/OrderBy.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Project.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/SubQueryAlias.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnaryPlan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelation.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/With.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Command.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Debug.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Explain.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowColumns.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowFunctions.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowSchemas.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowTables.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogs.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumns.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypes.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTables.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTypes.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/AggregateExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/BinaryExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/CommandExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/EsQueryExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/FilterExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LeafExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LimitExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LocalExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/OrderExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/PhysicalPlan.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/ProjectExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnaryExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/Unexecutable.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnplannedExec.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/planner/FoldingException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Mapper.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Planner.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/planner/PlanningException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryFolder.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryTranslator.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Verifier.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatterCursor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlClearCursorAction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlQueryAction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlTranslateAction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlLicenseChecker.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlPlugin.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TextFormat.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlClearCursorAction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlQueryAction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlTranslateAction.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Agg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AggFilter.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Aggs.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AndAggFilter.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AvgAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/CardinalityAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/ExtendedStatsAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByColumnKey.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByDateKey.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByKey.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByScriptKey.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/LeafAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MatrixStatsAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MaxAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MinAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MultiFieldAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/OrAggFilter.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentileRanksAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentilesAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PipelineAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/StatsAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/SumAgg.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/AttributeSort.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ComputedRef.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/FieldReference.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GlobalCountRef.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GroupByRef.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/MetricAggRef.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainer.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScoreSort.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptFieldRef.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptSort.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/SearchHitFieldRef.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/Sort.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ExistsQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchAll.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NotQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/Query.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RangeQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RegexQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ScriptQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/TermQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/WildcardQuery.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/rule/Rule.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutionException.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/AbstractRowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/Configuration.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursors.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyCursor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyExecutable.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyRowSetCursor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/Executable.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/ListRowSetCursor.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowView.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/Rows.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/SchemaRowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonExecutable.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonRowSet.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/session/SqlSession.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Location.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Node.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeInfo.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeUtils.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypeConversion.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypes.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/DateEsField.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/EsField.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/KeywordEsField.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/Schema.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/TextEsField.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/Types.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/type/UnsupportedEsField.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/util/Check.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/util/CollectionUtils.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/util/Graphviz.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/util/ReflectionUtils.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/java/org/elasticsearch/xpack/sql/util/StringUtils.java (100%) rename {plugin => x-pack/plugin}/sql/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/action/AbstractSqlIntegTestCase.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlActionIT.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlClearCursorActionIT.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlDisabledIT.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlLicenseIT.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlTranslateActionIT.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/FieldAttributeTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzerTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerifierErrorMessagesTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CursorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SourceGeneratorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilderTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestBucket.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestMultiValueAggregation.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestSingleValueAggregation.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/AttributeMapTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ExpressionIdTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/LiteralTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ParameterTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/QuotingTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttributeTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistryTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/NamedExpressionTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunctionTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYearTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunctionProcessorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInputTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinitionTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinitionTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilderTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/parser/LikeEscapingParsingTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/parser/SqlParserTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelationTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogsTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumnsTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysParserTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypesTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTablesTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/planner/VerifierErrorMessagesTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/CliFormatterTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlPluginTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/TextFormatTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainerTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQueryTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQueryTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQueryTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQueryTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQueryTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQueryTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/tree/AbstractNodeTestCase.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/tree/LocationTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeSubclassTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/type/DataTypeConversionTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/type/TypesTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/java/org/elasticsearch/xpack/sql/util/LikeConversionTests.java (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-basic.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-date-multi.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-date-no-format.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-date.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-default-string.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-docvalues.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-dotted-field.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-geo.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-keyword.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-multi-field-options.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-multi-field-variation.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-multi-field-with-nested.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-multi-field.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-nested.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-object.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-parent-child.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-text.json (100%) rename {plugin => x-pack/plugin}/sql/src/test/resources/mapping-unsupported.json (100%) rename {plugin => x-pack/plugin}/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestIT.java (100%) rename {plugin => x-pack/plugin}/src/test/resources/IndexLifecycleManagerTests-template-v512.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/org/elasticsearch/xpack/watcher/actions/email/service/logo.png (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.graph.explore.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.info.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.license.delete.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.license.get.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.license.get_basic_status.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.license.get_trial_status.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.license.post.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.license.post_start_basic.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.license.post_start_trial.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.migration.deprecations.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.migration.get_assistance.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.migration.upgrade.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_event.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_expired_data.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_filter.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.forecast.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_calendar_events.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_calendars.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_filters.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_overall_buckets.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.info.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.post_calendar_events.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.put_filter.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.validate.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.monitoring.bulk.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.rollup.delete_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.rollup.get_jobs.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.rollup.get_rollup_caps.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.rollup.put_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.rollup.rollup_search.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.rollup.start_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.rollup.stop_job.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.change_password.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.get_role.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.get_token.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.get_user.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.put_role.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.security.put_user.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.sql.clear_cursor.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.sql.query.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.sql.translate.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.ssl.certificates.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.usage.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.execute_watch.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.get_watch.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.start.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.stats.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/api/xpack.watcher.stop.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/authenticate/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/authenticate/10_field_level_security.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/change_password/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/deprecation/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/graph/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/license/20_put_license.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/calendar_crud.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/custom_all_field.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/delete_job_force.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/filter_crud.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/forecast.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/index_layout.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/job_groups.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_get.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_get_result_overall_buckets.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/ml_classic_analyze.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/ml_info.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/post_data.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/validate.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ml/validate_detector.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/roles/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/roles/20_get_missing.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/rollup/delete_job.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/rollup/get_jobs.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/rollup/get_rollup_caps.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/rollup/put_job.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/rollup/rollup_search.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/rollup/start_job.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/rollup/stop_job.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/authz/10_index_doc.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/authz/11_delete_doc.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/authz/12_index_alias.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/authz/13_index_datemath.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/authz/20_get_doc.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/authz/21_search_doc.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/hidden-index/10_security_read.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/security/hidden-index/11_security-6_read.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/sql/sql.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/sql/translate.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/ssl/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/token/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/upgrade/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/users/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/users/16_update_user.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/users/20_get_missing.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/ack_watch/40_reset_ack_after_unmet_action_condition.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/execute_watch/20_transform.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/execute_watch/30_throttled.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/execute_watch/40_ignore_condition.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/execute_watch/50_action_mode.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/execute_watch/60_http_input.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/execute_watch/70_invalid.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/put_watch/80_put_get_watch_with_passwords.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/watcher/usage/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/xpack/10_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/rest-api-spec/test/xpack/15_basic.yml (100%) rename {plugin => x-pack/plugin}/src/test/resources/wrong-version-logstash-index-template.json (100%) rename {plugin => x-pack/plugin}/src/test/resources/wrong-version-security-index-template.json (100%) rename {plugin => x-pack/plugin}/upgrade/build.gradle (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheck.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheckFactory.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeService.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexer.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/Upgrade.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeAction.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeInfoAction.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeAction.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeInfoAction.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIT.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIntegTestCase.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeServiceTests.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeTasksIT.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexerIT.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionRequestTests.java (100%) rename {plugin => x-pack/plugin}/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionResponseTests.java (100%) rename {plugin => x-pack/plugin}/watcher/build.gradle (100%) rename {plugin => x-pack/plugin}/watcher/licenses/activation-1.1.1.jar.sha1 (100%) rename {plugin => x-pack/plugin}/watcher/licenses/activation-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/activation-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/guava-16.0.1.jar.sha1 (100%) rename {plugin => x-pack/plugin}/watcher/licenses/guava-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/guava-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/javax.mail-1.5.6.jar.sha1 (100%) rename {plugin => x-pack/plugin}/watcher/licenses/javax.mail-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/javax.mail-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/owasp-java-html-sanitizer-LICENSE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/owasp-java-html-sanitizer-NOTICE.txt (100%) rename {plugin => x-pack/plugin}/watcher/licenses/owasp-java-html-sanitizer-r239.jar.sha1 (100%) rename {plugin => x-pack/plugin}/watcher/src/main/bin/croneval (100%) rename {plugin => x-pack/plugin}/watcher/src/main/bin/croneval.bat (100%) rename {plugin => x-pack/plugin}/watcher/src/main/bin/x-pack-watcher-env (100%) rename {plugin => x-pack/plugin}/watcher/src/main/bin/x-pack-watcher-env.bat (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheck.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherClientHelper.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherFeatureSet.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherIndexingListener.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/ActionBuilders.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/ExecutableEmailAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/ExecutableHipChatAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/ExecutableIndexAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/ExecutableLoggingAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingLevel.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/ExecutablePagerDutyAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/ExecutableWebhookAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/client/WatchSourceBuilders.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpClient.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpContentType.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpMethod.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpProxy.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequest.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplate.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpResponse.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpSettings.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/Scheme.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStream.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/ApplicableHttpAuth.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuth.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthRegistry.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/ApplicableBasicAuth.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuth.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuthFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplate.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateEngine.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/AbstractCompareCondition.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareCondition.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/CompareCondition.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/InternalAlwaysCondition.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/LenientCompare.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/NeverCondition.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ScriptCondition.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/AsyncTriggerEventConsumer.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/CurrentExecutions.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ExecutionService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/InternalWatchExecutor.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ManualExecutionContext.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/SyncTriggerEventConsumer.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredExecutionContext.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatch.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStore.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/WatchExecutor.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/history/HistoryStore.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputBuilders.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputRegistry.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/ExecutableHttpInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInputFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/ExecutableNoneInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/NoneInputFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/ExecutableSearchInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInputFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/ExecutableSimpleInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/ExecutableTransformInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInput.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/NotificationService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Account.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Attachment.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Authentication.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachment.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Email.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplate.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizer.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Profile.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachment.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParser.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParser.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachments.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentsParser.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParser.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpRequestAttachment.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachment.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParser.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/support/BodyPartSource.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccount.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessage.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServer.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccount.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/SentMessages.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccount.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1Account.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccount.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssue.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEvent.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventContext.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaults.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccount.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEvent.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SentMessages.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackAccount.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Action.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Attachment.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/DynamicAttachments.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Field.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/MessageElement.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessage.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaults.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/WatcherRestHandler.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestActivateWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestDeleteWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestGetWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestPutWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatchServiceAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatcherStatsAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/ArrayObjectIterator.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Strings.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Variables.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistry.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/XContentFilterKeysUtils.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequest.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/TransformBuilders.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ExecutableScriptTransform.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransform.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/ExecutableSearchTransform.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransform.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransformFactory.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/WatcherTransportAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/activate/TransportActivateWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/delete/TransportDeleteWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/execute/TransportExecuteWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/get/TransportGetWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/service/TransportWatcherServiceAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsAction.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerBuilders.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerEngine.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerService.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerWatchStats.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTrigger.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEngine.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEvent.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronSchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronnableSchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailySchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlySchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalSchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlySchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistry.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTrigger.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEngine.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEvent.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedules.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklySchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlySchedule.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleTriggerEngine.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayOfWeek.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayTimes.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Month.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/MonthTimes.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Times.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/WeekTimes.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/YearTimes.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalTool.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchParser.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchStoreUtils.java (100%) rename {plugin => x-pack/plugin}/watcher/src/main/plugin-metadata/plugin-security.policy (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/notification/NotificationServiceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheckTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherClientHelperTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherFeatureSetTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleServiceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherMetaDataSerializationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherPluginTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherServiceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherXpackUsageStatsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionErrorIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionWrapperTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/TimeThrottleIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailAttachmentTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactoryTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactoryTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactoryTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactoryTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/AckThrottlerTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/ActionThrottleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/PeriodThrottlerTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookHttpsIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpConnectionTimeoutTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpProxyTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpReadTimeoutTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplateTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpResponseTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStreamTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/AlwaysConditionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionSearchTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionSearchTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/NeverConditionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ScriptConditionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/ExecutionServiceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStoreTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryActionConditionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateEmailMappingsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateSearchInputMappingsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTimeMappingsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTransformMappingsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/InputRegistryTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInputTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/http/HttpInputTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachmentTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailSecretsIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailServiceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplateTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizerTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/ProfileTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParserTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParsersTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParserTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParserTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/support/EmailServer.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccountsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessageTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServiceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccountTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccountTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1AccountTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccountTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssueTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaultsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccountsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEventTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaultsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/FilterXContentTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/VariablesTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherDateTimeUtilsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistryTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherUtilsTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequestTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/MapPathTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/XContentSourceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/LocalStateWatcher.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/MockTextTemplateEngine.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/TimeWarpedWatcher.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatchExecutionContextMockBuilder.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatcherTestUtils.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/ScheduleEngineTriggerBenchmark.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherExecutorServiceBenchmark.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherScheduleEngineBenchmark.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BootStrapTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/ExecutionVarsIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HttpSecretsIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchInputTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchTransformTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchAckTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchMetadataTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/TransformIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/chain/ChainTransformTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/WatchRequestValidationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/activate/ActivateWatchTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/delete/DeleteWatchTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchRequestTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/get/GetWatchTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/put/PutWatchSerializationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsActionTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/ScheduleTriggerEngineMock.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/TriggerServiceTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronScheduleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailyScheduleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlyScheduleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalScheduleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlyScheduleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistryTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTestCase.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEventTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklyScheduleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlyScheduleTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleEngineTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalToolTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusIntegrationTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/clock/ClockTests.java (100%) rename {plugin => x-pack/plugin}/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks (100%) rename {plugin => x-pack/plugin}/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks (100%) rename {plugin => x-pack/plugin}/watcher/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks (100%) rename {qa => x-pack/qa}/audit-tests/build.gradle (100%) rename {qa => x-pack/qa}/audit-tests/src/test/java/org/elasticsearch/xpack/security/audit/IndexAuditIT.java (100%) rename {qa => x-pack/qa}/build.gradle (100%) rename {qa => x-pack/qa}/core-rest-tests-with-security/build.gradle (100%) rename {qa => x-pack/qa}/core-rest-tests-with-security/src/test/java/org/elasticsearch/xpack/security/CoreWithSecurityClientYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/core-rest-tests-with-security/src/test/resources/rest-api-spec/test/rankeval/10_rankeval.yml (100%) rename {qa => x-pack/qa}/full-cluster-restart/build.gradle (100%) rename {qa => x-pack/qa}/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/CoreFullClusterRestartIT.java (100%) rename {qa => x-pack/qa}/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java (100%) rename {qa => x-pack/qa}/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json (100%) rename {qa => x-pack/qa}/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/simple-watch.json (100%) rename {qa => x-pack/qa}/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/throttle-period-watch.json (100%) rename {qa => x-pack/qa}/full-cluster-restart/src/test/resources/system_key (100%) rename {qa => x-pack/qa}/full-cluster-restart/with-system-key/build.gradle (100%) rename {qa => x-pack/qa}/full-cluster-restart/without-system-key/build.gradle (100%) rename {qa => x-pack/qa}/ml-basic-multi-node/build.gradle (100%) rename {qa => x-pack/qa}/ml-basic-multi-node/src/test/java/org/elasticsearch/xpack/ml/integration/MlBasicMultiNodeIT.java (100%) rename {qa => x-pack/qa}/ml-disabled/build.gradle (100%) rename {qa => x-pack/qa}/ml-disabled/src/test/java/org/elasticsearch/xpack/ml/integration/MlPluginDisabledIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/build.gradle (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectMemoryLimitIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/BasicRenormalizationIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/CategorizationIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsRestIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteExpiredDataIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DetectionRulesIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ForecastIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/InterimResultsDeletedAfterReopeningJobIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlNativeAutodetectIntegTestCase.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/OverallBucketsIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/PersistJobIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RestoreModelSnapshotIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RevertModelSnapshotIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ScheduledEventsIT.java (100%) rename {qa => x-pack/qa}/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java (100%) rename {qa => x-pack/qa}/ml-no-bootstrap-tests/build.gradle (100%) rename {qa => x-pack/qa}/ml-no-bootstrap-tests/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperNoBootstrapTests.java (100%) rename {qa => x-pack/qa}/ml-single-node-tests/build.gradle (100%) rename {qa => x-pack/qa}/ml-single-node-tests/src/test/java/org/elasticsearch/xpack/ml/transforms/PainlessDomainSplitIT.java (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/build.gradle (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/java/org/elasticsearch/xpack/security/MultiClusterSearchWithSecurityYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/10_basic.yml (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/20_info.yml (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/40_scroll.yml (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/50_missing.yml (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/60_skip_shards.yml (100%) rename {qa => x-pack/qa}/multi-cluster-search-security/src/test/resources/rest-api-spec/test/remote_cluster/10_basic.yml (100%) rename {qa => x-pack/qa}/multi-node/build.gradle (100%) rename {qa => x-pack/qa}/multi-node/roles.yml (100%) rename {qa => x-pack/qa}/multi-node/src/test/java/org/elasticsearch/multi_node/GlobalCheckpointSyncActionIT.java (100%) rename {qa => x-pack/qa}/openldap-tests/build.gradle (100%) rename {qa => x-pack/qa}/openldap-tests/src/test/java/org/elasticsearch/test/OpenLdapTests.java (100%) rename {qa => x-pack/qa}/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/OpenLdapUserSearchSessionFactoryTests.java (100%) rename {qa => x-pack/qa}/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverTests.java (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/build.gradle (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/roles.yml (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityClientYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityIT.java (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/src/test/resources/rest-api-spec/test/10_reindex.yml (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/src/test/resources/rest-api-spec/test/15_reindex_from_remote.yml (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/src/test/resources/rest-api-spec/test/20_update_by_query.yml (100%) rename {qa => x-pack/qa}/reindex-tests-with-security/src/test/resources/rest-api-spec/test/30_delete_by_query.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade-basic/build.gradle (100%) rename {qa => x-pack/qa}/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java (100%) rename {qa => x-pack/qa}/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/BasicLicenseUpgradeIT.java (100%) rename {qa => x-pack/qa}/rolling-upgrade/build.gradle (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/IndexAuditUpgradeIT.java (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/TokenBackwardsCompatibilityIT.java (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/UpgradeClusterClientYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/10_basic.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/20_security.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/30_ml_jobs_crud.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/40_ml_datafeed_crud.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/50_token_auth.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/60_monitoring.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/10_basic.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/20_security.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/30_ml_jobs_crud.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/40_ml_datafeed_crud.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/50_token_auth.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/60_monitoring.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/10_basic.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/20_security.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/30_ml_jobs_crud.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/40_ml_datafeed_crud.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/50_token_auth.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/60_monitoring.yml (100%) rename {qa => x-pack/qa}/rolling-upgrade/src/test/resources/system_key (100%) rename {qa => x-pack/qa}/rolling-upgrade/with-system-key/build.gradle (100%) rename {qa => x-pack/qa}/rolling-upgrade/without-system-key/build.gradle (100%) rename {qa => x-pack/qa}/saml-idp-tests/build.gradle (100%) rename {qa => x-pack/qa}/saml-idp-tests/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticationIT.java (100%) rename {qa => x-pack/qa}/security-client-tests/build.gradle (100%) rename {qa => x-pack/qa}/security-client-tests/src/test/java/org/elasticsearch/xpack/security/qa/SecurityTransportClientIT.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/build.gradle (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/main/java/org/elasticsearch/example/ExampleSecurityExtension.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/main/java/org/elasticsearch/example/SpiExtensionPlugin.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomAuthenticationFailureHandler.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomRealm.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/main/java/org/elasticsearch/example/role/CustomInMemoryRolesProvider.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/main/plugin-metadata/plugin-security.policy (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/main/resources/META-INF/services/org.elasticsearch.xpack.core.security.SecurityExtension (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java (100%) rename {qa => x-pack/qa}/security-example-spi-extension/src/test/java/org/elasticsearch/example/role/CustomRolesProviderIT.java (100%) rename {qa => x-pack/qa}/security-migrate-tests/build.gradle (100%) rename {qa => x-pack/qa}/security-migrate-tests/roles.yml (100%) rename {qa => x-pack/qa}/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolIT.java (100%) rename {qa => x-pack/qa}/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolTestCase.java (100%) rename {qa => x-pack/qa}/security-setup-password-tests/build.gradle (100%) rename {qa => x-pack/qa}/security-setup-password-tests/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolIT.java (100%) rename {qa => x-pack/qa}/security-tools-tests/build.gradle (100%) rename {qa => x-pack/qa}/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateToolTests.java (100%) rename {qa => x-pack/qa}/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateToolTests.java (100%) rename {qa => x-pack/qa}/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/authc/file/tool/UsersToolTests.java (100%) rename {qa => x-pack/qa}/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyToolTests.java (100%) rename {qa => x-pack/qa}/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/FileAttributesCheckerTests.java (100%) rename {qa => x-pack/qa}/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/SecurityFilesTests.java (100%) rename {qa => x-pack/qa}/smoke-test-graph-with-security/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-graph-with-security/roles.yml (100%) rename {qa => x-pack/qa}/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityIT.java (100%) rename {qa => x-pack/qa}/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityInsufficientRoleIT.java (100%) rename {qa => x-pack/qa}/smoke-test-ml-with-security/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-ml-with-security/roles.yml (100%) rename {qa => x-pack/qa}/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java (100%) rename {qa => x-pack/qa}/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityInsufficientRoleIT.java (100%) rename {qa => x-pack/qa}/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java (100%) rename {qa => x-pack/qa}/smoke-test-monitoring-with-watcher/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/MonitoringWithWatcherRestIT.java (100%) rename {qa => x-pack/qa}/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/PreventFailingBuildIT.java (100%) rename {qa => x-pack/qa}/smoke-test-plugins-ssl/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestMonitoringWithSecurityIT.java (100%) rename {qa => x-pack/qa}/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestPluginsSslClientYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/10_basic.yml (100%) rename {qa => x-pack/qa}/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/20_settings_filter.yml (100%) rename {qa => x-pack/qa}/smoke-test-plugins/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-plugins/src/test/java/org/elasticsearch/smoketest/XSmokeTestPluginsClientYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/smoke-test-plugins/src/test/resources/rest-api-spec/test/smoke_test_plugins/10_basic.yml (100%) rename {qa => x-pack/qa}/smoke-test-security-with-mustache/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-security-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestSecurityWithMustacheClientYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/10_templated_role_query.yml (100%) rename {qa => x-pack/qa}/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/11_templated_role_query_runas.yml (100%) rename {qa => x-pack/qa}/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/20_small_users_one_index.yml (100%) rename {qa => x-pack/qa}/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/30_search_template.yml (100%) rename {qa => x-pack/qa}/smoke-test-security-with-mustache/src/test/resources/templates/query.mustache (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherTemplateTests.java (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherWithMustacheIT.java (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/actions/10_webhook.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/20_array_access.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/25_array_compare.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/30_search_input.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/40_search_transform.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/50_webhook_url_escaping.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/src/test/java/org/elasticsearch/smoketest/WatcherWithPainlessIT.java (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/10_basic.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/20_minimal_body.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/30_inline_watch.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/40_exception.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/50_update_scripts.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/60_chain_input_with_transform.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-security/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-security/roles.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityIT.java (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/10_insufficient_privs.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_settings_filter.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_test_run_as_execute_watch.yml (100%) rename {qa => x-pack/qa}/smoke-test-watcher/build.gradle (100%) rename {qa => x-pack/qa}/smoke-test-watcher/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherTestSuiteIT.java (100%) rename {qa => x-pack/qa}/sql/build.gradle (100%) rename {qa => x-pack/qa}/sql/multinode/build.gradle (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliSelectIT.java (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliShowIT.java (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcDatabaseMetaDataIT.java (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcErrorsIT.java (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcPreparedStatementIT.java (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcShowTablesIT.java (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlIT.java (100%) rename {qa => x-pack/qa}/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlMultinodeIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/build.gradle (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliErrorsIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliExplainIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliFetchSizeIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliSelectIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliShowIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcConnectionIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcDatabaseMetaDataIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcErrorsIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcFetchSizeIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcPreparedStatementIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcShowTablesIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSimpleExampleIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSqlSpecIT.java (100%) rename {qa => x-pack/qa}/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/RestSqlIT.java (100%) rename {qa => x-pack/qa}/sql/security/build.gradle (100%) rename {qa => x-pack/qa}/sql/security/no-ssl/build.gradle (100%) rename {qa => x-pack/qa}/sql/security/roles.yml (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliErrorsIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliFetchSizeIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSecurityIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSelectIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliShowIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcConnectionIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcCsvSpecIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcDatabaseMetaDataIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcErrorsIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcFetchSizeIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcPreparedStatementIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSecurityIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcShowTablesIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSimpleExampleIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSqlSpecIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlSecurityIT.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java (100%) rename {qa => x-pack/qa}/sql/security/src/test/resources/plugin-security.policy (100%) rename {qa => x-pack/qa}/sql/security/ssl/build.gradle (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/ErrorsTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/CliIntegrationTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/EmbeddedCli.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ErrorsTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/FetchSizeTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/SelectTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ShowTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/package-info.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ConnectionTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvSpecTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvTestUtils.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DataLoader.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DatabaseMetaDataTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugCsvSpec.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugSqlSpec.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ErrorsTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/FetchSizeTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcAssert.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcIntegrationTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcTestUtils.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/LocalH2.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/PreparedStatementTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ShowTablesTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SimpleExampleTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SpecBaseIntegrationTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SqlSpecTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/package-info.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/RestSqlTestCase.java (100%) rename {qa => x-pack/qa}/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/package-info.java (100%) rename {qa => x-pack/qa}/sql/src/main/resources/agg.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/agg.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/alias.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/arithmetic.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/arithmetic.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/columns.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/command-sys.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/command.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/datetime.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/datetime.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/debug.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/debug.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/dep_emp.csv (100%) rename {qa => x-pack/qa}/sql/src/main/resources/departments.csv (100%) rename {qa => x-pack/qa}/sql/src/main/resources/employees.csv (100%) rename {qa => x-pack/qa}/sql/src/main/resources/example.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/example.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/filter.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/fulltext.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/math.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/nested.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/nulls.csv-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/plugin-security.policy (100%) rename {qa => x-pack/qa}/sql/src/main/resources/select.sql-spec (100%) rename {qa => x-pack/qa}/sql/src/main/resources/setup_mock_metadata_get_columns.sql (100%) rename {qa => x-pack/qa}/sql/src/main/resources/setup_mock_metadata_get_procedure_columns.sql (100%) rename {qa => x-pack/qa}/sql/src/main/resources/setup_mock_metadata_get_procedures.sql (100%) rename {qa => x-pack/qa}/sql/src/main/resources/setup_mock_metadata_get_table_types.sql (100%) rename {qa => x-pack/qa}/sql/src/main/resources/setup_mock_metadata_get_tables.sql (100%) rename {qa => x-pack/qa}/sql/src/main/resources/setup_mock_show_tables.sql (100%) rename {qa => x-pack/qa}/sql/src/main/resources/setup_test_emp.sql (100%) rename {qa => x-pack/qa}/third-party/active-directory/build.gradle (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ADLdapUserSearchSessionFactoryTests.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractActiveDirectoryTestCase.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolverTests.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRunAsIT.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactoryTests.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupMappingIT.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultiGroupMappingIT.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultipleAdRealmIT.java (100%) rename {qa => x-pack/qa}/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolverTests.java (100%) rename {qa => x-pack/qa}/third-party/build.gradle (100%) rename {qa => x-pack/qa}/third-party/hipchat/build.gradle (100%) rename {qa => x-pack/qa}/third-party/hipchat/src/test/java/org/elasticsearch/smoketest/WatcherHipchatYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/third-party/hipchat/src/test/resources/rest-api-spec/test/hipchat/10_hipchat.yml (100%) rename {qa => x-pack/qa}/third-party/jira/build.gradle (100%) rename {qa => x-pack/qa}/third-party/jira/src/test/java/org/elasticsearch/smoketest/WatcherJiraYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/third-party/jira/src/test/resources/rest-api-spec/test/jira/10_jira.yml (100%) rename {qa => x-pack/qa}/third-party/pagerduty/build.gradle (100%) rename {qa => x-pack/qa}/third-party/pagerduty/src/test/java/org/elasticsearch/smoketest/WatcherPagerDutyYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/third-party/pagerduty/src/test/resources/rest-api-spec/test/pagerduty/10_pagerduty.yml (100%) rename {qa => x-pack/qa}/third-party/slack/build.gradle (100%) rename {qa => x-pack/qa}/third-party/slack/src/test/java/org/elasticsearch/smoketest/WatcherSlackYamlTestSuiteIT.java (100%) rename {qa => x-pack/qa}/third-party/slack/src/test/resources/rest-api-spec/test/slack/10_slack.yml (100%) rename {qa => x-pack/qa}/transport-client-tests/build.gradle (100%) rename {qa => x-pack/qa}/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/ESXPackSmokeClientTestCase.java (100%) rename {qa => x-pack/qa}/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/MLTransportClientIT.java (100%) rename {qa => x-pack/qa}/vagrant/build.gradle (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/10_basic.bats (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/20_tar_bootstrap_password.bats (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/25_package_bootstrap_password.bats (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/30_tar_setup_passwords.bats (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/35_package_setup_passwords.bats (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/40_tar_certgen.bats (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/45_package_certgen.bats (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/bootstrap_password.bash (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/certgen.bash (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/tests/setup_passwords.bash (100%) rename {qa => x-pack/qa}/vagrant/src/test/resources/packaging/utils/xpack.bash (100%) rename settings.gradle => x-pack/settings.gradle (100%) rename {test => x-pack/test}/build.gradle (100%) rename {test => x-pack/test}/idp-fixture/.gitignore (100%) rename {test => x-pack/test}/idp-fixture/README.txt (100%) rename {test => x-pack/test}/idp-fixture/Vagrantfile (100%) rename {test => x-pack/test}/idp-fixture/build.gradle (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/certs/README.txt (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/certs/ca.crt (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/certs/ca.key (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/certs/idptrust.jks (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/playbook.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/certs/README (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/certs/files/ca_server.conf (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/certs/tasks/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/certs/templates/cert_server.conf.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/certs/templates/keystore_server.conf.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/certs/vars/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/java-8-openjdk/tasks/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/handlers/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/tasks/configure.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/tasks/install.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/tasks/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/tasks/populate.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/tasks/provision_deps.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/templates/ldap.conf.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/templates/slapd.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_add.ldif.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_replace.ldif.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/openldap/vars/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-filter.xml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-resolver.xml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/files/relying-party.xml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/handlers/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/tasks/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.properties.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.silent.params.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.xml.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/ldap.properties.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/tomcat-8/handlers/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/tomcat-8/tasks/main.yml (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/roles/tomcat-8/templates/server.xml.j2 (100%) rename {test => x-pack/test}/idp-fixture/src/main/resources/provision/vars/default.yml (100%) rename {test => x-pack/test}/smb-fixture/Vagrantfile (100%) rename {test => x-pack/test}/smb-fixture/build.gradle (100%) rename {test => x-pack/test}/smb-fixture/src/main/resources/certs/ca.key (100%) rename {test => x-pack/test}/smb-fixture/src/main/resources/certs/ca.pem (100%) rename {test => x-pack/test}/smb-fixture/src/main/resources/certs/cert.pem (100%) rename {test => x-pack/test}/smb-fixture/src/main/resources/certs/key.pem (100%) rename {test => x-pack/test}/smb-fixture/src/main/resources/provision/installsmb.sh (100%) rename {transport-client => x-pack/transport-client}/build.gradle (100%) rename {transport-client => x-pack/transport-client}/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java (100%) rename {transport-client => x-pack/transport-client}/src/test/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClientTests.java (100%) diff --git a/.ci/java-versions.properties b/x-pack/.ci/java-versions.properties similarity index 100% rename from .ci/java-versions.properties rename to x-pack/.ci/java-versions.properties diff --git a/.ci/matrix-build-javas.yml b/x-pack/.ci/matrix-build-javas.yml similarity index 100% rename from .ci/matrix-build-javas.yml rename to x-pack/.ci/matrix-build-javas.yml diff --git a/.ci/matrix-java-exclusions.yml b/x-pack/.ci/matrix-java-exclusions.yml similarity index 100% rename from .ci/matrix-java-exclusions.yml rename to x-pack/.ci/matrix-java-exclusions.yml diff --git a/.ci/matrix-runtime-javas.yml b/x-pack/.ci/matrix-runtime-javas.yml similarity index 100% rename from .ci/matrix-runtime-javas.yml rename to x-pack/.ci/matrix-runtime-javas.yml diff --git a/.dir-locals.el b/x-pack/.dir-locals.el similarity index 100% rename from .dir-locals.el rename to x-pack/.dir-locals.el diff --git a/.github/ISSUE_TEMPLATE.md b/x-pack/.github/ISSUE_TEMPLATE.md similarity index 100% rename from .github/ISSUE_TEMPLATE.md rename to x-pack/.github/ISSUE_TEMPLATE.md diff --git a/.gitignore b/x-pack/.gitignore similarity index 100% rename from .gitignore rename to x-pack/.gitignore diff --git a/.projectile b/x-pack/.projectile similarity index 100% rename from .projectile rename to x-pack/.projectile diff --git a/LICENSE.txt b/x-pack/LICENSE.txt similarity index 100% rename from LICENSE.txt rename to x-pack/LICENSE.txt diff --git a/NOTICE.txt b/x-pack/NOTICE.txt similarity index 100% rename from NOTICE.txt rename to x-pack/NOTICE.txt diff --git a/README.asciidoc b/x-pack/README.asciidoc similarity index 100% rename from README.asciidoc rename to x-pack/README.asciidoc diff --git a/build.gradle b/x-pack/build.gradle similarity index 100% rename from build.gradle rename to x-pack/build.gradle diff --git a/buildSrc/settings.gradle b/x-pack/buildSrc/settings.gradle similarity index 100% rename from buildSrc/settings.gradle rename to x-pack/buildSrc/settings.gradle diff --git a/dev-tools/checkstyle_suppressions.xml b/x-pack/dev-tools/checkstyle_suppressions.xml similarity index 100% rename from dev-tools/checkstyle_suppressions.xml rename to x-pack/dev-tools/checkstyle_suppressions.xml diff --git a/dev-tools/ci b/x-pack/dev-tools/ci similarity index 100% rename from dev-tools/ci rename to x-pack/dev-tools/ci diff --git a/dev-tools/github_relabel.pl b/x-pack/dev-tools/github_relabel.pl similarity index 100% rename from dev-tools/github_relabel.pl rename to x-pack/dev-tools/github_relabel.pl diff --git a/dev-tools/smoke_test_xpack_rc.py b/x-pack/dev-tools/smoke_test_xpack_rc.py similarity index 100% rename from dev-tools/smoke_test_xpack_rc.py rename to x-pack/dev-tools/smoke_test_xpack_rc.py diff --git a/dev-tools/xes_release_notes.pl b/x-pack/dev-tools/xes_release_notes.pl similarity index 100% rename from dev-tools/xes_release_notes.pl rename to x-pack/dev-tools/xes_release_notes.pl diff --git a/dev-tools/xescpp_release_notes.pl b/x-pack/dev-tools/xescpp_release_notes.pl similarity index 100% rename from dev-tools/xescpp_release_notes.pl rename to x-pack/dev-tools/xescpp_release_notes.pl diff --git a/docs/build.gradle b/x-pack/docs/build.gradle similarity index 100% rename from docs/build.gradle rename to x-pack/docs/build.gradle diff --git a/docs/en/commands/certgen.asciidoc b/x-pack/docs/en/commands/certgen.asciidoc similarity index 100% rename from docs/en/commands/certgen.asciidoc rename to x-pack/docs/en/commands/certgen.asciidoc diff --git a/docs/en/commands/certutil.asciidoc b/x-pack/docs/en/commands/certutil.asciidoc similarity index 100% rename from docs/en/commands/certutil.asciidoc rename to x-pack/docs/en/commands/certutil.asciidoc diff --git a/docs/en/commands/index.asciidoc b/x-pack/docs/en/commands/index.asciidoc similarity index 100% rename from docs/en/commands/index.asciidoc rename to x-pack/docs/en/commands/index.asciidoc diff --git a/docs/en/commands/migrate-tool.asciidoc b/x-pack/docs/en/commands/migrate-tool.asciidoc similarity index 100% rename from docs/en/commands/migrate-tool.asciidoc rename to x-pack/docs/en/commands/migrate-tool.asciidoc diff --git a/docs/en/commands/saml-metadata.asciidoc b/x-pack/docs/en/commands/saml-metadata.asciidoc similarity index 100% rename from docs/en/commands/saml-metadata.asciidoc rename to x-pack/docs/en/commands/saml-metadata.asciidoc diff --git a/docs/en/commands/setup-passwords.asciidoc b/x-pack/docs/en/commands/setup-passwords.asciidoc similarity index 100% rename from docs/en/commands/setup-passwords.asciidoc rename to x-pack/docs/en/commands/setup-passwords.asciidoc diff --git a/docs/en/commands/syskeygen.asciidoc b/x-pack/docs/en/commands/syskeygen.asciidoc similarity index 100% rename from docs/en/commands/syskeygen.asciidoc rename to x-pack/docs/en/commands/syskeygen.asciidoc diff --git a/docs/en/commands/users-command.asciidoc b/x-pack/docs/en/commands/users-command.asciidoc similarity index 100% rename from docs/en/commands/users-command.asciidoc rename to x-pack/docs/en/commands/users-command.asciidoc diff --git a/docs/en/index.asciidoc b/x-pack/docs/en/index.asciidoc similarity index 100% rename from docs/en/index.asciidoc rename to x-pack/docs/en/index.asciidoc diff --git a/docs/en/ml/aggregations.asciidoc b/x-pack/docs/en/ml/aggregations.asciidoc similarity index 100% rename from docs/en/ml/aggregations.asciidoc rename to x-pack/docs/en/ml/aggregations.asciidoc diff --git a/docs/en/ml/analyzing.asciidoc b/x-pack/docs/en/ml/analyzing.asciidoc similarity index 100% rename from docs/en/ml/analyzing.asciidoc rename to x-pack/docs/en/ml/analyzing.asciidoc diff --git a/docs/en/ml/api-quickref.asciidoc b/x-pack/docs/en/ml/api-quickref.asciidoc similarity index 100% rename from docs/en/ml/api-quickref.asciidoc rename to x-pack/docs/en/ml/api-quickref.asciidoc diff --git a/docs/en/ml/architecture.asciidoc b/x-pack/docs/en/ml/architecture.asciidoc similarity index 100% rename from docs/en/ml/architecture.asciidoc rename to x-pack/docs/en/ml/architecture.asciidoc diff --git a/docs/en/ml/buckets.asciidoc b/x-pack/docs/en/ml/buckets.asciidoc similarity index 100% rename from docs/en/ml/buckets.asciidoc rename to x-pack/docs/en/ml/buckets.asciidoc diff --git a/docs/en/ml/calendars.asciidoc b/x-pack/docs/en/ml/calendars.asciidoc similarity index 100% rename from docs/en/ml/calendars.asciidoc rename to x-pack/docs/en/ml/calendars.asciidoc diff --git a/docs/en/ml/categories.asciidoc b/x-pack/docs/en/ml/categories.asciidoc similarity index 100% rename from docs/en/ml/categories.asciidoc rename to x-pack/docs/en/ml/categories.asciidoc diff --git a/docs/en/ml/configuring.asciidoc b/x-pack/docs/en/ml/configuring.asciidoc similarity index 100% rename from docs/en/ml/configuring.asciidoc rename to x-pack/docs/en/ml/configuring.asciidoc diff --git a/docs/en/ml/customurl.asciidoc b/x-pack/docs/en/ml/customurl.asciidoc similarity index 100% rename from docs/en/ml/customurl.asciidoc rename to x-pack/docs/en/ml/customurl.asciidoc diff --git a/docs/en/ml/datafeeds.asciidoc b/x-pack/docs/en/ml/datafeeds.asciidoc similarity index 100% rename from docs/en/ml/datafeeds.asciidoc rename to x-pack/docs/en/ml/datafeeds.asciidoc diff --git a/docs/en/ml/forecasting.asciidoc b/x-pack/docs/en/ml/forecasting.asciidoc similarity index 100% rename from docs/en/ml/forecasting.asciidoc rename to x-pack/docs/en/ml/forecasting.asciidoc diff --git a/docs/en/ml/functions.asciidoc b/x-pack/docs/en/ml/functions.asciidoc similarity index 100% rename from docs/en/ml/functions.asciidoc rename to x-pack/docs/en/ml/functions.asciidoc diff --git a/docs/en/ml/functions/count.asciidoc b/x-pack/docs/en/ml/functions/count.asciidoc similarity index 100% rename from docs/en/ml/functions/count.asciidoc rename to x-pack/docs/en/ml/functions/count.asciidoc diff --git a/docs/en/ml/functions/geo.asciidoc b/x-pack/docs/en/ml/functions/geo.asciidoc similarity index 100% rename from docs/en/ml/functions/geo.asciidoc rename to x-pack/docs/en/ml/functions/geo.asciidoc diff --git a/docs/en/ml/functions/info.asciidoc b/x-pack/docs/en/ml/functions/info.asciidoc similarity index 100% rename from docs/en/ml/functions/info.asciidoc rename to x-pack/docs/en/ml/functions/info.asciidoc diff --git a/docs/en/ml/functions/metric.asciidoc b/x-pack/docs/en/ml/functions/metric.asciidoc similarity index 100% rename from docs/en/ml/functions/metric.asciidoc rename to x-pack/docs/en/ml/functions/metric.asciidoc diff --git a/docs/en/ml/functions/rare.asciidoc b/x-pack/docs/en/ml/functions/rare.asciidoc similarity index 100% rename from docs/en/ml/functions/rare.asciidoc rename to x-pack/docs/en/ml/functions/rare.asciidoc diff --git a/docs/en/ml/functions/sum.asciidoc b/x-pack/docs/en/ml/functions/sum.asciidoc similarity index 100% rename from docs/en/ml/functions/sum.asciidoc rename to x-pack/docs/en/ml/functions/sum.asciidoc diff --git a/docs/en/ml/functions/time.asciidoc b/x-pack/docs/en/ml/functions/time.asciidoc similarity index 100% rename from docs/en/ml/functions/time.asciidoc rename to x-pack/docs/en/ml/functions/time.asciidoc diff --git a/docs/en/ml/getting-started-data.asciidoc b/x-pack/docs/en/ml/getting-started-data.asciidoc similarity index 100% rename from docs/en/ml/getting-started-data.asciidoc rename to x-pack/docs/en/ml/getting-started-data.asciidoc diff --git a/docs/en/ml/getting-started-forecast.asciidoc b/x-pack/docs/en/ml/getting-started-forecast.asciidoc similarity index 100% rename from docs/en/ml/getting-started-forecast.asciidoc rename to x-pack/docs/en/ml/getting-started-forecast.asciidoc diff --git a/docs/en/ml/getting-started-multi.asciidoc b/x-pack/docs/en/ml/getting-started-multi.asciidoc similarity index 100% rename from docs/en/ml/getting-started-multi.asciidoc rename to x-pack/docs/en/ml/getting-started-multi.asciidoc diff --git a/docs/en/ml/getting-started-next.asciidoc b/x-pack/docs/en/ml/getting-started-next.asciidoc similarity index 100% rename from docs/en/ml/getting-started-next.asciidoc rename to x-pack/docs/en/ml/getting-started-next.asciidoc diff --git a/docs/en/ml/getting-started-single.asciidoc b/x-pack/docs/en/ml/getting-started-single.asciidoc similarity index 100% rename from docs/en/ml/getting-started-single.asciidoc rename to x-pack/docs/en/ml/getting-started-single.asciidoc diff --git a/docs/en/ml/getting-started-wizards.asciidoc b/x-pack/docs/en/ml/getting-started-wizards.asciidoc similarity index 100% rename from docs/en/ml/getting-started-wizards.asciidoc rename to x-pack/docs/en/ml/getting-started-wizards.asciidoc diff --git a/docs/en/ml/getting-started.asciidoc b/x-pack/docs/en/ml/getting-started.asciidoc similarity index 100% rename from docs/en/ml/getting-started.asciidoc rename to x-pack/docs/en/ml/getting-started.asciidoc diff --git a/docs/en/ml/images/ml-category-advanced.jpg b/x-pack/docs/en/ml/images/ml-category-advanced.jpg similarity index 100% rename from docs/en/ml/images/ml-category-advanced.jpg rename to x-pack/docs/en/ml/images/ml-category-advanced.jpg diff --git a/docs/en/ml/images/ml-category-anomalies.jpg b/x-pack/docs/en/ml/images/ml-category-anomalies.jpg similarity index 100% rename from docs/en/ml/images/ml-category-anomalies.jpg rename to x-pack/docs/en/ml/images/ml-category-anomalies.jpg diff --git a/docs/en/ml/images/ml-categoryterms.jpg b/x-pack/docs/en/ml/images/ml-categoryterms.jpg similarity index 100% rename from docs/en/ml/images/ml-categoryterms.jpg rename to x-pack/docs/en/ml/images/ml-categoryterms.jpg diff --git a/docs/en/ml/images/ml-create-job.jpg b/x-pack/docs/en/ml/images/ml-create-job.jpg similarity index 100% rename from docs/en/ml/images/ml-create-job.jpg rename to x-pack/docs/en/ml/images/ml-create-job.jpg diff --git a/docs/en/ml/images/ml-create-jobs.jpg b/x-pack/docs/en/ml/images/ml-create-jobs.jpg similarity index 100% rename from docs/en/ml/images/ml-create-jobs.jpg rename to x-pack/docs/en/ml/images/ml-create-jobs.jpg diff --git a/docs/en/ml/images/ml-customurl.jpg b/x-pack/docs/en/ml/images/ml-customurl.jpg similarity index 100% rename from docs/en/ml/images/ml-customurl.jpg rename to x-pack/docs/en/ml/images/ml-customurl.jpg diff --git a/docs/en/ml/images/ml-data-dates.jpg b/x-pack/docs/en/ml/images/ml-data-dates.jpg similarity index 100% rename from docs/en/ml/images/ml-data-dates.jpg rename to x-pack/docs/en/ml/images/ml-data-dates.jpg diff --git a/docs/en/ml/images/ml-data-keywords.jpg b/x-pack/docs/en/ml/images/ml-data-keywords.jpg similarity index 100% rename from docs/en/ml/images/ml-data-keywords.jpg rename to x-pack/docs/en/ml/images/ml-data-keywords.jpg diff --git a/docs/en/ml/images/ml-data-metrics.jpg b/x-pack/docs/en/ml/images/ml-data-metrics.jpg similarity index 100% rename from docs/en/ml/images/ml-data-metrics.jpg rename to x-pack/docs/en/ml/images/ml-data-metrics.jpg diff --git a/docs/en/ml/images/ml-data-topmetrics.jpg b/x-pack/docs/en/ml/images/ml-data-topmetrics.jpg similarity index 100% rename from docs/en/ml/images/ml-data-topmetrics.jpg rename to x-pack/docs/en/ml/images/ml-data-topmetrics.jpg diff --git a/docs/en/ml/images/ml-data-visualizer.jpg b/x-pack/docs/en/ml/images/ml-data-visualizer.jpg similarity index 100% rename from docs/en/ml/images/ml-data-visualizer.jpg rename to x-pack/docs/en/ml/images/ml-data-visualizer.jpg diff --git a/docs/en/ml/images/ml-edit-job.jpg b/x-pack/docs/en/ml/images/ml-edit-job.jpg similarity index 100% rename from docs/en/ml/images/ml-edit-job.jpg rename to x-pack/docs/en/ml/images/ml-edit-job.jpg diff --git a/docs/en/ml/images/ml-gs-aggregations.jpg b/x-pack/docs/en/ml/images/ml-gs-aggregations.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-aggregations.jpg rename to x-pack/docs/en/ml/images/ml-gs-aggregations.jpg diff --git a/docs/en/ml/images/ml-gs-duration.jpg b/x-pack/docs/en/ml/images/ml-gs-duration.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-duration.jpg rename to x-pack/docs/en/ml/images/ml-gs-duration.jpg diff --git a/docs/en/ml/images/ml-gs-forecast-actual.jpg b/x-pack/docs/en/ml/images/ml-gs-forecast-actual.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-forecast-actual.jpg rename to x-pack/docs/en/ml/images/ml-gs-forecast-actual.jpg diff --git a/docs/en/ml/images/ml-gs-forecast-open.jpg b/x-pack/docs/en/ml/images/ml-gs-forecast-open.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-forecast-open.jpg rename to x-pack/docs/en/ml/images/ml-gs-forecast-open.jpg diff --git a/docs/en/ml/images/ml-gs-forecast-results.jpg b/x-pack/docs/en/ml/images/ml-gs-forecast-results.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-forecast-results.jpg rename to x-pack/docs/en/ml/images/ml-gs-forecast-results.jpg diff --git a/docs/en/ml/images/ml-gs-forecast.jpg b/x-pack/docs/en/ml/images/ml-gs-forecast.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-forecast.jpg rename to x-pack/docs/en/ml/images/ml-gs-forecast.jpg diff --git a/docs/en/ml/images/ml-gs-job-analysis.jpg b/x-pack/docs/en/ml/images/ml-gs-job-analysis.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job-analysis.jpg rename to x-pack/docs/en/ml/images/ml-gs-job-analysis.jpg diff --git a/docs/en/ml/images/ml-gs-job-forecast.jpg b/x-pack/docs/en/ml/images/ml-gs-job-forecast.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job-forecast.jpg rename to x-pack/docs/en/ml/images/ml-gs-job-forecast.jpg diff --git a/docs/en/ml/images/ml-gs-job1-analysis.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-analysis.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-analysis.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-analysis.jpg diff --git a/docs/en/ml/images/ml-gs-job1-anomalies.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-anomalies.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-anomalies.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-anomalies.jpg diff --git a/docs/en/ml/images/ml-gs-job1-datafeed.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-datafeed.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-datafeed.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-datafeed.jpg diff --git a/docs/en/ml/images/ml-gs-job1-explorer-anomaly.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-explorer-anomaly.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-explorer-anomaly.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-explorer-anomaly.jpg diff --git a/docs/en/ml/images/ml-gs-job1-explorer.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-explorer.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-explorer.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-explorer.jpg diff --git a/docs/en/ml/images/ml-gs-job1-manage1.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-manage1.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-manage1.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-manage1.jpg diff --git a/docs/en/ml/images/ml-gs-job1-results.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-results.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-results.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-results.jpg diff --git a/docs/en/ml/images/ml-gs-job1-time.jpg b/x-pack/docs/en/ml/images/ml-gs-job1-time.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1-time.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1-time.jpg diff --git a/docs/en/ml/images/ml-gs-job1.jpg b/x-pack/docs/en/ml/images/ml-gs-job1.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job1.jpg rename to x-pack/docs/en/ml/images/ml-gs-job1.jpg diff --git a/docs/en/ml/images/ml-gs-job2-explorer-anomaly.jpg b/x-pack/docs/en/ml/images/ml-gs-job2-explorer-anomaly.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job2-explorer-anomaly.jpg rename to x-pack/docs/en/ml/images/ml-gs-job2-explorer-anomaly.jpg diff --git a/docs/en/ml/images/ml-gs-job2-explorer-host.jpg b/x-pack/docs/en/ml/images/ml-gs-job2-explorer-host.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job2-explorer-host.jpg rename to x-pack/docs/en/ml/images/ml-gs-job2-explorer-host.jpg diff --git a/docs/en/ml/images/ml-gs-job2-explorer-table.jpg b/x-pack/docs/en/ml/images/ml-gs-job2-explorer-table.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job2-explorer-table.jpg rename to x-pack/docs/en/ml/images/ml-gs-job2-explorer-table.jpg diff --git a/docs/en/ml/images/ml-gs-job2-explorer.jpg b/x-pack/docs/en/ml/images/ml-gs-job2-explorer.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job2-explorer.jpg rename to x-pack/docs/en/ml/images/ml-gs-job2-explorer.jpg diff --git a/docs/en/ml/images/ml-gs-job2-split.jpg b/x-pack/docs/en/ml/images/ml-gs-job2-split.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-job2-split.jpg rename to x-pack/docs/en/ml/images/ml-gs-job2-split.jpg diff --git a/docs/en/ml/images/ml-gs-multi-job.jpg b/x-pack/docs/en/ml/images/ml-gs-multi-job.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-multi-job.jpg rename to x-pack/docs/en/ml/images/ml-gs-multi-job.jpg diff --git a/docs/en/ml/images/ml-gs-single-job.jpg b/x-pack/docs/en/ml/images/ml-gs-single-job.jpg similarity index 100% rename from docs/en/ml/images/ml-gs-single-job.jpg rename to x-pack/docs/en/ml/images/ml-gs-single-job.jpg diff --git a/docs/en/ml/images/ml-population-anomaly.jpg b/x-pack/docs/en/ml/images/ml-population-anomaly.jpg similarity index 100% rename from docs/en/ml/images/ml-population-anomaly.jpg rename to x-pack/docs/en/ml/images/ml-population-anomaly.jpg diff --git a/docs/en/ml/images/ml-population-job.jpg b/x-pack/docs/en/ml/images/ml-population-job.jpg similarity index 100% rename from docs/en/ml/images/ml-population-job.jpg rename to x-pack/docs/en/ml/images/ml-population-job.jpg diff --git a/docs/en/ml/images/ml-population-results.jpg b/x-pack/docs/en/ml/images/ml-population-results.jpg similarity index 100% rename from docs/en/ml/images/ml-population-results.jpg rename to x-pack/docs/en/ml/images/ml-population-results.jpg diff --git a/docs/en/ml/images/ml-scriptfields.jpg b/x-pack/docs/en/ml/images/ml-scriptfields.jpg similarity index 100% rename from docs/en/ml/images/ml-scriptfields.jpg rename to x-pack/docs/en/ml/images/ml-scriptfields.jpg diff --git a/docs/en/ml/images/ml-start-feed.jpg b/x-pack/docs/en/ml/images/ml-start-feed.jpg similarity index 100% rename from docs/en/ml/images/ml-start-feed.jpg rename to x-pack/docs/en/ml/images/ml-start-feed.jpg diff --git a/docs/en/ml/images/ml-stop-feed.jpg b/x-pack/docs/en/ml/images/ml-stop-feed.jpg similarity index 100% rename from docs/en/ml/images/ml-stop-feed.jpg rename to x-pack/docs/en/ml/images/ml-stop-feed.jpg diff --git a/docs/en/ml/images/ml.jpg b/x-pack/docs/en/ml/images/ml.jpg similarity index 100% rename from docs/en/ml/images/ml.jpg rename to x-pack/docs/en/ml/images/ml.jpg diff --git a/docs/en/ml/index.asciidoc b/x-pack/docs/en/ml/index.asciidoc similarity index 100% rename from docs/en/ml/index.asciidoc rename to x-pack/docs/en/ml/index.asciidoc diff --git a/docs/en/ml/jobs.asciidoc b/x-pack/docs/en/ml/jobs.asciidoc similarity index 100% rename from docs/en/ml/jobs.asciidoc rename to x-pack/docs/en/ml/jobs.asciidoc diff --git a/docs/en/ml/limitations.asciidoc b/x-pack/docs/en/ml/limitations.asciidoc similarity index 100% rename from docs/en/ml/limitations.asciidoc rename to x-pack/docs/en/ml/limitations.asciidoc diff --git a/docs/en/ml/overview.asciidoc b/x-pack/docs/en/ml/overview.asciidoc similarity index 100% rename from docs/en/ml/overview.asciidoc rename to x-pack/docs/en/ml/overview.asciidoc diff --git a/docs/en/ml/populations.asciidoc b/x-pack/docs/en/ml/populations.asciidoc similarity index 100% rename from docs/en/ml/populations.asciidoc rename to x-pack/docs/en/ml/populations.asciidoc diff --git a/docs/en/ml/stopping-ml.asciidoc b/x-pack/docs/en/ml/stopping-ml.asciidoc similarity index 100% rename from docs/en/ml/stopping-ml.asciidoc rename to x-pack/docs/en/ml/stopping-ml.asciidoc diff --git a/docs/en/ml/transforms.asciidoc b/x-pack/docs/en/ml/transforms.asciidoc similarity index 100% rename from docs/en/ml/transforms.asciidoc rename to x-pack/docs/en/ml/transforms.asciidoc diff --git a/docs/en/ml/troubleshooting.asciidoc b/x-pack/docs/en/ml/troubleshooting.asciidoc similarity index 100% rename from docs/en/ml/troubleshooting.asciidoc rename to x-pack/docs/en/ml/troubleshooting.asciidoc diff --git a/docs/en/monitoring/collectors.asciidoc b/x-pack/docs/en/monitoring/collectors.asciidoc similarity index 100% rename from docs/en/monitoring/collectors.asciidoc rename to x-pack/docs/en/monitoring/collectors.asciidoc diff --git a/docs/en/monitoring/configuring-monitoring.asciidoc b/x-pack/docs/en/monitoring/configuring-monitoring.asciidoc similarity index 100% rename from docs/en/monitoring/configuring-monitoring.asciidoc rename to x-pack/docs/en/monitoring/configuring-monitoring.asciidoc diff --git a/docs/en/monitoring/exporters.asciidoc b/x-pack/docs/en/monitoring/exporters.asciidoc similarity index 100% rename from docs/en/monitoring/exporters.asciidoc rename to x-pack/docs/en/monitoring/exporters.asciidoc diff --git a/docs/en/monitoring/http-export.asciidoc b/x-pack/docs/en/monitoring/http-export.asciidoc similarity index 100% rename from docs/en/monitoring/http-export.asciidoc rename to x-pack/docs/en/monitoring/http-export.asciidoc diff --git a/docs/en/monitoring/index.asciidoc b/x-pack/docs/en/monitoring/index.asciidoc similarity index 100% rename from docs/en/monitoring/index.asciidoc rename to x-pack/docs/en/monitoring/index.asciidoc diff --git a/docs/en/monitoring/indices.asciidoc b/x-pack/docs/en/monitoring/indices.asciidoc similarity index 100% rename from docs/en/monitoring/indices.asciidoc rename to x-pack/docs/en/monitoring/indices.asciidoc diff --git a/docs/en/monitoring/local-export.asciidoc b/x-pack/docs/en/monitoring/local-export.asciidoc similarity index 100% rename from docs/en/monitoring/local-export.asciidoc rename to x-pack/docs/en/monitoring/local-export.asciidoc diff --git a/docs/en/monitoring/pause-export.asciidoc b/x-pack/docs/en/monitoring/pause-export.asciidoc similarity index 100% rename from docs/en/monitoring/pause-export.asciidoc rename to x-pack/docs/en/monitoring/pause-export.asciidoc diff --git a/docs/en/node.asciidoc b/x-pack/docs/en/node.asciidoc similarity index 100% rename from docs/en/node.asciidoc rename to x-pack/docs/en/node.asciidoc diff --git a/docs/en/release-notes/7.0.0-alpha1.asciidoc b/x-pack/docs/en/release-notes/7.0.0-alpha1.asciidoc similarity index 100% rename from docs/en/release-notes/7.0.0-alpha1.asciidoc rename to x-pack/docs/en/release-notes/7.0.0-alpha1.asciidoc diff --git a/docs/en/release-notes/xpack-breaking.asciidoc b/x-pack/docs/en/release-notes/xpack-breaking.asciidoc similarity index 100% rename from docs/en/release-notes/xpack-breaking.asciidoc rename to x-pack/docs/en/release-notes/xpack-breaking.asciidoc diff --git a/docs/en/release-notes/xpack-xes.asciidoc b/x-pack/docs/en/release-notes/xpack-xes.asciidoc similarity index 100% rename from docs/en/release-notes/xpack-xes.asciidoc rename to x-pack/docs/en/release-notes/xpack-xes.asciidoc diff --git a/docs/en/rest-api/defs.asciidoc b/x-pack/docs/en/rest-api/defs.asciidoc similarity index 100% rename from docs/en/rest-api/defs.asciidoc rename to x-pack/docs/en/rest-api/defs.asciidoc diff --git a/docs/en/rest-api/graph/explore.asciidoc b/x-pack/docs/en/rest-api/graph/explore.asciidoc similarity index 100% rename from docs/en/rest-api/graph/explore.asciidoc rename to x-pack/docs/en/rest-api/graph/explore.asciidoc diff --git a/docs/en/rest-api/index.asciidoc b/x-pack/docs/en/rest-api/index.asciidoc similarity index 100% rename from docs/en/rest-api/index.asciidoc rename to x-pack/docs/en/rest-api/index.asciidoc diff --git a/docs/en/rest-api/info.asciidoc b/x-pack/docs/en/rest-api/info.asciidoc similarity index 100% rename from docs/en/rest-api/info.asciidoc rename to x-pack/docs/en/rest-api/info.asciidoc diff --git a/docs/en/rest-api/license/delete-license.asciidoc b/x-pack/docs/en/rest-api/license/delete-license.asciidoc similarity index 100% rename from docs/en/rest-api/license/delete-license.asciidoc rename to x-pack/docs/en/rest-api/license/delete-license.asciidoc diff --git a/docs/en/rest-api/license/get-basic-status.asciidoc b/x-pack/docs/en/rest-api/license/get-basic-status.asciidoc similarity index 100% rename from docs/en/rest-api/license/get-basic-status.asciidoc rename to x-pack/docs/en/rest-api/license/get-basic-status.asciidoc diff --git a/docs/en/rest-api/license/get-license.asciidoc b/x-pack/docs/en/rest-api/license/get-license.asciidoc similarity index 100% rename from docs/en/rest-api/license/get-license.asciidoc rename to x-pack/docs/en/rest-api/license/get-license.asciidoc diff --git a/docs/en/rest-api/license/get-trial-status.asciidoc b/x-pack/docs/en/rest-api/license/get-trial-status.asciidoc similarity index 100% rename from docs/en/rest-api/license/get-trial-status.asciidoc rename to x-pack/docs/en/rest-api/license/get-trial-status.asciidoc diff --git a/docs/en/rest-api/license/start-basic.asciidoc b/x-pack/docs/en/rest-api/license/start-basic.asciidoc similarity index 100% rename from docs/en/rest-api/license/start-basic.asciidoc rename to x-pack/docs/en/rest-api/license/start-basic.asciidoc diff --git a/docs/en/rest-api/license/start-trial.asciidoc b/x-pack/docs/en/rest-api/license/start-trial.asciidoc similarity index 100% rename from docs/en/rest-api/license/start-trial.asciidoc rename to x-pack/docs/en/rest-api/license/start-trial.asciidoc diff --git a/docs/en/rest-api/license/update-license.asciidoc b/x-pack/docs/en/rest-api/license/update-license.asciidoc similarity index 100% rename from docs/en/rest-api/license/update-license.asciidoc rename to x-pack/docs/en/rest-api/license/update-license.asciidoc diff --git a/docs/en/rest-api/licensing.asciidoc b/x-pack/docs/en/rest-api/licensing.asciidoc similarity index 100% rename from docs/en/rest-api/licensing.asciidoc rename to x-pack/docs/en/rest-api/licensing.asciidoc diff --git a/docs/en/rest-api/migration.asciidoc b/x-pack/docs/en/rest-api/migration.asciidoc similarity index 100% rename from docs/en/rest-api/migration.asciidoc rename to x-pack/docs/en/rest-api/migration.asciidoc diff --git a/docs/en/rest-api/migration/assistance.asciidoc b/x-pack/docs/en/rest-api/migration/assistance.asciidoc similarity index 100% rename from docs/en/rest-api/migration/assistance.asciidoc rename to x-pack/docs/en/rest-api/migration/assistance.asciidoc diff --git a/docs/en/rest-api/migration/deprecation.asciidoc b/x-pack/docs/en/rest-api/migration/deprecation.asciidoc similarity index 100% rename from docs/en/rest-api/migration/deprecation.asciidoc rename to x-pack/docs/en/rest-api/migration/deprecation.asciidoc diff --git a/docs/en/rest-api/migration/upgrade.asciidoc b/x-pack/docs/en/rest-api/migration/upgrade.asciidoc similarity index 100% rename from docs/en/rest-api/migration/upgrade.asciidoc rename to x-pack/docs/en/rest-api/migration/upgrade.asciidoc diff --git a/docs/en/rest-api/ml-api.asciidoc b/x-pack/docs/en/rest-api/ml-api.asciidoc similarity index 100% rename from docs/en/rest-api/ml-api.asciidoc rename to x-pack/docs/en/rest-api/ml-api.asciidoc diff --git a/docs/en/rest-api/ml/calendarresource.asciidoc b/x-pack/docs/en/rest-api/ml/calendarresource.asciidoc similarity index 100% rename from docs/en/rest-api/ml/calendarresource.asciidoc rename to x-pack/docs/en/rest-api/ml/calendarresource.asciidoc diff --git a/docs/en/rest-api/ml/close-job.asciidoc b/x-pack/docs/en/rest-api/ml/close-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/close-job.asciidoc rename to x-pack/docs/en/rest-api/ml/close-job.asciidoc diff --git a/docs/en/rest-api/ml/datafeedresource.asciidoc b/x-pack/docs/en/rest-api/ml/datafeedresource.asciidoc similarity index 100% rename from docs/en/rest-api/ml/datafeedresource.asciidoc rename to x-pack/docs/en/rest-api/ml/datafeedresource.asciidoc diff --git a/docs/en/rest-api/ml/delete-calendar-event.asciidoc b/x-pack/docs/en/rest-api/ml/delete-calendar-event.asciidoc similarity index 100% rename from docs/en/rest-api/ml/delete-calendar-event.asciidoc rename to x-pack/docs/en/rest-api/ml/delete-calendar-event.asciidoc diff --git a/docs/en/rest-api/ml/delete-calendar-job.asciidoc b/x-pack/docs/en/rest-api/ml/delete-calendar-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/delete-calendar-job.asciidoc rename to x-pack/docs/en/rest-api/ml/delete-calendar-job.asciidoc diff --git a/docs/en/rest-api/ml/delete-calendar.asciidoc b/x-pack/docs/en/rest-api/ml/delete-calendar.asciidoc similarity index 100% rename from docs/en/rest-api/ml/delete-calendar.asciidoc rename to x-pack/docs/en/rest-api/ml/delete-calendar.asciidoc diff --git a/docs/en/rest-api/ml/delete-datafeed.asciidoc b/x-pack/docs/en/rest-api/ml/delete-datafeed.asciidoc similarity index 100% rename from docs/en/rest-api/ml/delete-datafeed.asciidoc rename to x-pack/docs/en/rest-api/ml/delete-datafeed.asciidoc diff --git a/docs/en/rest-api/ml/delete-job.asciidoc b/x-pack/docs/en/rest-api/ml/delete-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/delete-job.asciidoc rename to x-pack/docs/en/rest-api/ml/delete-job.asciidoc diff --git a/docs/en/rest-api/ml/delete-snapshot.asciidoc b/x-pack/docs/en/rest-api/ml/delete-snapshot.asciidoc similarity index 100% rename from docs/en/rest-api/ml/delete-snapshot.asciidoc rename to x-pack/docs/en/rest-api/ml/delete-snapshot.asciidoc diff --git a/docs/en/rest-api/ml/eventresource.asciidoc b/x-pack/docs/en/rest-api/ml/eventresource.asciidoc similarity index 100% rename from docs/en/rest-api/ml/eventresource.asciidoc rename to x-pack/docs/en/rest-api/ml/eventresource.asciidoc diff --git a/docs/en/rest-api/ml/flush-job.asciidoc b/x-pack/docs/en/rest-api/ml/flush-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/flush-job.asciidoc rename to x-pack/docs/en/rest-api/ml/flush-job.asciidoc diff --git a/docs/en/rest-api/ml/forecast.asciidoc b/x-pack/docs/en/rest-api/ml/forecast.asciidoc similarity index 100% rename from docs/en/rest-api/ml/forecast.asciidoc rename to x-pack/docs/en/rest-api/ml/forecast.asciidoc diff --git a/docs/en/rest-api/ml/get-bucket.asciidoc b/x-pack/docs/en/rest-api/ml/get-bucket.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-bucket.asciidoc rename to x-pack/docs/en/rest-api/ml/get-bucket.asciidoc diff --git a/docs/en/rest-api/ml/get-calendar-event.asciidoc b/x-pack/docs/en/rest-api/ml/get-calendar-event.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-calendar-event.asciidoc rename to x-pack/docs/en/rest-api/ml/get-calendar-event.asciidoc diff --git a/docs/en/rest-api/ml/get-calendar.asciidoc b/x-pack/docs/en/rest-api/ml/get-calendar.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-calendar.asciidoc rename to x-pack/docs/en/rest-api/ml/get-calendar.asciidoc diff --git a/docs/en/rest-api/ml/get-category.asciidoc b/x-pack/docs/en/rest-api/ml/get-category.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-category.asciidoc rename to x-pack/docs/en/rest-api/ml/get-category.asciidoc diff --git a/docs/en/rest-api/ml/get-datafeed-stats.asciidoc b/x-pack/docs/en/rest-api/ml/get-datafeed-stats.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-datafeed-stats.asciidoc rename to x-pack/docs/en/rest-api/ml/get-datafeed-stats.asciidoc diff --git a/docs/en/rest-api/ml/get-datafeed.asciidoc b/x-pack/docs/en/rest-api/ml/get-datafeed.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-datafeed.asciidoc rename to x-pack/docs/en/rest-api/ml/get-datafeed.asciidoc diff --git a/docs/en/rest-api/ml/get-influencer.asciidoc b/x-pack/docs/en/rest-api/ml/get-influencer.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-influencer.asciidoc rename to x-pack/docs/en/rest-api/ml/get-influencer.asciidoc diff --git a/docs/en/rest-api/ml/get-job-stats.asciidoc b/x-pack/docs/en/rest-api/ml/get-job-stats.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-job-stats.asciidoc rename to x-pack/docs/en/rest-api/ml/get-job-stats.asciidoc diff --git a/docs/en/rest-api/ml/get-job.asciidoc b/x-pack/docs/en/rest-api/ml/get-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-job.asciidoc rename to x-pack/docs/en/rest-api/ml/get-job.asciidoc diff --git a/docs/en/rest-api/ml/get-overall-buckets.asciidoc b/x-pack/docs/en/rest-api/ml/get-overall-buckets.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-overall-buckets.asciidoc rename to x-pack/docs/en/rest-api/ml/get-overall-buckets.asciidoc diff --git a/docs/en/rest-api/ml/get-record.asciidoc b/x-pack/docs/en/rest-api/ml/get-record.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-record.asciidoc rename to x-pack/docs/en/rest-api/ml/get-record.asciidoc diff --git a/docs/en/rest-api/ml/get-snapshot.asciidoc b/x-pack/docs/en/rest-api/ml/get-snapshot.asciidoc similarity index 100% rename from docs/en/rest-api/ml/get-snapshot.asciidoc rename to x-pack/docs/en/rest-api/ml/get-snapshot.asciidoc diff --git a/docs/en/rest-api/ml/jobcounts.asciidoc b/x-pack/docs/en/rest-api/ml/jobcounts.asciidoc similarity index 100% rename from docs/en/rest-api/ml/jobcounts.asciidoc rename to x-pack/docs/en/rest-api/ml/jobcounts.asciidoc diff --git a/docs/en/rest-api/ml/jobresource.asciidoc b/x-pack/docs/en/rest-api/ml/jobresource.asciidoc similarity index 100% rename from docs/en/rest-api/ml/jobresource.asciidoc rename to x-pack/docs/en/rest-api/ml/jobresource.asciidoc diff --git a/docs/en/rest-api/ml/open-job.asciidoc b/x-pack/docs/en/rest-api/ml/open-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/open-job.asciidoc rename to x-pack/docs/en/rest-api/ml/open-job.asciidoc diff --git a/docs/en/rest-api/ml/post-calendar-event.asciidoc b/x-pack/docs/en/rest-api/ml/post-calendar-event.asciidoc similarity index 100% rename from docs/en/rest-api/ml/post-calendar-event.asciidoc rename to x-pack/docs/en/rest-api/ml/post-calendar-event.asciidoc diff --git a/docs/en/rest-api/ml/post-data.asciidoc b/x-pack/docs/en/rest-api/ml/post-data.asciidoc similarity index 100% rename from docs/en/rest-api/ml/post-data.asciidoc rename to x-pack/docs/en/rest-api/ml/post-data.asciidoc diff --git a/docs/en/rest-api/ml/preview-datafeed.asciidoc b/x-pack/docs/en/rest-api/ml/preview-datafeed.asciidoc similarity index 100% rename from docs/en/rest-api/ml/preview-datafeed.asciidoc rename to x-pack/docs/en/rest-api/ml/preview-datafeed.asciidoc diff --git a/docs/en/rest-api/ml/put-calendar-job.asciidoc b/x-pack/docs/en/rest-api/ml/put-calendar-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/put-calendar-job.asciidoc rename to x-pack/docs/en/rest-api/ml/put-calendar-job.asciidoc diff --git a/docs/en/rest-api/ml/put-calendar.asciidoc b/x-pack/docs/en/rest-api/ml/put-calendar.asciidoc similarity index 100% rename from docs/en/rest-api/ml/put-calendar.asciidoc rename to x-pack/docs/en/rest-api/ml/put-calendar.asciidoc diff --git a/docs/en/rest-api/ml/put-datafeed.asciidoc b/x-pack/docs/en/rest-api/ml/put-datafeed.asciidoc similarity index 100% rename from docs/en/rest-api/ml/put-datafeed.asciidoc rename to x-pack/docs/en/rest-api/ml/put-datafeed.asciidoc diff --git a/docs/en/rest-api/ml/put-job.asciidoc b/x-pack/docs/en/rest-api/ml/put-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/put-job.asciidoc rename to x-pack/docs/en/rest-api/ml/put-job.asciidoc diff --git a/docs/en/rest-api/ml/resultsresource.asciidoc b/x-pack/docs/en/rest-api/ml/resultsresource.asciidoc similarity index 100% rename from docs/en/rest-api/ml/resultsresource.asciidoc rename to x-pack/docs/en/rest-api/ml/resultsresource.asciidoc diff --git a/docs/en/rest-api/ml/revert-snapshot.asciidoc b/x-pack/docs/en/rest-api/ml/revert-snapshot.asciidoc similarity index 100% rename from docs/en/rest-api/ml/revert-snapshot.asciidoc rename to x-pack/docs/en/rest-api/ml/revert-snapshot.asciidoc diff --git a/docs/en/rest-api/ml/snapshotresource.asciidoc b/x-pack/docs/en/rest-api/ml/snapshotresource.asciidoc similarity index 100% rename from docs/en/rest-api/ml/snapshotresource.asciidoc rename to x-pack/docs/en/rest-api/ml/snapshotresource.asciidoc diff --git a/docs/en/rest-api/ml/start-datafeed.asciidoc b/x-pack/docs/en/rest-api/ml/start-datafeed.asciidoc similarity index 100% rename from docs/en/rest-api/ml/start-datafeed.asciidoc rename to x-pack/docs/en/rest-api/ml/start-datafeed.asciidoc diff --git a/docs/en/rest-api/ml/stop-datafeed.asciidoc b/x-pack/docs/en/rest-api/ml/stop-datafeed.asciidoc similarity index 100% rename from docs/en/rest-api/ml/stop-datafeed.asciidoc rename to x-pack/docs/en/rest-api/ml/stop-datafeed.asciidoc diff --git a/docs/en/rest-api/ml/update-datafeed.asciidoc b/x-pack/docs/en/rest-api/ml/update-datafeed.asciidoc similarity index 100% rename from docs/en/rest-api/ml/update-datafeed.asciidoc rename to x-pack/docs/en/rest-api/ml/update-datafeed.asciidoc diff --git a/docs/en/rest-api/ml/update-job.asciidoc b/x-pack/docs/en/rest-api/ml/update-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/update-job.asciidoc rename to x-pack/docs/en/rest-api/ml/update-job.asciidoc diff --git a/docs/en/rest-api/ml/update-snapshot.asciidoc b/x-pack/docs/en/rest-api/ml/update-snapshot.asciidoc similarity index 100% rename from docs/en/rest-api/ml/update-snapshot.asciidoc rename to x-pack/docs/en/rest-api/ml/update-snapshot.asciidoc diff --git a/docs/en/rest-api/ml/validate-detector.asciidoc b/x-pack/docs/en/rest-api/ml/validate-detector.asciidoc similarity index 100% rename from docs/en/rest-api/ml/validate-detector.asciidoc rename to x-pack/docs/en/rest-api/ml/validate-detector.asciidoc diff --git a/docs/en/rest-api/ml/validate-job.asciidoc b/x-pack/docs/en/rest-api/ml/validate-job.asciidoc similarity index 100% rename from docs/en/rest-api/ml/validate-job.asciidoc rename to x-pack/docs/en/rest-api/ml/validate-job.asciidoc diff --git a/docs/en/rest-api/rollup-api.asciidoc b/x-pack/docs/en/rest-api/rollup-api.asciidoc similarity index 100% rename from docs/en/rest-api/rollup-api.asciidoc rename to x-pack/docs/en/rest-api/rollup-api.asciidoc diff --git a/docs/en/rest-api/rollup/delete-job.asciidoc b/x-pack/docs/en/rest-api/rollup/delete-job.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/delete-job.asciidoc rename to x-pack/docs/en/rest-api/rollup/delete-job.asciidoc diff --git a/docs/en/rest-api/rollup/get-job.asciidoc b/x-pack/docs/en/rest-api/rollup/get-job.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/get-job.asciidoc rename to x-pack/docs/en/rest-api/rollup/get-job.asciidoc diff --git a/docs/en/rest-api/rollup/put-job.asciidoc b/x-pack/docs/en/rest-api/rollup/put-job.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/put-job.asciidoc rename to x-pack/docs/en/rest-api/rollup/put-job.asciidoc diff --git a/docs/en/rest-api/rollup/rollup-caps.asciidoc b/x-pack/docs/en/rest-api/rollup/rollup-caps.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/rollup-caps.asciidoc rename to x-pack/docs/en/rest-api/rollup/rollup-caps.asciidoc diff --git a/docs/en/rest-api/rollup/rollup-job-config.asciidoc b/x-pack/docs/en/rest-api/rollup/rollup-job-config.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/rollup-job-config.asciidoc rename to x-pack/docs/en/rest-api/rollup/rollup-job-config.asciidoc diff --git a/docs/en/rest-api/rollup/rollup-search.asciidoc b/x-pack/docs/en/rest-api/rollup/rollup-search.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/rollup-search.asciidoc rename to x-pack/docs/en/rest-api/rollup/rollup-search.asciidoc diff --git a/docs/en/rest-api/rollup/start-job.asciidoc b/x-pack/docs/en/rest-api/rollup/start-job.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/start-job.asciidoc rename to x-pack/docs/en/rest-api/rollup/start-job.asciidoc diff --git a/docs/en/rest-api/rollup/stop-job.asciidoc b/x-pack/docs/en/rest-api/rollup/stop-job.asciidoc similarity index 100% rename from docs/en/rest-api/rollup/stop-job.asciidoc rename to x-pack/docs/en/rest-api/rollup/stop-job.asciidoc diff --git a/docs/en/rest-api/security.asciidoc b/x-pack/docs/en/rest-api/security.asciidoc similarity index 100% rename from docs/en/rest-api/security.asciidoc rename to x-pack/docs/en/rest-api/security.asciidoc diff --git a/docs/en/rest-api/security/authenticate.asciidoc b/x-pack/docs/en/rest-api/security/authenticate.asciidoc similarity index 100% rename from docs/en/rest-api/security/authenticate.asciidoc rename to x-pack/docs/en/rest-api/security/authenticate.asciidoc diff --git a/docs/en/rest-api/security/change-password.asciidoc b/x-pack/docs/en/rest-api/security/change-password.asciidoc similarity index 100% rename from docs/en/rest-api/security/change-password.asciidoc rename to x-pack/docs/en/rest-api/security/change-password.asciidoc diff --git a/docs/en/rest-api/security/clear-cache.asciidoc b/x-pack/docs/en/rest-api/security/clear-cache.asciidoc similarity index 100% rename from docs/en/rest-api/security/clear-cache.asciidoc rename to x-pack/docs/en/rest-api/security/clear-cache.asciidoc diff --git a/docs/en/rest-api/security/privileges.asciidoc b/x-pack/docs/en/rest-api/security/privileges.asciidoc similarity index 100% rename from docs/en/rest-api/security/privileges.asciidoc rename to x-pack/docs/en/rest-api/security/privileges.asciidoc diff --git a/docs/en/rest-api/security/role-mapping.asciidoc b/x-pack/docs/en/rest-api/security/role-mapping.asciidoc similarity index 100% rename from docs/en/rest-api/security/role-mapping.asciidoc rename to x-pack/docs/en/rest-api/security/role-mapping.asciidoc diff --git a/docs/en/rest-api/security/roles.asciidoc b/x-pack/docs/en/rest-api/security/roles.asciidoc similarity index 100% rename from docs/en/rest-api/security/roles.asciidoc rename to x-pack/docs/en/rest-api/security/roles.asciidoc diff --git a/docs/en/rest-api/security/ssl.asciidoc b/x-pack/docs/en/rest-api/security/ssl.asciidoc similarity index 100% rename from docs/en/rest-api/security/ssl.asciidoc rename to x-pack/docs/en/rest-api/security/ssl.asciidoc diff --git a/docs/en/rest-api/security/tokens.asciidoc b/x-pack/docs/en/rest-api/security/tokens.asciidoc similarity index 100% rename from docs/en/rest-api/security/tokens.asciidoc rename to x-pack/docs/en/rest-api/security/tokens.asciidoc diff --git a/docs/en/rest-api/security/users.asciidoc b/x-pack/docs/en/rest-api/security/users.asciidoc similarity index 100% rename from docs/en/rest-api/security/users.asciidoc rename to x-pack/docs/en/rest-api/security/users.asciidoc diff --git a/docs/en/rest-api/watcher.asciidoc b/x-pack/docs/en/rest-api/watcher.asciidoc similarity index 100% rename from docs/en/rest-api/watcher.asciidoc rename to x-pack/docs/en/rest-api/watcher.asciidoc diff --git a/docs/en/rest-api/watcher/ack-watch.asciidoc b/x-pack/docs/en/rest-api/watcher/ack-watch.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/ack-watch.asciidoc rename to x-pack/docs/en/rest-api/watcher/ack-watch.asciidoc diff --git a/docs/en/rest-api/watcher/activate-watch.asciidoc b/x-pack/docs/en/rest-api/watcher/activate-watch.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/activate-watch.asciidoc rename to x-pack/docs/en/rest-api/watcher/activate-watch.asciidoc diff --git a/docs/en/rest-api/watcher/deactivate-watch.asciidoc b/x-pack/docs/en/rest-api/watcher/deactivate-watch.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/deactivate-watch.asciidoc rename to x-pack/docs/en/rest-api/watcher/deactivate-watch.asciidoc diff --git a/docs/en/rest-api/watcher/delete-watch.asciidoc b/x-pack/docs/en/rest-api/watcher/delete-watch.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/delete-watch.asciidoc rename to x-pack/docs/en/rest-api/watcher/delete-watch.asciidoc diff --git a/docs/en/rest-api/watcher/execute-watch.asciidoc b/x-pack/docs/en/rest-api/watcher/execute-watch.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/execute-watch.asciidoc rename to x-pack/docs/en/rest-api/watcher/execute-watch.asciidoc diff --git a/docs/en/rest-api/watcher/get-watch.asciidoc b/x-pack/docs/en/rest-api/watcher/get-watch.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/get-watch.asciidoc rename to x-pack/docs/en/rest-api/watcher/get-watch.asciidoc diff --git a/docs/en/rest-api/watcher/put-watch.asciidoc b/x-pack/docs/en/rest-api/watcher/put-watch.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/put-watch.asciidoc rename to x-pack/docs/en/rest-api/watcher/put-watch.asciidoc diff --git a/docs/en/rest-api/watcher/start.asciidoc b/x-pack/docs/en/rest-api/watcher/start.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/start.asciidoc rename to x-pack/docs/en/rest-api/watcher/start.asciidoc diff --git a/docs/en/rest-api/watcher/stats.asciidoc b/x-pack/docs/en/rest-api/watcher/stats.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/stats.asciidoc rename to x-pack/docs/en/rest-api/watcher/stats.asciidoc diff --git a/docs/en/rest-api/watcher/stop.asciidoc b/x-pack/docs/en/rest-api/watcher/stop.asciidoc similarity index 100% rename from docs/en/rest-api/watcher/stop.asciidoc rename to x-pack/docs/en/rest-api/watcher/stop.asciidoc diff --git a/docs/en/rollup/api-quickref.asciidoc b/x-pack/docs/en/rollup/api-quickref.asciidoc similarity index 100% rename from docs/en/rollup/api-quickref.asciidoc rename to x-pack/docs/en/rollup/api-quickref.asciidoc diff --git a/docs/en/rollup/index.asciidoc b/x-pack/docs/en/rollup/index.asciidoc similarity index 100% rename from docs/en/rollup/index.asciidoc rename to x-pack/docs/en/rollup/index.asciidoc diff --git a/docs/en/rollup/overview.asciidoc b/x-pack/docs/en/rollup/overview.asciidoc similarity index 100% rename from docs/en/rollup/overview.asciidoc rename to x-pack/docs/en/rollup/overview.asciidoc diff --git a/docs/en/rollup/rollup-getting-started.asciidoc b/x-pack/docs/en/rollup/rollup-getting-started.asciidoc similarity index 100% rename from docs/en/rollup/rollup-getting-started.asciidoc rename to x-pack/docs/en/rollup/rollup-getting-started.asciidoc diff --git a/docs/en/rollup/rollup-search-limitations.asciidoc b/x-pack/docs/en/rollup/rollup-search-limitations.asciidoc similarity index 100% rename from docs/en/rollup/rollup-search-limitations.asciidoc rename to x-pack/docs/en/rollup/rollup-search-limitations.asciidoc diff --git a/docs/en/rollup/understanding-groups.asciidoc b/x-pack/docs/en/rollup/understanding-groups.asciidoc similarity index 100% rename from docs/en/rollup/understanding-groups.asciidoc rename to x-pack/docs/en/rollup/understanding-groups.asciidoc diff --git a/docs/en/security/auditing.asciidoc b/x-pack/docs/en/security/auditing.asciidoc similarity index 100% rename from docs/en/security/auditing.asciidoc rename to x-pack/docs/en/security/auditing.asciidoc diff --git a/docs/en/security/authentication.asciidoc b/x-pack/docs/en/security/authentication.asciidoc similarity index 100% rename from docs/en/security/authentication.asciidoc rename to x-pack/docs/en/security/authentication.asciidoc diff --git a/docs/en/security/authentication/active-directory-realm.asciidoc b/x-pack/docs/en/security/authentication/active-directory-realm.asciidoc similarity index 100% rename from docs/en/security/authentication/active-directory-realm.asciidoc rename to x-pack/docs/en/security/authentication/active-directory-realm.asciidoc diff --git a/docs/en/security/authentication/anonymous-access.asciidoc b/x-pack/docs/en/security/authentication/anonymous-access.asciidoc similarity index 100% rename from docs/en/security/authentication/anonymous-access.asciidoc rename to x-pack/docs/en/security/authentication/anonymous-access.asciidoc diff --git a/docs/en/security/authentication/custom-realm.asciidoc b/x-pack/docs/en/security/authentication/custom-realm.asciidoc similarity index 100% rename from docs/en/security/authentication/custom-realm.asciidoc rename to x-pack/docs/en/security/authentication/custom-realm.asciidoc diff --git a/docs/en/security/authentication/file-realm.asciidoc b/x-pack/docs/en/security/authentication/file-realm.asciidoc similarity index 100% rename from docs/en/security/authentication/file-realm.asciidoc rename to x-pack/docs/en/security/authentication/file-realm.asciidoc diff --git a/docs/en/security/authentication/ldap-realm.asciidoc b/x-pack/docs/en/security/authentication/ldap-realm.asciidoc similarity index 100% rename from docs/en/security/authentication/ldap-realm.asciidoc rename to x-pack/docs/en/security/authentication/ldap-realm.asciidoc diff --git a/docs/en/security/authentication/native-realm.asciidoc b/x-pack/docs/en/security/authentication/native-realm.asciidoc similarity index 100% rename from docs/en/security/authentication/native-realm.asciidoc rename to x-pack/docs/en/security/authentication/native-realm.asciidoc diff --git a/docs/en/security/authentication/pki-realm.asciidoc b/x-pack/docs/en/security/authentication/pki-realm.asciidoc similarity index 100% rename from docs/en/security/authentication/pki-realm.asciidoc rename to x-pack/docs/en/security/authentication/pki-realm.asciidoc diff --git a/docs/en/security/authentication/saml-guide.asciidoc b/x-pack/docs/en/security/authentication/saml-guide.asciidoc similarity index 100% rename from docs/en/security/authentication/saml-guide.asciidoc rename to x-pack/docs/en/security/authentication/saml-guide.asciidoc diff --git a/docs/en/security/authentication/saml-realm.asciidoc b/x-pack/docs/en/security/authentication/saml-realm.asciidoc similarity index 100% rename from docs/en/security/authentication/saml-realm.asciidoc rename to x-pack/docs/en/security/authentication/saml-realm.asciidoc diff --git a/docs/en/security/authentication/user-cache.asciidoc b/x-pack/docs/en/security/authentication/user-cache.asciidoc similarity index 100% rename from docs/en/security/authentication/user-cache.asciidoc rename to x-pack/docs/en/security/authentication/user-cache.asciidoc diff --git a/docs/en/security/authorization.asciidoc b/x-pack/docs/en/security/authorization.asciidoc similarity index 100% rename from docs/en/security/authorization.asciidoc rename to x-pack/docs/en/security/authorization.asciidoc diff --git a/docs/en/security/authorization/alias-privileges.asciidoc b/x-pack/docs/en/security/authorization/alias-privileges.asciidoc similarity index 100% rename from docs/en/security/authorization/alias-privileges.asciidoc rename to x-pack/docs/en/security/authorization/alias-privileges.asciidoc diff --git a/docs/en/security/authorization/custom-roles-provider.asciidoc b/x-pack/docs/en/security/authorization/custom-roles-provider.asciidoc similarity index 100% rename from docs/en/security/authorization/custom-roles-provider.asciidoc rename to x-pack/docs/en/security/authorization/custom-roles-provider.asciidoc diff --git a/docs/en/security/authorization/field-and-document-access-control.asciidoc b/x-pack/docs/en/security/authorization/field-and-document-access-control.asciidoc similarity index 100% rename from docs/en/security/authorization/field-and-document-access-control.asciidoc rename to x-pack/docs/en/security/authorization/field-and-document-access-control.asciidoc diff --git a/docs/en/security/authorization/mapping-roles.asciidoc b/x-pack/docs/en/security/authorization/mapping-roles.asciidoc similarity index 100% rename from docs/en/security/authorization/mapping-roles.asciidoc rename to x-pack/docs/en/security/authorization/mapping-roles.asciidoc diff --git a/docs/en/security/authorization/run-as-privilege.asciidoc b/x-pack/docs/en/security/authorization/run-as-privilege.asciidoc similarity index 100% rename from docs/en/security/authorization/run-as-privilege.asciidoc rename to x-pack/docs/en/security/authorization/run-as-privilege.asciidoc diff --git a/docs/en/security/ccs-clients-integrations.asciidoc b/x-pack/docs/en/security/ccs-clients-integrations.asciidoc similarity index 100% rename from docs/en/security/ccs-clients-integrations.asciidoc rename to x-pack/docs/en/security/ccs-clients-integrations.asciidoc diff --git a/docs/en/security/ccs-clients-integrations/beats.asciidoc b/x-pack/docs/en/security/ccs-clients-integrations/beats.asciidoc similarity index 100% rename from docs/en/security/ccs-clients-integrations/beats.asciidoc rename to x-pack/docs/en/security/ccs-clients-integrations/beats.asciidoc diff --git a/docs/en/security/ccs-clients-integrations/cross-cluster.asciidoc b/x-pack/docs/en/security/ccs-clients-integrations/cross-cluster.asciidoc similarity index 100% rename from docs/en/security/ccs-clients-integrations/cross-cluster.asciidoc rename to x-pack/docs/en/security/ccs-clients-integrations/cross-cluster.asciidoc diff --git a/docs/en/security/ccs-clients-integrations/hadoop.asciidoc b/x-pack/docs/en/security/ccs-clients-integrations/hadoop.asciidoc similarity index 100% rename from docs/en/security/ccs-clients-integrations/hadoop.asciidoc rename to x-pack/docs/en/security/ccs-clients-integrations/hadoop.asciidoc diff --git a/docs/en/security/ccs-clients-integrations/http.asciidoc b/x-pack/docs/en/security/ccs-clients-integrations/http.asciidoc similarity index 100% rename from docs/en/security/ccs-clients-integrations/http.asciidoc rename to x-pack/docs/en/security/ccs-clients-integrations/http.asciidoc diff --git a/docs/en/security/ccs-clients-integrations/java.asciidoc b/x-pack/docs/en/security/ccs-clients-integrations/java.asciidoc similarity index 100% rename from docs/en/security/ccs-clients-integrations/java.asciidoc rename to x-pack/docs/en/security/ccs-clients-integrations/java.asciidoc diff --git a/docs/en/security/ccs-clients-integrations/monitoring.asciidoc b/x-pack/docs/en/security/ccs-clients-integrations/monitoring.asciidoc similarity index 100% rename from docs/en/security/ccs-clients-integrations/monitoring.asciidoc rename to x-pack/docs/en/security/ccs-clients-integrations/monitoring.asciidoc diff --git a/docs/en/security/configuring-es.asciidoc b/x-pack/docs/en/security/configuring-es.asciidoc similarity index 100% rename from docs/en/security/configuring-es.asciidoc rename to x-pack/docs/en/security/configuring-es.asciidoc diff --git a/docs/en/security/getting-started.asciidoc b/x-pack/docs/en/security/getting-started.asciidoc similarity index 100% rename from docs/en/security/getting-started.asciidoc rename to x-pack/docs/en/security/getting-started.asciidoc diff --git a/docs/en/security/gs-index.asciidoc b/x-pack/docs/en/security/gs-index.asciidoc similarity index 100% rename from docs/en/security/gs-index.asciidoc rename to x-pack/docs/en/security/gs-index.asciidoc diff --git a/docs/en/security/how-security-works.asciidoc b/x-pack/docs/en/security/how-security-works.asciidoc similarity index 100% rename from docs/en/security/how-security-works.asciidoc rename to x-pack/docs/en/security/how-security-works.asciidoc diff --git a/docs/en/security/images/kibana-login.jpg b/x-pack/docs/en/security/images/kibana-login.jpg similarity index 100% rename from docs/en/security/images/kibana-login.jpg rename to x-pack/docs/en/security/images/kibana-login.jpg diff --git a/docs/en/security/images/nexus.png b/x-pack/docs/en/security/images/nexus.png similarity index 100% rename from docs/en/security/images/nexus.png rename to x-pack/docs/en/security/images/nexus.png diff --git a/docs/en/security/index.asciidoc b/x-pack/docs/en/security/index.asciidoc similarity index 100% rename from docs/en/security/index.asciidoc rename to x-pack/docs/en/security/index.asciidoc diff --git a/docs/en/security/limitations.asciidoc b/x-pack/docs/en/security/limitations.asciidoc similarity index 100% rename from docs/en/security/limitations.asciidoc rename to x-pack/docs/en/security/limitations.asciidoc diff --git a/docs/en/security/reference.asciidoc b/x-pack/docs/en/security/reference.asciidoc similarity index 100% rename from docs/en/security/reference.asciidoc rename to x-pack/docs/en/security/reference.asciidoc diff --git a/docs/en/security/reference/files.asciidoc b/x-pack/docs/en/security/reference/files.asciidoc similarity index 100% rename from docs/en/security/reference/files.asciidoc rename to x-pack/docs/en/security/reference/files.asciidoc diff --git a/docs/en/security/reference/privileges.asciidoc b/x-pack/docs/en/security/reference/privileges.asciidoc similarity index 100% rename from docs/en/security/reference/privileges.asciidoc rename to x-pack/docs/en/security/reference/privileges.asciidoc diff --git a/docs/en/security/securing-communications.asciidoc b/x-pack/docs/en/security/securing-communications.asciidoc similarity index 100% rename from docs/en/security/securing-communications.asciidoc rename to x-pack/docs/en/security/securing-communications.asciidoc diff --git a/docs/en/security/securing-communications/configuring-tls-docker.asciidoc b/x-pack/docs/en/security/securing-communications/configuring-tls-docker.asciidoc similarity index 100% rename from docs/en/security/securing-communications/configuring-tls-docker.asciidoc rename to x-pack/docs/en/security/securing-communications/configuring-tls-docker.asciidoc diff --git a/docs/en/security/securing-communications/enabling-cipher-suites.asciidoc b/x-pack/docs/en/security/securing-communications/enabling-cipher-suites.asciidoc similarity index 100% rename from docs/en/security/securing-communications/enabling-cipher-suites.asciidoc rename to x-pack/docs/en/security/securing-communications/enabling-cipher-suites.asciidoc diff --git a/docs/en/security/securing-communications/node-certificates.asciidoc b/x-pack/docs/en/security/securing-communications/node-certificates.asciidoc similarity index 100% rename from docs/en/security/securing-communications/node-certificates.asciidoc rename to x-pack/docs/en/security/securing-communications/node-certificates.asciidoc diff --git a/docs/en/security/securing-communications/securing-elasticsearch.asciidoc b/x-pack/docs/en/security/securing-communications/securing-elasticsearch.asciidoc similarity index 100% rename from docs/en/security/securing-communications/securing-elasticsearch.asciidoc rename to x-pack/docs/en/security/securing-communications/securing-elasticsearch.asciidoc diff --git a/docs/en/security/securing-communications/separating-node-client-traffic.asciidoc b/x-pack/docs/en/security/securing-communications/separating-node-client-traffic.asciidoc similarity index 100% rename from docs/en/security/securing-communications/separating-node-client-traffic.asciidoc rename to x-pack/docs/en/security/securing-communications/separating-node-client-traffic.asciidoc diff --git a/docs/en/security/securing-communications/setting-up-ssl.asciidoc b/x-pack/docs/en/security/securing-communications/setting-up-ssl.asciidoc similarity index 100% rename from docs/en/security/securing-communications/setting-up-ssl.asciidoc rename to x-pack/docs/en/security/securing-communications/setting-up-ssl.asciidoc diff --git a/docs/en/security/securing-communications/tls-http.asciidoc b/x-pack/docs/en/security/securing-communications/tls-http.asciidoc similarity index 100% rename from docs/en/security/securing-communications/tls-http.asciidoc rename to x-pack/docs/en/security/securing-communications/tls-http.asciidoc diff --git a/docs/en/security/securing-communications/tls-transport.asciidoc b/x-pack/docs/en/security/securing-communications/tls-transport.asciidoc similarity index 100% rename from docs/en/security/securing-communications/tls-transport.asciidoc rename to x-pack/docs/en/security/securing-communications/tls-transport.asciidoc diff --git a/docs/en/security/troubleshooting.asciidoc b/x-pack/docs/en/security/troubleshooting.asciidoc similarity index 100% rename from docs/en/security/troubleshooting.asciidoc rename to x-pack/docs/en/security/troubleshooting.asciidoc diff --git a/docs/en/security/using-ip-filtering.asciidoc b/x-pack/docs/en/security/using-ip-filtering.asciidoc similarity index 100% rename from docs/en/security/using-ip-filtering.asciidoc rename to x-pack/docs/en/security/using-ip-filtering.asciidoc diff --git a/docs/en/settings/audit-settings.asciidoc b/x-pack/docs/en/settings/audit-settings.asciidoc similarity index 100% rename from docs/en/settings/audit-settings.asciidoc rename to x-pack/docs/en/settings/audit-settings.asciidoc diff --git a/docs/en/settings/configuring-xes.asciidoc b/x-pack/docs/en/settings/configuring-xes.asciidoc similarity index 100% rename from docs/en/settings/configuring-xes.asciidoc rename to x-pack/docs/en/settings/configuring-xes.asciidoc diff --git a/docs/en/settings/images/monitoring-es-cgroup-true.png b/x-pack/docs/en/settings/images/monitoring-es-cgroup-true.png similarity index 100% rename from docs/en/settings/images/monitoring-es-cgroup-true.png rename to x-pack/docs/en/settings/images/monitoring-es-cgroup-true.png diff --git a/docs/en/settings/license-settings.asciidoc b/x-pack/docs/en/settings/license-settings.asciidoc similarity index 100% rename from docs/en/settings/license-settings.asciidoc rename to x-pack/docs/en/settings/license-settings.asciidoc diff --git a/docs/en/settings/ml-settings.asciidoc b/x-pack/docs/en/settings/ml-settings.asciidoc similarity index 100% rename from docs/en/settings/ml-settings.asciidoc rename to x-pack/docs/en/settings/ml-settings.asciidoc diff --git a/docs/en/settings/monitoring-settings.asciidoc b/x-pack/docs/en/settings/monitoring-settings.asciidoc similarity index 100% rename from docs/en/settings/monitoring-settings.asciidoc rename to x-pack/docs/en/settings/monitoring-settings.asciidoc diff --git a/docs/en/settings/notification-settings.asciidoc b/x-pack/docs/en/settings/notification-settings.asciidoc similarity index 100% rename from docs/en/settings/notification-settings.asciidoc rename to x-pack/docs/en/settings/notification-settings.asciidoc diff --git a/docs/en/settings/security-settings.asciidoc b/x-pack/docs/en/settings/security-settings.asciidoc similarity index 100% rename from docs/en/settings/security-settings.asciidoc rename to x-pack/docs/en/settings/security-settings.asciidoc diff --git a/docs/en/settings/sql-settings.asciidoc b/x-pack/docs/en/settings/sql-settings.asciidoc similarity index 100% rename from docs/en/settings/sql-settings.asciidoc rename to x-pack/docs/en/settings/sql-settings.asciidoc diff --git a/docs/en/settings/ssl-settings.asciidoc b/x-pack/docs/en/settings/ssl-settings.asciidoc similarity index 100% rename from docs/en/settings/ssl-settings.asciidoc rename to x-pack/docs/en/settings/ssl-settings.asciidoc diff --git a/docs/en/setup/bootstrap-checks-xes.asciidoc b/x-pack/docs/en/setup/bootstrap-checks-xes.asciidoc similarity index 100% rename from docs/en/setup/bootstrap-checks-xes.asciidoc rename to x-pack/docs/en/setup/bootstrap-checks-xes.asciidoc diff --git a/docs/en/setup/docker.asciidoc b/x-pack/docs/en/setup/docker.asciidoc similarity index 100% rename from docs/en/setup/docker.asciidoc rename to x-pack/docs/en/setup/docker.asciidoc diff --git a/docs/en/setup/images/ElasticsearchFlow.jpg b/x-pack/docs/en/setup/images/ElasticsearchFlow.jpg similarity index 100% rename from docs/en/setup/images/ElasticsearchFlow.jpg rename to x-pack/docs/en/setup/images/ElasticsearchFlow.jpg diff --git a/docs/en/setup/next-steps.asciidoc b/x-pack/docs/en/setup/next-steps.asciidoc similarity index 100% rename from docs/en/setup/next-steps.asciidoc rename to x-pack/docs/en/setup/next-steps.asciidoc diff --git a/docs/en/setup/setup-xclient.asciidoc b/x-pack/docs/en/setup/setup-xclient.asciidoc similarity index 100% rename from docs/en/setup/setup-xclient.asciidoc rename to x-pack/docs/en/setup/setup-xclient.asciidoc diff --git a/docs/en/setup/setup-xes.asciidoc b/x-pack/docs/en/setup/setup-xes.asciidoc similarity index 100% rename from docs/en/setup/setup-xes.asciidoc rename to x-pack/docs/en/setup/setup-xes.asciidoc diff --git a/docs/en/setup/xpack-indices.asciidoc b/x-pack/docs/en/setup/xpack-indices.asciidoc similarity index 100% rename from docs/en/setup/xpack-indices.asciidoc rename to x-pack/docs/en/setup/xpack-indices.asciidoc diff --git a/docs/en/setup/xpack-passwords.asciidoc b/x-pack/docs/en/setup/xpack-passwords.asciidoc similarity index 100% rename from docs/en/setup/xpack-passwords.asciidoc rename to x-pack/docs/en/setup/xpack-passwords.asciidoc diff --git a/docs/en/setup/xpack-tls.asciidoc b/x-pack/docs/en/setup/xpack-tls.asciidoc similarity index 100% rename from docs/en/setup/xpack-tls.asciidoc rename to x-pack/docs/en/setup/xpack-tls.asciidoc diff --git a/docs/en/sql/endpoints/cli.asciidoc b/x-pack/docs/en/sql/endpoints/cli.asciidoc similarity index 100% rename from docs/en/sql/endpoints/cli.asciidoc rename to x-pack/docs/en/sql/endpoints/cli.asciidoc diff --git a/docs/en/sql/endpoints/index.asciidoc b/x-pack/docs/en/sql/endpoints/index.asciidoc similarity index 100% rename from docs/en/sql/endpoints/index.asciidoc rename to x-pack/docs/en/sql/endpoints/index.asciidoc diff --git a/docs/en/sql/endpoints/jdbc.asciidoc b/x-pack/docs/en/sql/endpoints/jdbc.asciidoc similarity index 100% rename from docs/en/sql/endpoints/jdbc.asciidoc rename to x-pack/docs/en/sql/endpoints/jdbc.asciidoc diff --git a/docs/en/sql/endpoints/rest.asciidoc b/x-pack/docs/en/sql/endpoints/rest.asciidoc similarity index 100% rename from docs/en/sql/endpoints/rest.asciidoc rename to x-pack/docs/en/sql/endpoints/rest.asciidoc diff --git a/docs/en/sql/endpoints/translate.asciidoc b/x-pack/docs/en/sql/endpoints/translate.asciidoc similarity index 100% rename from docs/en/sql/endpoints/translate.asciidoc rename to x-pack/docs/en/sql/endpoints/translate.asciidoc diff --git a/docs/en/sql/functions/index.asciidoc b/x-pack/docs/en/sql/functions/index.asciidoc similarity index 100% rename from docs/en/sql/functions/index.asciidoc rename to x-pack/docs/en/sql/functions/index.asciidoc diff --git a/docs/en/sql/getting-started.asciidoc b/x-pack/docs/en/sql/getting-started.asciidoc similarity index 100% rename from docs/en/sql/getting-started.asciidoc rename to x-pack/docs/en/sql/getting-started.asciidoc diff --git a/docs/en/sql/index.asciidoc b/x-pack/docs/en/sql/index.asciidoc similarity index 100% rename from docs/en/sql/index.asciidoc rename to x-pack/docs/en/sql/index.asciidoc diff --git a/docs/en/sql/language/data-types.asciidoc b/x-pack/docs/en/sql/language/data-types.asciidoc similarity index 100% rename from docs/en/sql/language/data-types.asciidoc rename to x-pack/docs/en/sql/language/data-types.asciidoc diff --git a/docs/en/sql/language/index.asciidoc b/x-pack/docs/en/sql/language/index.asciidoc similarity index 100% rename from docs/en/sql/language/index.asciidoc rename to x-pack/docs/en/sql/language/index.asciidoc diff --git a/docs/en/sql/language/reserved.asciidoc b/x-pack/docs/en/sql/language/reserved.asciidoc similarity index 100% rename from docs/en/sql/language/reserved.asciidoc rename to x-pack/docs/en/sql/language/reserved.asciidoc diff --git a/docs/en/sql/language/syntax.asciidoc b/x-pack/docs/en/sql/language/syntax.asciidoc similarity index 100% rename from docs/en/sql/language/syntax.asciidoc rename to x-pack/docs/en/sql/language/syntax.asciidoc diff --git a/docs/en/sql/standalone.asciidoc b/x-pack/docs/en/sql/standalone.asciidoc similarity index 100% rename from docs/en/sql/standalone.asciidoc rename to x-pack/docs/en/sql/standalone.asciidoc diff --git a/docs/en/watcher/actions.asciidoc b/x-pack/docs/en/watcher/actions.asciidoc similarity index 100% rename from docs/en/watcher/actions.asciidoc rename to x-pack/docs/en/watcher/actions.asciidoc diff --git a/docs/en/watcher/actions/email.asciidoc b/x-pack/docs/en/watcher/actions/email.asciidoc similarity index 100% rename from docs/en/watcher/actions/email.asciidoc rename to x-pack/docs/en/watcher/actions/email.asciidoc diff --git a/docs/en/watcher/actions/hipchat.asciidoc b/x-pack/docs/en/watcher/actions/hipchat.asciidoc similarity index 100% rename from docs/en/watcher/actions/hipchat.asciidoc rename to x-pack/docs/en/watcher/actions/hipchat.asciidoc diff --git a/docs/en/watcher/actions/index.asciidoc b/x-pack/docs/en/watcher/actions/index.asciidoc similarity index 100% rename from docs/en/watcher/actions/index.asciidoc rename to x-pack/docs/en/watcher/actions/index.asciidoc diff --git a/docs/en/watcher/actions/jira.asciidoc b/x-pack/docs/en/watcher/actions/jira.asciidoc similarity index 100% rename from docs/en/watcher/actions/jira.asciidoc rename to x-pack/docs/en/watcher/actions/jira.asciidoc diff --git a/docs/en/watcher/actions/logging.asciidoc b/x-pack/docs/en/watcher/actions/logging.asciidoc similarity index 100% rename from docs/en/watcher/actions/logging.asciidoc rename to x-pack/docs/en/watcher/actions/logging.asciidoc diff --git a/docs/en/watcher/actions/pagerduty.asciidoc b/x-pack/docs/en/watcher/actions/pagerduty.asciidoc similarity index 100% rename from docs/en/watcher/actions/pagerduty.asciidoc rename to x-pack/docs/en/watcher/actions/pagerduty.asciidoc diff --git a/docs/en/watcher/actions/slack.asciidoc b/x-pack/docs/en/watcher/actions/slack.asciidoc similarity index 100% rename from docs/en/watcher/actions/slack.asciidoc rename to x-pack/docs/en/watcher/actions/slack.asciidoc diff --git a/docs/en/watcher/actions/webhook.asciidoc b/x-pack/docs/en/watcher/actions/webhook.asciidoc similarity index 100% rename from docs/en/watcher/actions/webhook.asciidoc rename to x-pack/docs/en/watcher/actions/webhook.asciidoc diff --git a/docs/en/watcher/condition.asciidoc b/x-pack/docs/en/watcher/condition.asciidoc similarity index 100% rename from docs/en/watcher/condition.asciidoc rename to x-pack/docs/en/watcher/condition.asciidoc diff --git a/docs/en/watcher/condition/always.asciidoc b/x-pack/docs/en/watcher/condition/always.asciidoc similarity index 100% rename from docs/en/watcher/condition/always.asciidoc rename to x-pack/docs/en/watcher/condition/always.asciidoc diff --git a/docs/en/watcher/condition/array-compare.asciidoc b/x-pack/docs/en/watcher/condition/array-compare.asciidoc similarity index 100% rename from docs/en/watcher/condition/array-compare.asciidoc rename to x-pack/docs/en/watcher/condition/array-compare.asciidoc diff --git a/docs/en/watcher/condition/compare.asciidoc b/x-pack/docs/en/watcher/condition/compare.asciidoc similarity index 100% rename from docs/en/watcher/condition/compare.asciidoc rename to x-pack/docs/en/watcher/condition/compare.asciidoc diff --git a/docs/en/watcher/condition/never.asciidoc b/x-pack/docs/en/watcher/condition/never.asciidoc similarity index 100% rename from docs/en/watcher/condition/never.asciidoc rename to x-pack/docs/en/watcher/condition/never.asciidoc diff --git a/docs/en/watcher/condition/script.asciidoc b/x-pack/docs/en/watcher/condition/script.asciidoc similarity index 100% rename from docs/en/watcher/condition/script.asciidoc rename to x-pack/docs/en/watcher/condition/script.asciidoc diff --git a/docs/en/watcher/customizing-watches.asciidoc b/x-pack/docs/en/watcher/customizing-watches.asciidoc similarity index 100% rename from docs/en/watcher/customizing-watches.asciidoc rename to x-pack/docs/en/watcher/customizing-watches.asciidoc diff --git a/docs/en/watcher/encrypting-data.asciidoc b/x-pack/docs/en/watcher/encrypting-data.asciidoc similarity index 100% rename from docs/en/watcher/encrypting-data.asciidoc rename to x-pack/docs/en/watcher/encrypting-data.asciidoc diff --git a/docs/en/watcher/example-watches.asciidoc b/x-pack/docs/en/watcher/example-watches.asciidoc similarity index 100% rename from docs/en/watcher/example-watches.asciidoc rename to x-pack/docs/en/watcher/example-watches.asciidoc diff --git a/docs/en/watcher/example-watches/example-watch-clusterstatus.asciidoc b/x-pack/docs/en/watcher/example-watches/example-watch-clusterstatus.asciidoc similarity index 100% rename from docs/en/watcher/example-watches/example-watch-clusterstatus.asciidoc rename to x-pack/docs/en/watcher/example-watches/example-watch-clusterstatus.asciidoc diff --git a/docs/en/watcher/example-watches/example-watch-meetupdata.asciidoc b/x-pack/docs/en/watcher/example-watches/example-watch-meetupdata.asciidoc similarity index 100% rename from docs/en/watcher/example-watches/example-watch-meetupdata.asciidoc rename to x-pack/docs/en/watcher/example-watches/example-watch-meetupdata.asciidoc diff --git a/docs/en/watcher/example-watches/watching-time-series-data.asciidoc b/x-pack/docs/en/watcher/example-watches/watching-time-series-data.asciidoc similarity index 100% rename from docs/en/watcher/example-watches/watching-time-series-data.asciidoc rename to x-pack/docs/en/watcher/example-watches/watching-time-series-data.asciidoc diff --git a/docs/en/watcher/getting-started.asciidoc b/x-pack/docs/en/watcher/getting-started.asciidoc similarity index 100% rename from docs/en/watcher/getting-started.asciidoc rename to x-pack/docs/en/watcher/getting-started.asciidoc diff --git a/docs/en/watcher/gs-index.asciidoc b/x-pack/docs/en/watcher/gs-index.asciidoc similarity index 100% rename from docs/en/watcher/gs-index.asciidoc rename to x-pack/docs/en/watcher/gs-index.asciidoc diff --git a/docs/en/watcher/how-watcher-works.asciidoc b/x-pack/docs/en/watcher/how-watcher-works.asciidoc similarity index 100% rename from docs/en/watcher/how-watcher-works.asciidoc rename to x-pack/docs/en/watcher/how-watcher-works.asciidoc diff --git a/docs/en/watcher/images/action-throttling.jpg b/x-pack/docs/en/watcher/images/action-throttling.jpg similarity index 100% rename from docs/en/watcher/images/action-throttling.jpg rename to x-pack/docs/en/watcher/images/action-throttling.jpg diff --git a/docs/en/watcher/images/hipchat-copy-room-token.jpg b/x-pack/docs/en/watcher/images/hipchat-copy-room-token.jpg similarity index 100% rename from docs/en/watcher/images/hipchat-copy-room-token.jpg rename to x-pack/docs/en/watcher/images/hipchat-copy-room-token.jpg diff --git a/docs/en/watcher/images/hipchat-copy-user-token.jpg b/x-pack/docs/en/watcher/images/hipchat-copy-user-token.jpg similarity index 100% rename from docs/en/watcher/images/hipchat-copy-user-token.jpg rename to x-pack/docs/en/watcher/images/hipchat-copy-user-token.jpg diff --git a/docs/en/watcher/images/hipchat-copy-v1-token.jpg b/x-pack/docs/en/watcher/images/hipchat-copy-v1-token.jpg similarity index 100% rename from docs/en/watcher/images/hipchat-copy-v1-token.jpg rename to x-pack/docs/en/watcher/images/hipchat-copy-v1-token.jpg diff --git a/docs/en/watcher/images/hipchat-generate-room-token.jpg b/x-pack/docs/en/watcher/images/hipchat-generate-room-token.jpg similarity index 100% rename from docs/en/watcher/images/hipchat-generate-room-token.jpg rename to x-pack/docs/en/watcher/images/hipchat-generate-room-token.jpg diff --git a/docs/en/watcher/images/hipchat-generate-user-token.jpg b/x-pack/docs/en/watcher/images/hipchat-generate-user-token.jpg similarity index 100% rename from docs/en/watcher/images/hipchat-generate-user-token.jpg rename to x-pack/docs/en/watcher/images/hipchat-generate-user-token.jpg diff --git a/docs/en/watcher/images/hipchat-generate-v1-token.jpg b/x-pack/docs/en/watcher/images/hipchat-generate-v1-token.jpg similarity index 100% rename from docs/en/watcher/images/hipchat-generate-v1-token.jpg rename to x-pack/docs/en/watcher/images/hipchat-generate-v1-token.jpg diff --git a/docs/en/watcher/images/hipchat-integration-example.png b/x-pack/docs/en/watcher/images/hipchat-integration-example.png similarity index 100% rename from docs/en/watcher/images/hipchat-integration-example.png rename to x-pack/docs/en/watcher/images/hipchat-integration-example.png diff --git a/docs/en/watcher/images/pagerduty-integrations.jpg b/x-pack/docs/en/watcher/images/pagerduty-integrations.jpg similarity index 100% rename from docs/en/watcher/images/pagerduty-integrations.jpg rename to x-pack/docs/en/watcher/images/pagerduty-integrations.jpg diff --git a/docs/en/watcher/images/pagerduty-services.jpg b/x-pack/docs/en/watcher/images/pagerduty-services.jpg similarity index 100% rename from docs/en/watcher/images/pagerduty-services.jpg rename to x-pack/docs/en/watcher/images/pagerduty-services.jpg diff --git a/docs/en/watcher/images/slack-add-webhook-integration.jpg b/x-pack/docs/en/watcher/images/slack-add-webhook-integration.jpg similarity index 100% rename from docs/en/watcher/images/slack-add-webhook-integration.jpg rename to x-pack/docs/en/watcher/images/slack-add-webhook-integration.jpg diff --git a/docs/en/watcher/images/slack-copy-webhook-url.jpg b/x-pack/docs/en/watcher/images/slack-copy-webhook-url.jpg similarity index 100% rename from docs/en/watcher/images/slack-copy-webhook-url.jpg rename to x-pack/docs/en/watcher/images/slack-copy-webhook-url.jpg diff --git a/docs/en/watcher/images/watch-execution.jpg b/x-pack/docs/en/watcher/images/watch-execution.jpg similarity index 100% rename from docs/en/watcher/images/watch-execution.jpg rename to x-pack/docs/en/watcher/images/watch-execution.jpg diff --git a/docs/en/watcher/images/watcher-kibana-dashboard.png b/x-pack/docs/en/watcher/images/watcher-kibana-dashboard.png similarity index 100% rename from docs/en/watcher/images/watcher-kibana-dashboard.png rename to x-pack/docs/en/watcher/images/watcher-kibana-dashboard.png diff --git a/docs/en/watcher/images/watcher-ui-edit-watch.png b/x-pack/docs/en/watcher/images/watcher-ui-edit-watch.png similarity index 100% rename from docs/en/watcher/images/watcher-ui-edit-watch.png rename to x-pack/docs/en/watcher/images/watcher-ui-edit-watch.png diff --git a/docs/en/watcher/images/watcher.graffle b/x-pack/docs/en/watcher/images/watcher.graffle similarity index 100% rename from docs/en/watcher/images/watcher.graffle rename to x-pack/docs/en/watcher/images/watcher.graffle diff --git a/docs/en/watcher/index.asciidoc b/x-pack/docs/en/watcher/index.asciidoc similarity index 100% rename from docs/en/watcher/index.asciidoc rename to x-pack/docs/en/watcher/index.asciidoc diff --git a/docs/en/watcher/input.asciidoc b/x-pack/docs/en/watcher/input.asciidoc similarity index 100% rename from docs/en/watcher/input.asciidoc rename to x-pack/docs/en/watcher/input.asciidoc diff --git a/docs/en/watcher/input/chain.asciidoc b/x-pack/docs/en/watcher/input/chain.asciidoc similarity index 100% rename from docs/en/watcher/input/chain.asciidoc rename to x-pack/docs/en/watcher/input/chain.asciidoc diff --git a/docs/en/watcher/input/http.asciidoc b/x-pack/docs/en/watcher/input/http.asciidoc similarity index 100% rename from docs/en/watcher/input/http.asciidoc rename to x-pack/docs/en/watcher/input/http.asciidoc diff --git a/docs/en/watcher/input/search.asciidoc b/x-pack/docs/en/watcher/input/search.asciidoc similarity index 100% rename from docs/en/watcher/input/search.asciidoc rename to x-pack/docs/en/watcher/input/search.asciidoc diff --git a/docs/en/watcher/input/simple.asciidoc b/x-pack/docs/en/watcher/input/simple.asciidoc similarity index 100% rename from docs/en/watcher/input/simple.asciidoc rename to x-pack/docs/en/watcher/input/simple.asciidoc diff --git a/docs/en/watcher/java.asciidoc b/x-pack/docs/en/watcher/java.asciidoc similarity index 100% rename from docs/en/watcher/java.asciidoc rename to x-pack/docs/en/watcher/java.asciidoc diff --git a/docs/en/watcher/java/ack-watch.asciidoc b/x-pack/docs/en/watcher/java/ack-watch.asciidoc similarity index 100% rename from docs/en/watcher/java/ack-watch.asciidoc rename to x-pack/docs/en/watcher/java/ack-watch.asciidoc diff --git a/docs/en/watcher/java/activate-watch.asciidoc b/x-pack/docs/en/watcher/java/activate-watch.asciidoc similarity index 100% rename from docs/en/watcher/java/activate-watch.asciidoc rename to x-pack/docs/en/watcher/java/activate-watch.asciidoc diff --git a/docs/en/watcher/java/deactivate-watch.asciidoc b/x-pack/docs/en/watcher/java/deactivate-watch.asciidoc similarity index 100% rename from docs/en/watcher/java/deactivate-watch.asciidoc rename to x-pack/docs/en/watcher/java/deactivate-watch.asciidoc diff --git a/docs/en/watcher/java/delete-watch.asciidoc b/x-pack/docs/en/watcher/java/delete-watch.asciidoc similarity index 100% rename from docs/en/watcher/java/delete-watch.asciidoc rename to x-pack/docs/en/watcher/java/delete-watch.asciidoc diff --git a/docs/en/watcher/java/execute-watch.asciidoc b/x-pack/docs/en/watcher/java/execute-watch.asciidoc similarity index 100% rename from docs/en/watcher/java/execute-watch.asciidoc rename to x-pack/docs/en/watcher/java/execute-watch.asciidoc diff --git a/docs/en/watcher/java/get-watch.asciidoc b/x-pack/docs/en/watcher/java/get-watch.asciidoc similarity index 100% rename from docs/en/watcher/java/get-watch.asciidoc rename to x-pack/docs/en/watcher/java/get-watch.asciidoc diff --git a/docs/en/watcher/java/put-watch.asciidoc b/x-pack/docs/en/watcher/java/put-watch.asciidoc similarity index 100% rename from docs/en/watcher/java/put-watch.asciidoc rename to x-pack/docs/en/watcher/java/put-watch.asciidoc diff --git a/docs/en/watcher/java/service.asciidoc b/x-pack/docs/en/watcher/java/service.asciidoc similarity index 100% rename from docs/en/watcher/java/service.asciidoc rename to x-pack/docs/en/watcher/java/service.asciidoc diff --git a/docs/en/watcher/java/stats.asciidoc b/x-pack/docs/en/watcher/java/stats.asciidoc similarity index 100% rename from docs/en/watcher/java/stats.asciidoc rename to x-pack/docs/en/watcher/java/stats.asciidoc diff --git a/docs/en/watcher/limitations.asciidoc b/x-pack/docs/en/watcher/limitations.asciidoc similarity index 100% rename from docs/en/watcher/limitations.asciidoc rename to x-pack/docs/en/watcher/limitations.asciidoc diff --git a/docs/en/watcher/managing-watches.asciidoc b/x-pack/docs/en/watcher/managing-watches.asciidoc similarity index 100% rename from docs/en/watcher/managing-watches.asciidoc rename to x-pack/docs/en/watcher/managing-watches.asciidoc diff --git a/docs/en/watcher/release-notes.asciidoc b/x-pack/docs/en/watcher/release-notes.asciidoc similarity index 100% rename from docs/en/watcher/release-notes.asciidoc rename to x-pack/docs/en/watcher/release-notes.asciidoc diff --git a/docs/en/watcher/transform.asciidoc b/x-pack/docs/en/watcher/transform.asciidoc similarity index 100% rename from docs/en/watcher/transform.asciidoc rename to x-pack/docs/en/watcher/transform.asciidoc diff --git a/docs/en/watcher/transform/chain.asciidoc b/x-pack/docs/en/watcher/transform/chain.asciidoc similarity index 100% rename from docs/en/watcher/transform/chain.asciidoc rename to x-pack/docs/en/watcher/transform/chain.asciidoc diff --git a/docs/en/watcher/transform/script.asciidoc b/x-pack/docs/en/watcher/transform/script.asciidoc similarity index 100% rename from docs/en/watcher/transform/script.asciidoc rename to x-pack/docs/en/watcher/transform/script.asciidoc diff --git a/docs/en/watcher/transform/search.asciidoc b/x-pack/docs/en/watcher/transform/search.asciidoc similarity index 100% rename from docs/en/watcher/transform/search.asciidoc rename to x-pack/docs/en/watcher/transform/search.asciidoc diff --git a/docs/en/watcher/trigger.asciidoc b/x-pack/docs/en/watcher/trigger.asciidoc similarity index 100% rename from docs/en/watcher/trigger.asciidoc rename to x-pack/docs/en/watcher/trigger.asciidoc diff --git a/docs/en/watcher/trigger/schedule.asciidoc b/x-pack/docs/en/watcher/trigger/schedule.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule.asciidoc diff --git a/docs/en/watcher/trigger/schedule/cron.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/cron.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule/cron.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule/cron.asciidoc diff --git a/docs/en/watcher/trigger/schedule/daily.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/daily.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule/daily.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule/daily.asciidoc diff --git a/docs/en/watcher/trigger/schedule/hourly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/hourly.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule/hourly.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule/hourly.asciidoc diff --git a/docs/en/watcher/trigger/schedule/interval.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/interval.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule/interval.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule/interval.asciidoc diff --git a/docs/en/watcher/trigger/schedule/monthly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/monthly.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule/monthly.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule/monthly.asciidoc diff --git a/docs/en/watcher/trigger/schedule/weekly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/weekly.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule/weekly.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule/weekly.asciidoc diff --git a/docs/en/watcher/trigger/schedule/yearly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/yearly.asciidoc similarity index 100% rename from docs/en/watcher/trigger/schedule/yearly.asciidoc rename to x-pack/docs/en/watcher/trigger/schedule/yearly.asciidoc diff --git a/docs/en/watcher/troubleshooting.asciidoc b/x-pack/docs/en/watcher/troubleshooting.asciidoc similarity index 100% rename from docs/en/watcher/troubleshooting.asciidoc rename to x-pack/docs/en/watcher/troubleshooting.asciidoc diff --git a/docs/src/test/java/org/elasticsearch/smoketest/XDocsClientYamlTestSuiteIT.java b/x-pack/docs/src/test/java/org/elasticsearch/smoketest/XDocsClientYamlTestSuiteIT.java similarity index 100% rename from docs/src/test/java/org/elasticsearch/smoketest/XDocsClientYamlTestSuiteIT.java rename to x-pack/docs/src/test/java/org/elasticsearch/smoketest/XDocsClientYamlTestSuiteIT.java diff --git a/gradle.properties b/x-pack/gradle.properties similarity index 100% rename from gradle.properties rename to x-pack/gradle.properties diff --git a/gradle/wrapper/gradle-wrapper.jar b/x-pack/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from gradle/wrapper/gradle-wrapper.jar rename to x-pack/gradle/wrapper/gradle-wrapper.jar diff --git a/gradle/wrapper/gradle-wrapper.properties b/x-pack/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from gradle/wrapper/gradle-wrapper.properties rename to x-pack/gradle/wrapper/gradle-wrapper.properties diff --git a/gradlew b/x-pack/gradlew similarity index 100% rename from gradlew rename to x-pack/gradlew diff --git a/gradlew.bat b/x-pack/gradlew.bat similarity index 100% rename from gradlew.bat rename to x-pack/gradlew.bat diff --git a/license-tools/bin/key-pair-generator b/x-pack/license-tools/bin/key-pair-generator similarity index 100% rename from license-tools/bin/key-pair-generator rename to x-pack/license-tools/bin/key-pair-generator diff --git a/license-tools/bin/license-generator b/x-pack/license-tools/bin/license-generator similarity index 100% rename from license-tools/bin/license-generator rename to x-pack/license-tools/bin/license-generator diff --git a/license-tools/bin/verify-license b/x-pack/license-tools/bin/verify-license similarity index 100% rename from license-tools/bin/verify-license rename to x-pack/license-tools/bin/verify-license diff --git a/license-tools/build.gradle b/x-pack/license-tools/build.gradle similarity index 100% rename from license-tools/build.gradle rename to x-pack/license-tools/build.gradle diff --git a/license-tools/src/main/java/org/elasticsearch/license/licensor/LicenseSigner.java b/x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/LicenseSigner.java similarity index 100% rename from license-tools/src/main/java/org/elasticsearch/license/licensor/LicenseSigner.java rename to x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/LicenseSigner.java diff --git a/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/KeyPairGeneratorTool.java b/x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/KeyPairGeneratorTool.java similarity index 100% rename from license-tools/src/main/java/org/elasticsearch/license/licensor/tools/KeyPairGeneratorTool.java rename to x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/KeyPairGeneratorTool.java diff --git a/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseGeneratorTool.java b/x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseGeneratorTool.java similarity index 100% rename from license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseGeneratorTool.java rename to x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseGeneratorTool.java diff --git a/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseVerificationTool.java b/x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseVerificationTool.java similarity index 100% rename from license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseVerificationTool.java rename to x-pack/license-tools/src/main/java/org/elasticsearch/license/licensor/tools/LicenseVerificationTool.java diff --git a/license-tools/src/test/java/org/elasticsearch/license/licensor/LicenseVerificationTests.java b/x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/LicenseVerificationTests.java similarity index 100% rename from license-tools/src/test/java/org/elasticsearch/license/licensor/LicenseVerificationTests.java rename to x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/LicenseVerificationTests.java diff --git a/license-tools/src/test/java/org/elasticsearch/license/licensor/TestUtils.java b/x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/TestUtils.java similarity index 100% rename from license-tools/src/test/java/org/elasticsearch/license/licensor/TestUtils.java rename to x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/TestUtils.java diff --git a/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/KeyPairGenerationToolTests.java b/x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/KeyPairGenerationToolTests.java similarity index 100% rename from license-tools/src/test/java/org/elasticsearch/license/licensor/tools/KeyPairGenerationToolTests.java rename to x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/KeyPairGenerationToolTests.java diff --git a/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseGenerationToolTests.java b/x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseGenerationToolTests.java similarity index 100% rename from license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseGenerationToolTests.java rename to x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseGenerationToolTests.java diff --git a/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseVerificationToolTests.java b/x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseVerificationToolTests.java similarity index 100% rename from license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseVerificationToolTests.java rename to x-pack/license-tools/src/test/java/org/elasticsearch/license/licensor/tools/LicenseVerificationToolTests.java diff --git a/license-tools/src/test/resources/log4j.properties b/x-pack/license-tools/src/test/resources/log4j.properties similarity index 100% rename from license-tools/src/test/resources/log4j.properties rename to x-pack/license-tools/src/test/resources/log4j.properties diff --git a/license-tools/src/test/resources/private.key b/x-pack/license-tools/src/test/resources/private.key similarity index 100% rename from license-tools/src/test/resources/private.key rename to x-pack/license-tools/src/test/resources/private.key diff --git a/license-tools/src/test/resources/public.key b/x-pack/license-tools/src/test/resources/public.key similarity index 100% rename from license-tools/src/test/resources/public.key rename to x-pack/license-tools/src/test/resources/public.key diff --git a/plugin/build.gradle b/x-pack/plugin/build.gradle similarity index 100% rename from plugin/build.gradle rename to x-pack/plugin/build.gradle diff --git a/plugin/bwc/build.gradle b/x-pack/plugin/bwc/build.gradle similarity index 100% rename from plugin/bwc/build.gradle rename to x-pack/plugin/bwc/build.gradle diff --git a/plugin/bwc/maintenance-bugfix-snapshot/build.gradle b/x-pack/plugin/bwc/maintenance-bugfix-snapshot/build.gradle similarity index 100% rename from plugin/bwc/maintenance-bugfix-snapshot/build.gradle rename to x-pack/plugin/bwc/maintenance-bugfix-snapshot/build.gradle diff --git a/plugin/bwc/next-bugfix-snapshot/build.gradle b/x-pack/plugin/bwc/next-bugfix-snapshot/build.gradle similarity index 100% rename from plugin/bwc/next-bugfix-snapshot/build.gradle rename to x-pack/plugin/bwc/next-bugfix-snapshot/build.gradle diff --git a/plugin/bwc/next-minor-snapshot/build.gradle b/x-pack/plugin/bwc/next-minor-snapshot/build.gradle similarity index 100% rename from plugin/bwc/next-minor-snapshot/build.gradle rename to x-pack/plugin/bwc/next-minor-snapshot/build.gradle diff --git a/plugin/bwc/staged-minor-snapshot/build.gradle b/x-pack/plugin/bwc/staged-minor-snapshot/build.gradle similarity index 100% rename from plugin/bwc/staged-minor-snapshot/build.gradle rename to x-pack/plugin/bwc/staged-minor-snapshot/build.gradle diff --git a/plugin/core/build.gradle b/x-pack/plugin/core/build.gradle similarity index 100% rename from plugin/core/build.gradle rename to x-pack/plugin/core/build.gradle diff --git a/plugin/core/licenses/bcpkix-jdk15on-1.58.jar.sha1 b/x-pack/plugin/core/licenses/bcpkix-jdk15on-1.58.jar.sha1 similarity index 100% rename from plugin/core/licenses/bcpkix-jdk15on-1.58.jar.sha1 rename to x-pack/plugin/core/licenses/bcpkix-jdk15on-1.58.jar.sha1 diff --git a/plugin/core/licenses/bcprov-jdk15on-1.58.jar.sha1 b/x-pack/plugin/core/licenses/bcprov-jdk15on-1.58.jar.sha1 similarity index 100% rename from plugin/core/licenses/bcprov-jdk15on-1.58.jar.sha1 rename to x-pack/plugin/core/licenses/bcprov-jdk15on-1.58.jar.sha1 diff --git a/plugin/core/licenses/bouncycastle-LICENSE.txt b/x-pack/plugin/core/licenses/bouncycastle-LICENSE.txt similarity index 100% rename from plugin/core/licenses/bouncycastle-LICENSE.txt rename to x-pack/plugin/core/licenses/bouncycastle-LICENSE.txt diff --git a/plugin/core/licenses/bouncycastle-NOTICE.txt b/x-pack/plugin/core/licenses/bouncycastle-NOTICE.txt similarity index 100% rename from plugin/core/licenses/bouncycastle-NOTICE.txt rename to x-pack/plugin/core/licenses/bouncycastle-NOTICE.txt diff --git a/plugin/core/licenses/commons-LICENSE.txt b/x-pack/plugin/core/licenses/commons-LICENSE.txt similarity index 100% rename from plugin/core/licenses/commons-LICENSE.txt rename to x-pack/plugin/core/licenses/commons-LICENSE.txt diff --git a/plugin/core/licenses/commons-NOTICE.txt b/x-pack/plugin/core/licenses/commons-NOTICE.txt similarity index 100% rename from plugin/core/licenses/commons-NOTICE.txt rename to x-pack/plugin/core/licenses/commons-NOTICE.txt diff --git a/plugin/core/licenses/commons-codec-1.10.jar.sha1 b/x-pack/plugin/core/licenses/commons-codec-1.10.jar.sha1 similarity index 100% rename from plugin/core/licenses/commons-codec-1.10.jar.sha1 rename to x-pack/plugin/core/licenses/commons-codec-1.10.jar.sha1 diff --git a/plugin/core/licenses/commons-logging-1.1.3.jar.sha1 b/x-pack/plugin/core/licenses/commons-logging-1.1.3.jar.sha1 similarity index 100% rename from plugin/core/licenses/commons-logging-1.1.3.jar.sha1 rename to x-pack/plugin/core/licenses/commons-logging-1.1.3.jar.sha1 diff --git a/plugin/core/licenses/httpasyncclient-4.1.2.jar.sha1 b/x-pack/plugin/core/licenses/httpasyncclient-4.1.2.jar.sha1 similarity index 100% rename from plugin/core/licenses/httpasyncclient-4.1.2.jar.sha1 rename to x-pack/plugin/core/licenses/httpasyncclient-4.1.2.jar.sha1 diff --git a/plugin/core/licenses/httpclient-4.5.2.jar.sha1 b/x-pack/plugin/core/licenses/httpclient-4.5.2.jar.sha1 similarity index 100% rename from plugin/core/licenses/httpclient-4.5.2.jar.sha1 rename to x-pack/plugin/core/licenses/httpclient-4.5.2.jar.sha1 diff --git a/plugin/core/licenses/httpclient-LICENSE.txt b/x-pack/plugin/core/licenses/httpclient-LICENSE.txt similarity index 100% rename from plugin/core/licenses/httpclient-LICENSE.txt rename to x-pack/plugin/core/licenses/httpclient-LICENSE.txt diff --git a/plugin/core/licenses/httpclient-NOTICE.txt b/x-pack/plugin/core/licenses/httpclient-NOTICE.txt similarity index 100% rename from plugin/core/licenses/httpclient-NOTICE.txt rename to x-pack/plugin/core/licenses/httpclient-NOTICE.txt diff --git a/plugin/core/licenses/httpcore-4.4.5.jar.sha1 b/x-pack/plugin/core/licenses/httpcore-4.4.5.jar.sha1 similarity index 100% rename from plugin/core/licenses/httpcore-4.4.5.jar.sha1 rename to x-pack/plugin/core/licenses/httpcore-4.4.5.jar.sha1 diff --git a/plugin/core/licenses/httpcore-nio-4.4.5.jar.sha1 b/x-pack/plugin/core/licenses/httpcore-nio-4.4.5.jar.sha1 similarity index 100% rename from plugin/core/licenses/httpcore-nio-4.4.5.jar.sha1 rename to x-pack/plugin/core/licenses/httpcore-nio-4.4.5.jar.sha1 diff --git a/plugin/core/licenses/unboundid-ldapsdk-3.2.0.jar.sha1 b/x-pack/plugin/core/licenses/unboundid-ldapsdk-3.2.0.jar.sha1 similarity index 100% rename from plugin/core/licenses/unboundid-ldapsdk-3.2.0.jar.sha1 rename to x-pack/plugin/core/licenses/unboundid-ldapsdk-3.2.0.jar.sha1 diff --git a/plugin/core/licenses/unboundid-ldapsdk-LICENSE.txt b/x-pack/plugin/core/licenses/unboundid-ldapsdk-LICENSE.txt similarity index 100% rename from plugin/core/licenses/unboundid-ldapsdk-LICENSE.txt rename to x-pack/plugin/core/licenses/unboundid-ldapsdk-LICENSE.txt diff --git a/plugin/core/licenses/unboundid-ldapsdk-NOTICE.txt b/x-pack/plugin/core/licenses/unboundid-ldapsdk-NOTICE.txt similarity index 100% rename from plugin/core/licenses/unboundid-ldapsdk-NOTICE.txt rename to x-pack/plugin/core/licenses/unboundid-ldapsdk-NOTICE.txt diff --git a/plugin/core/snapshot.key b/x-pack/plugin/core/snapshot.key similarity index 100% rename from plugin/core/snapshot.key rename to x-pack/plugin/core/snapshot.key diff --git a/plugin/core/src/main/bin/x-pack-env b/x-pack/plugin/core/src/main/bin/x-pack-env similarity index 100% rename from plugin/core/src/main/bin/x-pack-env rename to x-pack/plugin/core/src/main/bin/x-pack-env diff --git a/plugin/core/src/main/bin/x-pack-env.bat b/x-pack/plugin/core/src/main/bin/x-pack-env.bat similarity index 100% rename from plugin/core/src/main/bin/x-pack-env.bat rename to x-pack/plugin/core/src/main/bin/x-pack-env.bat diff --git a/plugin/core/src/main/config/log4j2.properties b/x-pack/plugin/core/src/main/config/log4j2.properties similarity index 100% rename from plugin/core/src/main/config/log4j2.properties rename to x-pack/plugin/core/src/main/config/log4j2.properties diff --git a/plugin/core/src/main/java/org/elasticsearch/common/network/InetAddressHelper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/common/network/InetAddressHelper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/common/network/InetAddressHelper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/common/network/InetAddressHelper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/CryptUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/CryptUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/CryptUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/CryptUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/DateUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/DateUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/DateUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/DateUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/DeleteLicenseResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/ExpirationCallback.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/ExpirationCallback.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/ExpirationCallback.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/ExpirationCallback.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetBasicStatusResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetLicenseResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetLicenseResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/GetTrialStatusResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/License.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/License.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/License.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/License.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/LicenseService.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicenseService.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/LicenseService.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicenseService.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/LicenseUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicenseUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/LicenseUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicenseUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/LicenseVerifier.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicenseVerifier.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/LicenseVerifier.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicenseVerifier.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/LicensesMetaData.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicensesMetaData.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/LicensesMetaData.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicensesMetaData.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/LicensesStatus.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicensesStatus.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/LicensesStatus.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicensesStatus.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/Licensing.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/Licensing.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/Licensing.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/Licensing.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/LicensingClient.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicensingClient.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/LicensingClient.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/LicensingClient.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/OperationModeFileWatcher.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/OperationModeFileWatcher.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/OperationModeFileWatcher.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/OperationModeFileWatcher.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartBasicResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PostStartTrialResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PutLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/PutLicenseResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/PutLicenseResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/RestDeleteLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestDeleteLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/RestDeleteLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestDeleteLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/RestGetBasicStatus.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestGetBasicStatus.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/RestGetBasicStatus.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestGetBasicStatus.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/RestGetLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestGetLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/RestGetLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestGetLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/RestGetTrialStatus.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestGetTrialStatus.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/RestGetTrialStatus.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestGetTrialStatus.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/RestPostStartBasicLicense.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestPostStartBasicLicense.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/RestPostStartBasicLicense.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestPostStartBasicLicense.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/RestPostStartTrialLicense.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestPostStartTrialLicense.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/RestPostStartTrialLicense.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestPostStartTrialLicense.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/RestPutLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestPutLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/RestPutLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/RestPutLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/SelfGeneratedLicense.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/SelfGeneratedLicense.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/SelfGeneratedLicense.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/SelfGeneratedLicense.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/StartBasicClusterTask.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/StartBasicClusterTask.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/StartBasicClusterTask.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/StartBasicClusterTask.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/StartTrialClusterTask.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/StartTrialClusterTask.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/StartTrialClusterTask.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/StartTrialClusterTask.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/StartupSelfGeneratedLicenseTask.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/StartupSelfGeneratedLicenseTask.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/StartupSelfGeneratedLicenseTask.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/StartupSelfGeneratedLicenseTask.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/TransportDeleteLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportDeleteLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/TransportDeleteLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportDeleteLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/TransportGetBasicStatusAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportGetBasicStatusAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/TransportGetBasicStatusAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportGetBasicStatusAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/TransportGetTrialStatusAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportGetTrialStatusAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/TransportGetTrialStatusAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportGetTrialStatusAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartBasicAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartBasicAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartBasicAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartBasicAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartTrialAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartTrialAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartTrialAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportPostStartTrialAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/XPackInfoResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackInfoResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/XPackInfoResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackInfoResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/license/package-info.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/package-info.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/license/package-info.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/license/package-info.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ClientHelper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ClientHelper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ClientHelper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ClientHelper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/EmptyXPackFeatureSet.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/EmptyXPackFeatureSet.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/EmptyXPackFeatureSet.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/EmptyXPackFeatureSet.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackBuild.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackBuild.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackBuild.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackBuild.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClient.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClient.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClient.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClient.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackFeatureSet.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackFeatureSet.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackFeatureSet.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackFeatureSet.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackPlugin.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackUsageAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackUsageAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackUsageAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/TransportXPackUsageAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackUsageResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/common/IteratingActionListener.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/common/IteratingActionListener.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/common/IteratingActionListener.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/common/IteratingActionListener.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/common/socket/SocketAccess.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/common/socket/SocketAccess.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/common/socket/SocketAccess.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/common/socket/SocketAccess.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssue.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssue.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssue.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssue.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/GraphFeatureSetUsage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/GraphFeatureSetUsage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/GraphFeatureSetUsage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/GraphFeatureSetUsage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Connection.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Connection.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Connection.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Connection.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/GraphExploreResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Hop.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Hop.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Hop.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Hop.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Vertex.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Vertex.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Vertex.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/Vertex.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/VertexRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/VertexRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/VertexRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/graph/action/VertexRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/logstash/LogstashFeatureSetUsage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/logstash/LogstashFeatureSetUsage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/logstash/LogstashFeatureSetUsage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/logstash/LogstashFeatureSetUsage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MLMetadataField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MLMetadataField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MLMetadataField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MLMetadataField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningFeatureSetUsage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningFeatureSetUsage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningFeatureSetUsage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningFeatureSetUsage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MachineLearningField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlClientHelper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlClientHelper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlClientHelper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlClientHelper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetaIndex.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetaIndex.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetaIndex.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetaIndex.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetadata.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetadata.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetadata.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlMetadata.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlParserType.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlParserType.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlParserType.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/MlParserType.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/CloseJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/CloseJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/CloseJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/CloseJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteFilterAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteFilterAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteFilterAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteFilterAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteModelSnapshotAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteModelSnapshotAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteModelSnapshotAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteModelSnapshotAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FinalizeJobExecutionAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FinalizeJobExecutionAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FinalizeJobExecutionAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FinalizeJobExecutionAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FlushJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FlushJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FlushJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/FlushJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ForecastJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ForecastJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ForecastJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ForecastJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetBucketsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetBucketsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetBucketsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetBucketsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsStatsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsStatsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsStatsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsStatsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetFiltersAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetFiltersAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetFiltersAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetFiltersAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsStatsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsStatsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsStatsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetJobsStatsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetRecordsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetRecordsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetRecordsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetRecordsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/IsolateDatafeedAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/IsolateDatafeedAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/IsolateDatafeedAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/IsolateDatafeedAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/JobTaskRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/JobTaskRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/JobTaskRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/JobTaskRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/KillProcessAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/KillProcessAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/KillProcessAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/KillProcessAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/MlInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/MlInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/MlInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/MlInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/OpenJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/OpenJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/OpenJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/OpenJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PersistJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PersistJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PersistJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PersistJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostDataAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostDataAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostDataAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PostDataAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutCalendarAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutCalendarAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutCalendarAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutCalendarAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutFilterAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutFilterAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutFilterAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutFilterAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/PutJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/PageParams.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/PageParams.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/PageParams.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/PageParams.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/QueryPage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/QueryPage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/QueryPage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/util/QueryPage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/Calendar.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/Calendar.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/Calendar.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/Calendar.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEvent.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEvent.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEvent.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEvent.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/client/MachineLearningClient.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/client/MachineLearningClient.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/client/MachineLearningClient.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/client/MachineLearningClient.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedJobValidator.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedJobValidator.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedJobValidator.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedJobValidator.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdate.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdate.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdate.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdate.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/DataExtractor.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/DataExtractor.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/DataExtractor.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/DataExtractor.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimits.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimits.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimits.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimits.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/CategorizationAnalyzerConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/CategorizationAnalyzerConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/CategorizationAnalyzerConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/CategorizationAnalyzerConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Condition.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Condition.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Condition.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Condition.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Connective.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Connective.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Connective.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Connective.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DataDescription.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DataDescription.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DataDescription.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DataDescription.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DefaultDetectorDescription.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DefaultDetectorDescription.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DefaultDetectorDescription.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DefaultDetectorDescription.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRule.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRule.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRule.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRule.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Detector.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Detector.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Detector.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Detector.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectorFunction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectorFunction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectorFunction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectorFunction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Job.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Job.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Job.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Job.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobTaskStatus.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobTaskStatus.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobTaskStatus.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobTaskStatus.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdate.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdate.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdate.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdate.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/MlFilter.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/MlFilter.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/MlFilter.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/MlFilter.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Operator.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Operator.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Operator.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Operator.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleCondition.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleCondition.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleCondition.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleCondition.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionType.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionType.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionType.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionType.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJob.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJob.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJob.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJob.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookup.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookup.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookup.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookup.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndex.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndex.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndex.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndex.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndexFields.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndexFields.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndexFields.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/AnomalyDetectorsIndexFields.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobDataDeleter.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobDataDeleter.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobDataDeleter.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobDataDeleter.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobStorageDeletionTask.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobStorageDeletionTask.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobStorageDeletionTask.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/persistence/JobStorageDeletionTask.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/output/FlushAcknowledgement.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/output/FlushAcknowledgement.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/output/FlushAcknowledgement.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/output/FlushAcknowledgement.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/CategorizerState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/CategorizerState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/CategorizerState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/CategorizerState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCounts.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCounts.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCounts.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCounts.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStats.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStats.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStats.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStats.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshot.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshot.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshot.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshot.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/Quantiles.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/Quantiles.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/Quantiles.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/Quantiles.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/writer/RecordWriter.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/writer/RecordWriter.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/writer/RecordWriter.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/writer/RecordWriter.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCause.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCause.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCause.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCause.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecord.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecord.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecord.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecord.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Bucket.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Bucket.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Bucket.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Bucket.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencer.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencer.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencer.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencer.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/CategoryDefinition.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/CategoryDefinition.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/CategoryDefinition.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/CategoryDefinition.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Forecast.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Forecast.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Forecast.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Forecast.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ForecastRequestStats.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ForecastRequestStats.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ForecastRequestStats.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ForecastRequestStats.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influence.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influence.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influence.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influence.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influencer.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influencer.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influencer.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Influencer.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ModelPlot.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ModelPlot.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ModelPlot.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ModelPlot.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/OverallBucket.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/OverallBucket.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/OverallBucket.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/OverallBucket.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/PartitionScore.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/PartitionScore.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/PartitionScore.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/PartitionScore.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ReservedFieldNames.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ReservedFieldNames.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ReservedFieldNames.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/ReservedFieldNames.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Result.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Result.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Result.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/results/Result.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditorField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditorField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditorField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/AuditorField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/Level.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/Level.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/Level.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/notifications/Level.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ExceptionsHelper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ExceptionsHelper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ExceptionsHelper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ExceptionsHelper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/Intervals.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/Intervals.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/Intervals.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/Intervals.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlIndicesUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlIndicesUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlIndicesUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlIndicesUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlStrings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlStrings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlStrings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/MlStrings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/NameResolver.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/NameResolver.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/NameResolver.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/NameResolver.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ToXContentParams.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ToXContentParams.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ToXContentParams.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/ToXContentParams.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/DateTimeFormatterTimestampConverter.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/DateTimeFormatterTimestampConverter.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/DateTimeFormatterTimestampConverter.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/DateTimeFormatterTimestampConverter.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimeUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimeUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimeUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimeUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimestampConverter.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimestampConverter.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimestampConverter.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/time/TimestampConverter.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoredSystem.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoredSystem.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoredSystem.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoredSystem.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringFeatureSetUsage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringFeatureSetUsage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringFeatureSetUsage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringFeatureSetUsage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/MonitoringField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkDoc.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkDoc.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkDoc.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkDoc.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringBulkResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringIndex.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringIndex.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringIndex.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/action/MonitoringIndex.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/client/MonitoringClient.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/client/MonitoringClient.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/client/MonitoringClient.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/client/MonitoringClient.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringDoc.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringDoc.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringDoc.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringDoc.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/XPackRestHandler.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/XPackRestHandler.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/XPackRestHandler.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/XPackRestHandler.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackUsageAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackUsageAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackUsageAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rest/action/RestXPackUsageAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupFeatureSetUsage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupFeatureSetUsage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupFeatureSetUsage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupFeatureSetUsage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/RollupField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/DeleteRollupJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/DeleteRollupJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/DeleteRollupJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/DeleteRollupJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupCapsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupCapsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupCapsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupCapsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupJobsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupJobsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupJobsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/GetRollupJobsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/PutRollupJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/PutRollupJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/PutRollupJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/PutRollupJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollableIndexCaps.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollableIndexCaps.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollableIndexCaps.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollableIndexCaps.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupJobCaps.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupJobCaps.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupJobCaps.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupJobCaps.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupSearchAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupSearchAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupSearchAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/RollupSearchAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StartRollupJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StartRollupJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StartRollupJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StartRollupJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StopRollupJobAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StopRollupJobAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StopRollupJobAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/action/StopRollupJobAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/GroupConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/GroupConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/GroupConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/GroupConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/IndexerState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/IndexerState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/IndexerState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/IndexerState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/MetricConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/MetricConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/MetricConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/MetricConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJob.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJob.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJob.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJob.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStats.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStats.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStats.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStats.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatus.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatus.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatus.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatus.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/Cron.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/Cron.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/Cron.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/Cron.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/ScrollHelper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/ScrollHelper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/ScrollHelper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/ScrollHelper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityContext.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityContext.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityContext.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityContext.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityExtension.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityExtension.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityExtension.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityExtension.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityFeatureSetUsage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityFeatureSetUsage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityFeatureSetUsage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityFeatureSetUsage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityLifecycleServiceField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityLifecycleServiceField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityLifecycleServiceField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecurityLifecycleServiceField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecuritySettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecuritySettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecuritySettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/SecuritySettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/UserSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/UserSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/UserSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/UserSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/realm/ClearRealmCacheResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/ClearRolesCacheResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/DeleteRoleResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/GetRolesResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/DeleteRoleMappingResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/GetRoleMappingsResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/rolemapping/PutRoleMappingResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlAuthenticateResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlInvalidateSessionResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlLogoutResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/saml/SamlPrepareAuthenticationResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/CreateTokenResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/InvalidateTokenResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/RefreshTokenAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/RefreshTokenAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/RefreshTokenAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/token/RefreshTokenAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/AuthenticateResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/ChangePasswordResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/DeleteUserResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/GetUsersResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/PutUserResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/SetEnabledResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/UserRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/UserRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/UserRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/UserRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationFailureHandler.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationFailureHandler.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationFailureHandler.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationFailureHandler.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationResult.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationResult.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationResult.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationResult.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationServiceField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationServiceField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationServiceField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationServiceField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationToken.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationToken.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationToken.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/AuthenticationToken.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/DefaultAuthenticationFailureHandler.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/DefaultAuthenticationFailureHandler.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/DefaultAuthenticationFailureHandler.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/DefaultAuthenticationFailureHandler.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/InternalRealmsSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/InternalRealmsSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/InternalRealmsSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/InternalRealmsSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/KeyAndTimestamp.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/KeyAndTimestamp.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/KeyAndTimestamp.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/KeyAndTimestamp.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Realm.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Realm.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Realm.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Realm.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/RealmSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/TokenMetaData.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/TokenMetaData.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/TokenMetaData.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/TokenMetaData.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/ClientReservedRealm.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/ClientReservedRealm.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/ClientReservedRealm.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/ClientReservedRealm.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/NativeRealmSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/NativeRealmSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/NativeRealmSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/esnative/NativeRealmSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/file/FileRealmSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/file/FileRealmSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/file/FileRealmSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/file/FileRealmSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/ActiveDirectorySessionFactorySettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/ActiveDirectorySessionFactorySettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/ActiveDirectorySessionFactorySettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/ActiveDirectorySessionFactorySettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapRealmSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapRealmSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapRealmSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapRealmSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapSessionFactorySettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapSessionFactorySettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapSessionFactorySettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapSessionFactorySettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapUserSearchSessionFactorySettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapUserSearchSessionFactorySettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapUserSearchSessionFactorySettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/LdapUserSearchSessionFactorySettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/PoolingSessionFactorySettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/PoolingSessionFactorySettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/PoolingSessionFactorySettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/PoolingSessionFactorySettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/SearchGroupsResolverSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/SearchGroupsResolverSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/SearchGroupsResolverSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/SearchGroupsResolverSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/UserAttributeGroupsResolverSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/UserAttributeGroupsResolverSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/UserAttributeGroupsResolverSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/UserAttributeGroupsResolverSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapLoadBalancingSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapLoadBalancingSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapLoadBalancingSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapLoadBalancingSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapMetaDataResolverSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapMetaDataResolverSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapMetaDataResolverSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapMetaDataResolverSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapSearchScope.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapSearchScope.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapSearchScope.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/LdapSearchScope.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/SessionFactorySettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/SessionFactorySettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/SessionFactorySettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/ldap/support/SessionFactorySettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/pki/PkiRealmSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/pki/PkiRealmSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/pki/PkiRealmSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/pki/PkiRealmSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/saml/SamlRealmSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/BCrypt.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CachingUsernamePasswordRealmSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CachingUsernamePasswordRealmSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CachingUsernamePasswordRealmSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CachingUsernamePasswordRealmSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CharArrays.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CharArrays.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CharArrays.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/CharArrays.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/DnRoleMapperSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/DnRoleMapperSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/DnRoleMapperSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/DnRoleMapperSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/Hasher.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/Hasher.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/Hasher.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/Hasher.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/UsernamePasswordToken.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/UsernamePasswordToken.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/UsernamePasswordToken.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/UsernamePasswordToken.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/CompositeRoleMapperSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/CompositeRoleMapperSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/CompositeRoleMapperSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/CompositeRoleMapperSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/ExpressionRoleMapping.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/ExpressionRoleMapping.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/ExpressionRoleMapping.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/ExpressionRoleMapping.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/NativeRoleMappingStoreField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/NativeRoleMappingStoreField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/NativeRoleMappingStoreField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/NativeRoleMappingStoreField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AllExpression.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AllExpression.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AllExpression.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AllExpression.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AnyExpression.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AnyExpression.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AnyExpression.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/AnyExpression.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExceptExpression.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExceptExpression.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExceptExpression.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExceptExpression.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModel.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModel.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModel.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModel.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/FieldExpression.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/FieldExpression.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/FieldExpression.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/FieldExpression.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/RoleMapperExpression.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/RoleMapperExpression.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/RoleMapperExpression.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/RoleMapperExpression.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/AuthorizationServiceField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/AuthorizationServiceField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/AuthorizationServiceField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/AuthorizationServiceField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/IndicesAndAliasesResolverField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/IndicesAndAliasesResolverField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/IndicesAndAliasesResolverField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/IndicesAndAliasesResolverField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReader.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReader.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReader.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReader.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReader.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReader.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReader.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReader.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/IndicesAccessControl.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/IndicesAccessControl.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/IndicesAccessControl.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/IndicesAccessControl.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessor.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessor.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessor.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessor.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/ClusterPermission.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/ClusterPermission.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/ClusterPermission.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/ClusterPermission.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissions.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissions.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissions.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissions.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCache.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCache.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCache.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCache.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsDefinition.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsDefinition.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsDefinition.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsDefinition.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/Role.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/Role.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/Role.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/Role.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/RunAsPermission.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/RunAsPermission.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/RunAsPermission.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/RunAsPermission.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/ClusterPrivilege.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/ClusterPrivilege.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/ClusterPrivilege.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/ClusterPrivilege.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/HealthAndStatsPrivilege.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/HealthAndStatsPrivilege.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/HealthAndStatsPrivilege.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/HealthAndStatsPrivilege.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/IndexPrivilege.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/IndexPrivilege.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/IndexPrivilege.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/IndexPrivilege.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/Privilege.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/Privilege.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/Privilege.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/Privilege.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/SystemPrivilege.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/SystemPrivilege.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/SystemPrivilege.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/SystemPrivilege.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStore.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStore.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStore.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStore.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/client/SecurityClient.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/client/SecurityClient.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/client/SecurityClient.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/client/SecurityClient.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/index/IndexAuditTrailField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/index/IndexAuditTrailField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/index/IndexAuditTrailField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/index/IndexAuditTrailField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/rest/RestRequestFilter.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/rest/RestRequestFilter.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/rest/RestRequestFilter.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/rest/RestRequestFilter.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Automatons.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Automatons.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Automatons.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Automatons.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Exceptions.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Exceptions.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Exceptions.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Exceptions.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/MetadataUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/MetadataUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/MetadataUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/MetadataUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/NoOpLogger.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/NoOpLogger.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/NoOpLogger.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/NoOpLogger.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Validation.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Validation.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Validation.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/support/Validation.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/SSLExceptionHelper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/SSLExceptionHelper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/SSLExceptionHelper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/SSLExceptionHelper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/netty4/SecurityNetty4Transport.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/netty4/SecurityNetty4Transport.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/netty4/SecurityNetty4Transport.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/transport/netty4/SecurityNetty4Transport.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/AnonymousUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/AnonymousUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/AnonymousUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/AnonymousUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BeatsSystemUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BeatsSystemUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BeatsSystemUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BeatsSystemUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BuiltinUserInfo.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BuiltinUserInfo.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BuiltinUserInfo.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/BuiltinUserInfo.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/ElasticUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/ElasticUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/ElasticUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/ElasticUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/InternalUserSerializationHelper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/InternalUserSerializationHelper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/InternalUserSerializationHelper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/InternalUserSerializationHelper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/KibanaUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/KibanaUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/KibanaUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/KibanaUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/LogstashSystemUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/LogstashSystemUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/LogstashSystemUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/LogstashSystemUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/SystemUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/SystemUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/SystemUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/SystemUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/User.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/User.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/User.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/User.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/UsernamesField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/UsernamesField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/UsernamesField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/UsernamesField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackSecurityUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackSecurityUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackSecurityUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackSecurityUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackUser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackUser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackUser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/XPackUser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/xcontent/XContentUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/xcontent/XContentUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/security/xcontent/XContentUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/xcontent/XContentUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateTool.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateTool.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateTool.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateTool.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTool.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTool.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTool.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTool.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTrustRestrictions.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTrustRestrictions.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTrustRestrictions.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/CertificateTrustRestrictions.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DefaultJDKTrustConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DefaultJDKTrustConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DefaultJDKTrustConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/DefaultJDKTrustConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/KeyConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/KeyConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/KeyConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/KeyConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMKeyConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMKeyConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMKeyConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMKeyConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMTrustConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMTrustConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMTrustConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/PEMTrustConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManager.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManager.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManager.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManager.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLClientAuth.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLClientAuth.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLClientAuth.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLClientAuth.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfiguration.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfiguration.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfiguration.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfiguration.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloader.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloader.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloader.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloader.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLService.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLService.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLService.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLService.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreTrustConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreTrustConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreTrustConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/StoreTrustConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheck.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheck.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheck.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheck.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustAllConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustAllConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustAllConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustAllConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustConfig.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustConfig.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/TrustConfig.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/VerificationMode.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/VerificationMode.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/VerificationMode.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/VerificationMode.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/X509KeyPairSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/X509KeyPairSettings.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/X509KeyPairSettings.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/X509KeyPairSettings.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/GetCertificateInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/GetCertificateInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/GetCertificateInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/GetCertificateInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/TransportGetCertificateInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/TransportGetCertificateInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/TransportGetCertificateInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/action/TransportGetCertificateInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfo.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfo.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfo.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfo.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/rest/RestGetCertificateInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/rest/RestGetCertificateInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/rest/RestGetCertificateInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/rest/RestGetCertificateInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/template/TemplateUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/template/TemplateUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/template/TemplateUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/template/TemplateUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeCheckVersion.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeCheckVersion.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeCheckVersion.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeCheckVersion.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeServiceFields.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeServiceFields.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeServiceFields.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/IndexUpgradeServiceFields.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeActionRequired.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeActionRequired.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeActionRequired.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeActionRequired.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/UpgradeField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeInfoAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeInfoAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeInfoAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/upgrade/actions/IndexUpgradeInfoAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherFeatureSetUsage.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherFeatureSetUsage.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherFeatureSetUsage.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherFeatureSetUsage.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherMetaData.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherMetaData.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherMetaData.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherMetaData.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/WatcherState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/Action.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/Action.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/Action.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/Action.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionFactory.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionFactory.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionFactory.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionFactory.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionRegistry.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionRegistry.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionRegistry.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionRegistry.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionStatus.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionStatus.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionStatus.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionStatus.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapper.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapper.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapper.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapper.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperResult.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperResult.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperResult.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ActionWrapperResult.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ExecutableAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ExecutableAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ExecutableAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/ExecutableAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/AckThrottler.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/AckThrottler.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/AckThrottler.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/AckThrottler.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ActionThrottler.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ActionThrottler.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ActionThrottler.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ActionThrottler.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/PeriodThrottler.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/PeriodThrottler.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/PeriodThrottler.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/PeriodThrottler.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/Throttler.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/Throttler.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/Throttler.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/Throttler.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ThrottlerField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ThrottlerField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ThrottlerField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/actions/throttler/ThrottlerField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatchSourceBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatchSourceBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatchSourceBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatchSourceBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatcherClient.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatcherClient.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatcherClient.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/client/WatcherClient.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/secret/Secret.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/secret/Secret.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/secret/Secret.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/secret/Secret.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/stats/Counters.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/stats/Counters.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/stats/Counters.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/stats/Counters.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/xcontent/XContentUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/xcontent/XContentUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/xcontent/XContentUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/common/xcontent/XContentUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/AlwaysCondition.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/AlwaysCondition.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/AlwaysCondition.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/AlwaysCondition.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/Condition.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/Condition.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/Condition.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/Condition.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionFactory.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionFactory.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionFactory.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionFactory.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionRegistry.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionRegistry.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionRegistry.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ConditionRegistry.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ExecutableCondition.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ExecutableCondition.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ExecutableCondition.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/condition/ExecutableCondition.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoService.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoService.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoService.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoService.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ActionExecutionMode.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ActionExecutionMode.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ActionExecutionMode.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ActionExecutionMode.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionPhase.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionPhase.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionPhase.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionPhase.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionState.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionState.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/ExecutionState.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/QueuedWatch.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/QueuedWatch.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/QueuedWatch.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/QueuedWatch.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/TriggeredWatchStoreField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/TriggeredWatchStoreField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/TriggeredWatchStoreField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/TriggeredWatchStoreField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionContext.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionContext.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionContext.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionContext.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionResult.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionResult.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionResult.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionResult.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionSnapshot.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionSnapshot.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionSnapshot.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/WatchExecutionSnapshot.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/Wid.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/Wid.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/Wid.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/execution/Wid.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/HistoryStoreField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/HistoryStoreField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/HistoryStoreField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/HistoryStoreField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/WatchRecord.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/WatchRecord.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/WatchRecord.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/history/WatchRecord.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/ExecutableInput.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/ExecutableInput.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/ExecutableInput.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/ExecutableInput.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/Input.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/Input.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/Input.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/Input.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/none/NoneInput.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/none/NoneInput.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/none/NoneInput.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/input/none/NoneInput.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/Exceptions.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/Exceptions.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/Exceptions.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/Exceptions.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherDateTimeUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherDateTimeUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherDateTimeUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherDateTimeUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherIndexTemplateRegistryField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherIndexTemplateRegistryField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherIndexTemplateRegistryField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherIndexTemplateRegistryField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherUtils.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherUtils.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherUtils.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/WatcherUtils.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/ObjectPath.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/ObjectPath.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/ObjectPath.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/ObjectPath.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherParams.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherParams.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherParams.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherParams.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherXContentParser.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherXContentParser.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherXContentParser.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/WatcherXContentParser.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/XContentSource.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/XContentSource.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/XContentSource.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/support/xcontent/XContentSource.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/ExecutableTransform.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/ExecutableTransform.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/ExecutableTransform.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/ExecutableTransform.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/Transform.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/Transform.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/Transform.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/Transform.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformFactory.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformFactory.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformFactory.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformFactory.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformRegistry.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformRegistry.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformRegistry.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/TransformRegistry.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransform.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransform.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransform.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransform.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransformFactory.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransformFactory.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransformFactory.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ChainTransformFactory.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ExecutableChainTransform.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ExecutableChainTransform.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ExecutableChainTransform.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transform/chain/ExecutableChainTransform.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/ack/AckWatchResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/activate/ActivateWatchResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/delete/DeleteWatchResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/execute/ExecuteWatchResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/get/GetWatchResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/put/PutWatchResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/service/WatcherServiceResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsAction.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsAction.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsAction.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequest.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequest.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequest.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequest.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequestBuilder.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequestBuilder.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequestBuilder.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsRequestBuilder.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsResponse.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsResponse.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsResponse.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/transport/actions/stats/WatcherStatsResponse.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/Trigger.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/Trigger.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/Trigger.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/Trigger.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/TriggerEvent.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/TriggerEvent.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/TriggerEvent.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/trigger/TriggerEvent.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Payload.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Payload.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Payload.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Payload.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Watch.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Watch.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Watch.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/Watch.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchField.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchField.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchField.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchField.java diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchStatus.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchStatus.java similarity index 100% rename from plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchStatus.java rename to x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/watcher/watch/WatchStatus.java diff --git a/plugin/core/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/core/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/core/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/core/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/core/src/main/resources/logstash-index-template.json b/x-pack/plugin/core/src/main/resources/logstash-index-template.json similarity index 100% rename from plugin/core/src/main/resources/logstash-index-template.json rename to x-pack/plugin/core/src/main/resources/logstash-index-template.json diff --git a/plugin/core/src/main/resources/monitoring-alerts.json b/x-pack/plugin/core/src/main/resources/monitoring-alerts.json similarity index 100% rename from plugin/core/src/main/resources/monitoring-alerts.json rename to x-pack/plugin/core/src/main/resources/monitoring-alerts.json diff --git a/plugin/core/src/main/resources/monitoring-beats.json b/x-pack/plugin/core/src/main/resources/monitoring-beats.json similarity index 100% rename from plugin/core/src/main/resources/monitoring-beats.json rename to x-pack/plugin/core/src/main/resources/monitoring-beats.json diff --git a/plugin/core/src/main/resources/monitoring-es.json b/x-pack/plugin/core/src/main/resources/monitoring-es.json similarity index 100% rename from plugin/core/src/main/resources/monitoring-es.json rename to x-pack/plugin/core/src/main/resources/monitoring-es.json diff --git a/plugin/core/src/main/resources/monitoring-kibana.json b/x-pack/plugin/core/src/main/resources/monitoring-kibana.json similarity index 100% rename from plugin/core/src/main/resources/monitoring-kibana.json rename to x-pack/plugin/core/src/main/resources/monitoring-kibana.json diff --git a/plugin/core/src/main/resources/monitoring-logstash.json b/x-pack/plugin/core/src/main/resources/monitoring-logstash.json similarity index 100% rename from plugin/core/src/main/resources/monitoring-logstash.json rename to x-pack/plugin/core/src/main/resources/monitoring-logstash.json diff --git a/plugin/core/src/main/resources/rollup-dynamic-template.json b/x-pack/plugin/core/src/main/resources/rollup-dynamic-template.json similarity index 100% rename from plugin/core/src/main/resources/rollup-dynamic-template.json rename to x-pack/plugin/core/src/main/resources/rollup-dynamic-template.json diff --git a/plugin/core/src/main/resources/security-index-template.json b/x-pack/plugin/core/src/main/resources/security-index-template.json similarity index 100% rename from plugin/core/src/main/resources/security-index-template.json rename to x-pack/plugin/core/src/main/resources/security-index-template.json diff --git a/plugin/core/src/main/resources/security_audit_log.json b/x-pack/plugin/core/src/main/resources/security_audit_log.json similarity index 100% rename from plugin/core/src/main/resources/security_audit_log.json rename to x-pack/plugin/core/src/main/resources/security_audit_log.json diff --git a/plugin/core/src/main/resources/triggered-watches.json b/x-pack/plugin/core/src/main/resources/triggered-watches.json similarity index 100% rename from plugin/core/src/main/resources/triggered-watches.json rename to x-pack/plugin/core/src/main/resources/triggered-watches.json diff --git a/plugin/core/src/main/resources/watch-history.json b/x-pack/plugin/core/src/main/resources/watch-history.json similarity index 100% rename from plugin/core/src/main/resources/watch-history.json rename to x-pack/plugin/core/src/main/resources/watch-history.json diff --git a/plugin/core/src/main/resources/watches.json b/x-pack/plugin/core/src/main/resources/watches.json similarity index 100% rename from plugin/core/src/main/resources/watches.json rename to x-pack/plugin/core/src/main/resources/watches.json diff --git a/plugin/core/src/test/java/org/elasticsearch/action/MockIndicesRequest.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/action/MockIndicesRequest.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/action/MockIndicesRequest.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/action/MockIndicesRequest.java diff --git a/plugin/core/src/test/java/org/elasticsearch/http/netty4/Netty4HttpMockUtil.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/http/netty4/Netty4HttpMockUtil.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/http/netty4/Netty4HttpMockUtil.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/http/netty4/Netty4HttpMockUtil.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/AbstractLicenseServiceTestCase.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/AbstractLicenseServiceTestCase.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/AbstractLicenseServiceTestCase.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/AbstractLicenseServiceTestCase.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/AbstractLicensesIntegrationTestCase.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/AbstractLicensesIntegrationTestCase.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/AbstractLicensesIntegrationTestCase.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/AbstractLicensesIntegrationTestCase.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/ExpirationCallbackTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/ExpirationCallbackTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/ExpirationCallbackTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/ExpirationCallbackTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseClusterChangeTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseClusterChangeTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseClusterChangeTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseClusterChangeTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeUpdateTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeUpdateTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeUpdateTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseOperationModeUpdateTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseRegistrationTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseRegistrationTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseRegistrationTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseRegistrationTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseScheduleTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseScheduleTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseScheduleTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseScheduleTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseSerializationTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseSerializationTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseSerializationTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseSerializationTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterNotRecoveredTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterNotRecoveredTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterNotRecoveredTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterNotRecoveredTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceClusterTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseTLSTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseTLSTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseTLSTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseTLSTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicenseUtilsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseUtilsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicenseUtilsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseUtilsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicensesAcknowledgementTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesAcknowledgementTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicensesAcknowledgementTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesAcknowledgementTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicensesManagerServiceTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesManagerServiceTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicensesManagerServiceTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesManagerServiceTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicensesMetaDataSerializationTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesMetaDataSerializationTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicensesMetaDataSerializationTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesMetaDataSerializationTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/LicensesTransportTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesTransportTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/LicensesTransportTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicensesTransportTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/OperationModeFileWatcherTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/OperationModeFileWatcherTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/OperationModeFileWatcherTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/OperationModeFileWatcherTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/PutLicenseResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/PutLicenseResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/PutLicenseResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/PutLicenseResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/SelfGeneratedLicenseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/SelfGeneratedLicenseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/SelfGeneratedLicenseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/SelfGeneratedLicenseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/StartBasicLicenseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/StartBasicLicenseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/StartBasicLicenseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/StartBasicLicenseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/StartTrialLicenseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/StartTrialLicenseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/StartTrialLicenseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/StartTrialLicenseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/TestUtils.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/TestUtils.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/TestUtils.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/TestUtils.java diff --git a/plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/script/MockMustacheScriptEngine.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/script/MockMustacheScriptEngine.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/script/MockMustacheScriptEngine.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/script/MockMustacheScriptEngine.java diff --git a/plugin/core/src/test/java/org/elasticsearch/test/SecuritySettingsSourceField.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/test/SecuritySettingsSourceField.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/test/SecuritySettingsSourceField.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/test/SecuritySettingsSourceField.java diff --git a/plugin/core/src/test/java/org/elasticsearch/test/TestMatchers.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/test/TestMatchers.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/test/TestMatchers.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/test/TestMatchers.java diff --git a/plugin/core/src/test/java/org/elasticsearch/test/http/Headers.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/Headers.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/test/http/Headers.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/Headers.java diff --git a/plugin/core/src/test/java/org/elasticsearch/test/http/MockRequest.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/MockRequest.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/test/http/MockRequest.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/MockRequest.java diff --git a/plugin/core/src/test/java/org/elasticsearch/test/http/MockResponse.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/MockResponse.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/test/http/MockResponse.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/MockResponse.java diff --git a/plugin/core/src/test/java/org/elasticsearch/test/http/MockWebServer.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/MockWebServer.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/test/http/MockWebServer.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/test/http/MockWebServer.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ClientHelperTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ClientHelperTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ClientHelperTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ClientHelperTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/LocalStateCompositeXPackPlugin.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/LocalStateCompositeXPackPlugin.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/LocalStateCompositeXPackPlugin.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/LocalStateCompositeXPackPlugin.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/TestXPackTransportClient.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/TestXPackTransportClient.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/TestXPackTransportClient.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/TestXPackTransportClient.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/XPackSettingsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/XPackSettingsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/XPackSettingsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/XPackSettingsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/action/TransportXPackInfoActionTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/action/TransportXPackInfoActionTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/action/TransportXPackInfoActionTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/action/TransportXPackInfoActionTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/common/IteratingActionListenerTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/common/IteratingActionListenerTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/common/IteratingActionListenerTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/common/IteratingActionListenerTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationChecksTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationChecksTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationChecksTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationChecksTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationInfoActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssueTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssueTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssueTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/deprecation/DeprecationIssueTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/CloseJobActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarEventActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteDatafeedRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteExpiredDataActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteJobRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteJobRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteJobRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/DeleteJobRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ForecastJobActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarEventsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCalendarsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetCategoriesResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedStatsActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedsActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetFiltersActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetInfluencersActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobStatsActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetJobsActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetModelSnapshotsActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetOverallBucketsActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetRecordsActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/MlInfoActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/MlInfoActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/MlInfoActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/MlInfoActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/OpenJobActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/OpenJobActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/OpenJobActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/OpenJobActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PersistJobActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostCalendarEventActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PostDataFlushResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PreviewDatafeedActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutCalendarActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutDatafeedActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutFilterActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutFilterActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutFilterActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutFilterActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/PutJobActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/RevertModelSnapshotActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StartDatafeedActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/StopDatafeedActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobActionResquestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobActionResquestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobActionResquestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateCalendarJobActionResquestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateDatafeedActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateJobActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateJobActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateJobActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateJobActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionResponseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionResponseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateModelSnapshotActionResponseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateDetectorActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigActionRequestTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigActionRequestTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigActionRequestTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/ValidateJobConfigActionRequestTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/PageParamsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/PageParamsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/PageParamsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/PageParamsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/QueryPageTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/QueryPageTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/QueryPageTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/util/QueryPageTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/CalendarTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/CalendarTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/CalendarTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/CalendarTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEventTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEventTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEventTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars/ScheduledEventTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfigTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfigTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfigTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/ChunkingConfigTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfigTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfigTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfigTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedConfigTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdateTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdateTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdateTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DatafeedUpdateTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtilsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtilsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtilsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/extractor/ExtractorUtilsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/integration/MlRestTestStateCleaner.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/integration/MlRestTestStateCleaner.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/integration/MlRestTestStateCleaner.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/integration/MlRestTestStateCleaner.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfigTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfigTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfigTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfigTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimitsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimitsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimitsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisLimitsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DataDescriptionTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DataDescriptionTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DataDescriptionTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DataDescriptionTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRuleTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRuleTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRuleTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRuleTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectorTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectorTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectorTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/DetectorTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdateTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdateTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdateTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/JobUpdateTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/MlFilterTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/MlFilterTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/MlFilterTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/MlFilterTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfigTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfigTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfigTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/ModelPlotConfigTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/config/RuleConditionTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookupTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookupTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookupTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobLookupTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/groups/GroupOrJobTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappingsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappingsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappingsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/persistence/ElasticsearchMappingsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCountsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCountsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCountsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/DataCountsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStatsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStatsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStatsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStatsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSnapshotTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/QuantilesTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/QuantilesTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/QuantilesTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/QuantilesTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCauseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCauseTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCauseTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyCauseTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecordTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecordTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecordTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/AnomalyRecordTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencerTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencerTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencerTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/BucketInfluencerTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/InfluencerTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/InfluencerTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/InfluencerTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/job/results/InfluencerTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessageTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessageTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessageTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/notifications/AuditMessageTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/monitoring/test/MockPainlessScriptEngine.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/monitoring/test/MockPainlessScriptEngine.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/monitoring/test/MockPainlessScriptEngine.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/monitoring/test/MockPainlessScriptEngine.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/ConfigTestHelpers.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/ConfigTestHelpers.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/ConfigTestHelpers.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/ConfigTestHelpers.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/RollupRestTestStateCleaner.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/RollupRestTestStateCleaner.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/RollupRestTestStateCleaner.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/RollupRestTestStateCleaner.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfigSerializingTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfigSerializingTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfigSerializingTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/DateHistoGroupConfigSerializingTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/GroupConfigSerializingTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/GroupConfigSerializingTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/GroupConfigSerializingTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/GroupConfigSerializingTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfigSerializingTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfigSerializingTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfigSerializingTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/HistoGroupConfigSerializingTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/IndexerStateEnumTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/IndexerStateEnumTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/IndexerStateEnumTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/IndexerStateEnumTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/JobWrapperSerializingTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/JobWrapperSerializingTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/JobWrapperSerializingTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/JobWrapperSerializingTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/MetricsConfigSerializingTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/MetricsConfigSerializingTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/MetricsConfigSerializingTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/MetricsConfigSerializingTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfigTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfigTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfigTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobConfigTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatusTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatusTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatusTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobStatusTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/RollupJobTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfigSerializingTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfigSerializingTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfigSerializingTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rollup/job/TermsGroupConfigSerializingTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/audit/logfile/CapturingLogger.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/audit/logfile/CapturingLogger.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/audit/logfile/CapturingLogger.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/audit/logfile/CapturingLogger.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModelPredicateTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModelPredicateTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModelPredicateTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionModelPredicateTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParserTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParserTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParserTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authc/support/mapper/expressiondsl/ExpressionParserTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReaderTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReaderTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReaderTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetReaderTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReaderTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReaderTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReaderTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/FieldSubsetReaderTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperIntegrationTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperIntegrationTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperIntegrationTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperIntegrationTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperUnitTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperUnitTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperUnitTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexSearcherWrapperUnitTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessorFactoryTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessorFactoryTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessorFactoryTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SetSecurityUserProcessorFactoryTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCacheTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCacheTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCacheTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/FieldPermissionsCacheTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/privilege/PrivilegeTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/privilege/PrivilegeTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/privilege/PrivilegeTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/privilege/PrivilegeTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/AutomatonsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/AutomatonsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/AutomatonsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/AutomatonsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/ValidationTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/ValidationTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/ValidationTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/support/ValidationTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/test/SecurityAssertions.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/test/SecurityAssertions.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/security/test/SecurityAssertions.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/test/SecurityAssertions.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/CertUtilsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/CertUtilsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/CertUtilsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/CertUtilsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfigTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfigTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfigTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustConfigTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManagerTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManagerTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManagerTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/RestrictedTrustManagerTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloaderTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloaderTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloaderTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationReloaderTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettingsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettingsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettingsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationSettingsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLConfigurationTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLServiceTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLServiceTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLServiceTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/SSLServiceTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfigTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfigTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfigTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/StoreKeyConfigTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheckTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheckTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheckTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TLSLicenseBootstrapCheckTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TestsSSLService.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TestsSSLService.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TestsSSLService.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/TestsSSLService.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfoTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfoTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfoTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ssl/cert/CertificateInfoTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/template/TemplateUtilsTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/template/TemplateUtilsTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/template/TemplateUtilsTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/template/TemplateUtilsTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/actions/throttler/WatchThrottlerTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/actions/throttler/WatchThrottlerTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/actions/throttler/WatchThrottlerTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/actions/throttler/WatchThrottlerTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/common/stats/CountersTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/common/stats/CountersTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/common/stats/CountersTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/common/stats/CountersTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoServiceTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoServiceTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoServiceTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/crypto/CryptoServiceTests.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/watch/ClockMock.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/watch/ClockMock.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/watch/ClockMock.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/watcher/watch/ClockMock.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestTestHelper.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestTestHelper.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestTestHelper.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestTestHelper.java diff --git a/plugin/core/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/WatcherXContentParserTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/WatcherXContentParserTests.java similarity index 100% rename from plugin/core/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/WatcherXContentParserTests.java rename to x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/WatcherXContentParserTests.java diff --git a/plugin/core/src/test/resources/monitoring-test.json b/x-pack/plugin/core/src/test/resources/monitoring-test.json similarity index 100% rename from plugin/core/src/test/resources/monitoring-test.json rename to x-pack/plugin/core/src/test/resources/monitoring-test.json diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/complex-x-pack-extension-security.policy b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/complex-x-pack-extension-security.policy similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/complex-x-pack-extension-security.policy rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/complex-x-pack-extension-security.policy diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/simple-x-pack-extension-security.policy b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/simple-x-pack-extension-security.policy similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/simple-x-pack-extension-security.policy rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/simple-x-pack-extension-security.policy diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/unresolved-x-pack-extension-security.policy b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/unresolved-x-pack-extension-security.policy similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/unresolved-x-pack-extension-security.policy rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/core/extensions/security/unresolved-x-pack-extension-security.policy diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem diff --git a/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks b/x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks similarity index 100% rename from plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks rename to x-pack/plugin/core/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks diff --git a/plugin/core/src/test/resources/private.key b/x-pack/plugin/core/src/test/resources/private.key similarity index 100% rename from plugin/core/src/test/resources/private.key rename to x-pack/plugin/core/src/test/resources/private.key diff --git a/plugin/core/src/test/resources/public.key b/x-pack/plugin/core/src/test/resources/public.key similarity index 100% rename from plugin/core/src/test/resources/public.key rename to x-pack/plugin/core/src/test/resources/public.key diff --git a/plugin/deprecation/build.gradle b/x-pack/plugin/deprecation/build.gradle similarity index 100% rename from plugin/deprecation/build.gradle rename to x-pack/plugin/deprecation/build.gradle diff --git a/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/Deprecation.java b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/Deprecation.java similarity index 100% rename from plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/Deprecation.java rename to x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/Deprecation.java diff --git a/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/DeprecationChecks.java b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/DeprecationChecks.java similarity index 100% rename from plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/DeprecationChecks.java rename to x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/DeprecationChecks.java diff --git a/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecks.java b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecks.java similarity index 100% rename from plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecks.java rename to x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecks.java diff --git a/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/RestDeprecationInfoAction.java b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/RestDeprecationInfoAction.java similarity index 100% rename from plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/RestDeprecationInfoAction.java rename to x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/RestDeprecationInfoAction.java diff --git a/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/TransportDeprecationInfoAction.java b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/TransportDeprecationInfoAction.java similarity index 100% rename from plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/TransportDeprecationInfoAction.java rename to x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/TransportDeprecationInfoAction.java diff --git a/plugin/deprecation/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/deprecation/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/deprecation/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/deprecation/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java b/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java similarity index 100% rename from plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java rename to x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecksTests.java diff --git a/plugin/graph/build.gradle b/x-pack/plugin/graph/build.gradle similarity index 100% rename from plugin/graph/build.gradle rename to x-pack/plugin/graph/build.gradle diff --git a/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/Graph.java b/x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/Graph.java similarity index 100% rename from plugin/graph/src/main/java/org/elasticsearch/xpack/graph/Graph.java rename to x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/Graph.java diff --git a/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/GraphFeatureSet.java b/x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/GraphFeatureSet.java similarity index 100% rename from plugin/graph/src/main/java/org/elasticsearch/xpack/graph/GraphFeatureSet.java rename to x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/GraphFeatureSet.java diff --git a/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/action/TransportGraphExploreAction.java b/x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/action/TransportGraphExploreAction.java similarity index 100% rename from plugin/graph/src/main/java/org/elasticsearch/xpack/graph/action/TransportGraphExploreAction.java rename to x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/action/TransportGraphExploreAction.java diff --git a/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/rest/action/RestGraphAction.java b/x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/rest/action/RestGraphAction.java similarity index 100% rename from plugin/graph/src/main/java/org/elasticsearch/xpack/graph/rest/action/RestGraphAction.java rename to x-pack/plugin/graph/src/main/java/org/elasticsearch/xpack/graph/rest/action/RestGraphAction.java diff --git a/plugin/graph/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/graph/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/graph/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/graph/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/graph/src/test/java/org/elasticsearch/xpack/graph/GraphFeatureSetTests.java b/x-pack/plugin/graph/src/test/java/org/elasticsearch/xpack/graph/GraphFeatureSetTests.java similarity index 100% rename from plugin/graph/src/test/java/org/elasticsearch/xpack/graph/GraphFeatureSetTests.java rename to x-pack/plugin/graph/src/test/java/org/elasticsearch/xpack/graph/GraphFeatureSetTests.java diff --git a/plugin/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java b/x-pack/plugin/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java similarity index 100% rename from plugin/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java rename to x-pack/plugin/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java diff --git a/plugin/logstash/build.gradle b/x-pack/plugin/logstash/build.gradle similarity index 100% rename from plugin/logstash/build.gradle rename to x-pack/plugin/logstash/build.gradle diff --git a/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/Logstash.java b/x-pack/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/Logstash.java similarity index 100% rename from plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/Logstash.java rename to x-pack/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/Logstash.java diff --git a/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/LogstashFeatureSet.java b/x-pack/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/LogstashFeatureSet.java similarity index 100% rename from plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/LogstashFeatureSet.java rename to x-pack/plugin/logstash/src/main/java/org/elasticsearch/xpack/logstash/LogstashFeatureSet.java diff --git a/plugin/logstash/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/logstash/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/logstash/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/logstash/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/logstash/src/test/java/org/elasticsearch/xpack/logstash/LogstashFeatureSetTests.java b/x-pack/plugin/logstash/src/test/java/org/elasticsearch/xpack/logstash/LogstashFeatureSetTests.java similarity index 100% rename from plugin/logstash/src/test/java/org/elasticsearch/xpack/logstash/LogstashFeatureSetTests.java rename to x-pack/plugin/logstash/src/test/java/org/elasticsearch/xpack/logstash/LogstashFeatureSetTests.java diff --git a/plugin/ml/build.gradle b/x-pack/plugin/ml/build.gradle similarity index 100% rename from plugin/ml/build.gradle rename to x-pack/plugin/ml/build.gradle diff --git a/plugin/ml/cpp-snapshot/.gitignore b/x-pack/plugin/ml/cpp-snapshot/.gitignore similarity index 100% rename from plugin/ml/cpp-snapshot/.gitignore rename to x-pack/plugin/ml/cpp-snapshot/.gitignore diff --git a/plugin/ml/cpp-snapshot/build.gradle b/x-pack/plugin/ml/cpp-snapshot/build.gradle similarity index 100% rename from plugin/ml/cpp-snapshot/build.gradle rename to x-pack/plugin/ml/cpp-snapshot/build.gradle diff --git a/plugin/ml/licenses/super-csv-2.4.0.jar.sha1 b/x-pack/plugin/ml/licenses/super-csv-2.4.0.jar.sha1 similarity index 100% rename from plugin/ml/licenses/super-csv-2.4.0.jar.sha1 rename to x-pack/plugin/ml/licenses/super-csv-2.4.0.jar.sha1 diff --git a/plugin/ml/licenses/super-csv-LICENSE.txt b/x-pack/plugin/ml/licenses/super-csv-LICENSE.txt similarity index 100% rename from plugin/ml/licenses/super-csv-LICENSE.txt rename to x-pack/plugin/ml/licenses/super-csv-LICENSE.txt diff --git a/plugin/ml/licenses/super-csv-NOTICE.txt b/x-pack/plugin/ml/licenses/super-csv-NOTICE.txt similarity index 100% rename from plugin/ml/licenses/super-csv-NOTICE.txt rename to x-pack/plugin/ml/licenses/super-csv-NOTICE.txt diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/InvalidLicenseEnforcer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/InvalidLicenseEnforcer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/InvalidLicenseEnforcer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/InvalidLicenseEnforcer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSet.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSet.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSet.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSet.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlAssignmentNotifier.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlAssignmentNotifier.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlAssignmentNotifier.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlAssignmentNotifier.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlDailyMaintenanceService.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlDailyMaintenanceService.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlDailyMaintenanceService.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlDailyMaintenanceService.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlLifeCycleService.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlLifeCycleService.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlLifeCycleService.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlLifeCycleService.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportCloseJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportCloseJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportCloseJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportCloseJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarEventAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarEventAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarEventAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarEventAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteExpiredDataAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteExpiredDataAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteExpiredDataAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteExpiredDataAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteFilterAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteFilterAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteFilterAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteFilterAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteModelSnapshotAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteModelSnapshotAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteModelSnapshotAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteModelSnapshotAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFinalizeJobExecutionAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFinalizeJobExecutionAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFinalizeJobExecutionAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFinalizeJobExecutionAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFlushJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFlushJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFlushJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportFlushJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportForecastJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportForecastJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportForecastJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportForecastJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetBucketsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetBucketsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetBucketsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetBucketsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarEventsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarEventsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarEventsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarEventsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCalendarsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCategoriesAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCategoriesAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCategoriesAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetCategoriesAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsStatsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsStatsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsStatsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDatafeedsStatsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetFiltersAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetFiltersAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetFiltersAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetFiltersAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetInfluencersAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetInfluencersAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetInfluencersAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetInfluencersAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetModelSnapshotsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetModelSnapshotsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetModelSnapshotsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetModelSnapshotsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetOverallBucketsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetOverallBucketsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetOverallBucketsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetOverallBucketsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetRecordsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetRecordsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetRecordsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetRecordsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportIsolateDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportIsolateDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportIsolateDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportIsolateDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportKillProcessAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportKillProcessAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportKillProcessAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportKillProcessAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportMlInfoAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportMlInfoAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportMlInfoAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportMlInfoAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportOpenJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportOpenJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportOpenJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportOpenJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPersistJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPersistJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPersistJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPersistJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostCalendarEventsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostCalendarEventsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostCalendarEventsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostCalendarEventsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostDataAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostDataAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostDataAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPostDataAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutCalendarAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutCalendarAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutCalendarAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutCalendarAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutFilterAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutFilterAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutFilterAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutFilterAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportPutJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportRevertModelSnapshotAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportRevertModelSnapshotAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportRevertModelSnapshotAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportRevertModelSnapshotAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateCalendarJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateCalendarJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateCalendarJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateCalendarJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateModelSnapshotAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateModelSnapshotAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateModelSnapshotAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateModelSnapshotAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateProcessAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateProcessAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateProcessAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateProcessAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateDetectorAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateDetectorAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateDetectorAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateDetectorAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateJobConfigAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateJobConfigAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateJobConfigAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportValidateJobConfigAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJob.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJob.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJob.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJob.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManager.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManager.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManager.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManager.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelector.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelector.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelector.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelector.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/ProblemTracker.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/ProblemTracker.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/ProblemTracker.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/ProblemTracker.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorContext.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorContext.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorContext.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorContext.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorContext.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorContext.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorContext.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorContext.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedField.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedField.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedField.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedField.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFields.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFields.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFields.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFields.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorContext.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorContext.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorContext.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorContext.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/JobManager.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/JobManager.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/JobManager.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/JobManager.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/UpdateJobProcessNotifier.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/UpdateJobProcessNotifier.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/UpdateJobProcessNotifier.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/UpdateJobProcessNotifier.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedBucketsIterator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedBucketsIterator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedBucketsIterator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedBucketsIterator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIterator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIterator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIterator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIterator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedInfluencersIterator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedInfluencersIterator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedInfluencersIterator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedInfluencersIterator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedRecordsIterator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedRecordsIterator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedRecordsIterator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedRecordsIterator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedResultsIterator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedResultsIterator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedResultsIterator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BatchedResultsIterator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BucketsQueryBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BucketsQueryBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BucketsQueryBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/BucketsQueryBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/CalendarQueryBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/CalendarQueryBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/CalendarQueryBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/CalendarQueryBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobDataCountsPersister.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobDataCountsPersister.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobDataCountsPersister.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobDataCountsPersister.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobProvider.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobProvider.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobProvider.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobProvider.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersister.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersister.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersister.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersister.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersister.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersister.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersister.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersister.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/RecordsQueryBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/RecordsQueryBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/RecordsQueryBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/RecordsQueryBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ScheduledEventsQueryBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ScheduledEventsQueryBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ScheduledEventsQueryBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/ScheduledEventsQueryBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollector.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollector.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollector.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollector.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProcessor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProcessor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProcessor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProcessor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProvider.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProvider.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProvider.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProvider.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/CountingInputStream.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/CountingInputStream.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/CountingInputStream.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/CountingInputStream.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnostics.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnostics.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnostics.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnostics.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeController.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeController.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeController.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeController.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeControllerHolder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeControllerHolder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeControllerHolder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/NativeControllerHolder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrl.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrl.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrl.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrl.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessPipes.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessPipes.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessPipes.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/ProcessPipes.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectBuilder.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectBuilder.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectBuilder.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectBuilder.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcess.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcess.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcess.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcess.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManager.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManager.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManager.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManager.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcess.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcess.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcess.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcess.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcess.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcess.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcess.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcess.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/ProcessContext.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/ProcessContext.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/ProcessContext.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/ProcessContext.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/UpdateParams.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/UpdateParams.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/UpdateParams.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/UpdateParams.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParser.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParser.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParser.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParser.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListener.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListener.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListener.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListener.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/AutodetectParams.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/AutodetectParams.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/AutodetectParams.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/AutodetectParams.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParams.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParams.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParams.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParams.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParams.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParams.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParams.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParams.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParams.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParams.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParams.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParams.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRange.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRange.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRange.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRange.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CannotParseTimestampException.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CannotParseTimestampException.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CannotParseTimestampException.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CannotParseTimestampException.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateTransformer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateTransformer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateTransformer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateTransformer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriter.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriter.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriter.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriter.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/WriterConstants.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/WriterConstants.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/WriterConstants.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/WriterConstants.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReader.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReader.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReader.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReader.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessage.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessage.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessage.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessage.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandler.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandler.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandler.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandler.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/AbstractLeafNormalizable.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/AbstractLeafNormalizable.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/AbstractLeafNormalizable.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/AbstractLeafNormalizable.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizable.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizable.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizable.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizable.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizable.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizable.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizable.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizable.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizable.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizable.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizable.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizable.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Level.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Level.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Level.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Level.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/MultiplyingNormalizerProcess.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/MultiplyingNormalizerProcess.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/MultiplyingNormalizerProcess.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/MultiplyingNormalizerProcess.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcess.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcess.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcess.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcess.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcessFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcessFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcessFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NativeNormalizerProcessFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizable.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizable.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizable.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizable.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Normalizer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcess.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcess.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcess.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcess.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcessFactory.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcessFactory.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcessFactory.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerProcessFactory.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResult.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResult.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResult.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResult.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/PartitionScoreNormalizable.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/PartitionScoreNormalizable.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/PartitionScoreNormalizable.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/PartitionScoreNormalizable.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/RecordNormalizable.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/RecordNormalizable.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/RecordNormalizable.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/RecordNormalizable.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Renormalizer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Renormalizer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Renormalizer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/Renormalizer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdater.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdater.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdater.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdater.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizer.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizer.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizer.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizer.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandler.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandler.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandler.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandler.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/results/AutodetectResult.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/results/AutodetectResult.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/results/AutodetectResult.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/results/AutodetectResult.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/AbstractExpiredJobDataRemover.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/AbstractExpiredJobDataRemover.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/AbstractExpiredJobDataRemover.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/AbstractExpiredJobDataRemover.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredForecastsRemover.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredForecastsRemover.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredForecastsRemover.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredForecastsRemover.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemover.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemover.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemover.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemover.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemover.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemover.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemover.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemover.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/MlDataRemover.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/MlDataRemover.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/MlDataRemover.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/retention/MlDataRemover.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/notifications/Auditor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/notifications/Auditor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/notifications/Auditor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/notifications/Auditor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestDeleteExpiredDataAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestDeleteExpiredDataAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestDeleteExpiredDataAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestDeleteExpiredDataAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestMlInfoAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestMlInfoAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestMlInfoAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/RestMlInfoAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarEventAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarEventAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarEventAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarEventAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestDeleteCalendarJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarEventsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarEventsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarEventsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarEventsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestGetCalendarsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPostCalendarEventAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPostCalendarEventAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPostCalendarEventAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPostCalendarEventAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/calendar/RestPutCalendarJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestDeleteDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestDeleteDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestDeleteDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestDeleteDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedStatsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedStatsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedStatsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedStatsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestGetDatafeedsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPreviewDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPreviewDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPreviewDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPreviewDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPutDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPutDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPutDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestPutDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStopDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStopDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStopDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStopDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestUpdateDatafeedAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestUpdateDatafeedAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestUpdateDatafeedAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestUpdateDatafeedAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestDeleteFilterAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestDeleteFilterAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestDeleteFilterAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestDeleteFilterAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestGetFiltersAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestGetFiltersAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestGetFiltersAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestGetFiltersAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestPutFilterAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestPutFilterAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestPutFilterAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/filter/RestPutFilterAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestCloseJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestCloseJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestCloseJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestCloseJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestDeleteJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestDeleteJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestDeleteJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestDeleteJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestFlushJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestFlushJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestFlushJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestFlushJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestForecastJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestForecastJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestForecastJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestForecastJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobStatsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobStatsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobStatsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobStatsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestGetJobsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestOpenJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestOpenJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestOpenJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestOpenJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostDataAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostDataAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostDataAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostDataAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostJobUpdateAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostJobUpdateAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostJobUpdateAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostJobUpdateAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPutJobAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPutJobAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPutJobAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPutJobAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestDeleteModelSnapshotAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestDeleteModelSnapshotAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestDeleteModelSnapshotAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestDeleteModelSnapshotAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestGetModelSnapshotsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestGetModelSnapshotsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestGetModelSnapshotsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestGetModelSnapshotsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestRevertModelSnapshotAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestRevertModelSnapshotAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestRevertModelSnapshotAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestRevertModelSnapshotAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestUpdateModelSnapshotAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestUpdateModelSnapshotAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestUpdateModelSnapshotAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/modelsnapshots/RestUpdateModelSnapshotAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetBucketsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetBucketsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetBucketsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetBucketsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetCategoriesAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetCategoriesAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetCategoriesAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetCategoriesAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetInfluencersAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetInfluencersAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetInfluencersAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetInfluencersAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetOverallBucketsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetOverallBucketsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetOverallBucketsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetOverallBucketsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetRecordsAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetRecordsAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetRecordsAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/results/RestGetRecordsAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateDetectorAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateDetectorAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateDetectorAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateDetectorAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateJobConfigAction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateJobConfigAction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateJobConfigAction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/validate/RestValidateJobConfigAction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutor.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutor.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutor.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutor.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/DomainSplitFunction.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/DomainSplitFunction.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/DomainSplitFunction.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/DomainSplitFunction.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelper.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelper.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelper.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelper.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/StatsAccumulator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/StatsAccumulator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/StatsAccumulator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/StatsAccumulator.java diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/VolatileCursorIterator.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/VolatileCursorIterator.java similarity index 100% rename from plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/VolatileCursorIterator.java rename to x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/utils/VolatileCursorIterator.java diff --git a/plugin/ml/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/ml/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/ml/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/ml/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/ml/src/main/resources/org/elasticsearch/xpack/ml/transforms/exact.properties b/x-pack/plugin/ml/src/main/resources/org/elasticsearch/xpack/ml/transforms/exact.properties similarity index 100% rename from plugin/ml/src/main/resources/org/elasticsearch/xpack/ml/transforms/exact.properties rename to x-pack/plugin/ml/src/main/resources/org/elasticsearch/xpack/ml/transforms/exact.properties diff --git a/plugin/ml/src/test/java/org/elasticsearch/license/MachineLearningLicensingTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/license/MachineLearningLicensingTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/license/MachineLearningLicensingTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/license/MachineLearningLicensingTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/LocalStateMachineLearning.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/LocalStateMachineLearning.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/LocalStateMachineLearning.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/LocalStateMachineLearning.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSetTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSetTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSetTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningFeatureSetTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MachineLearningTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlAssignmentNotifierTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlAssignmentNotifierTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlAssignmentNotifierTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlAssignmentNotifierTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlClientHelperTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlClientHelperTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlClientHelperTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlClientHelperTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlDailyManagementServiceTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlDailyManagementServiceTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlDailyManagementServiceTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlDailyManagementServiceTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlInitializationServiceTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlInitializationServiceTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlInitializationServiceTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlInitializationServiceTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlMetadataTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlMetadataTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlMetadataTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlMetadataTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportCloseJobActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportCloseJobActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportCloseJobActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportCloseJobActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportDeleteJobActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportForecastJobActionRequestTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportForecastJobActionRequestTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportForecastJobActionRequestTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportForecastJobActionRequestTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportGetJobsStatsActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportOpenJobActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportOpenJobActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportOpenJobActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportOpenJobActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportPreviewDatafeedActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStartDatafeedActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/action/TransportStopDatafeedActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilderTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilderTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilderTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobBuilderTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobValidatorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobValidatorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobValidatorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedJobValidatorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManagerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManagerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManagerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedManagerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelectorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelectorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelectorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedNodeSelectorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedStateTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedStateTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedStateTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/DatafeedStateTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/ProblemTrackerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/ProblemTrackerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/ProblemTrackerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/ProblemTrackerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactoryTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactoryTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactoryTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/DataExtractorFactoryTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactoryTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactoryTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactoryTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorFactoryTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationDataExtractorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationTestUtils.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationTestUtils.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationTestUtils.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationTestUtils.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/aggregation/AggregationToJsonProcessorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactoryTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactoryTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactoryTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorFactoryTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/chunked/ChunkedDataExtractorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ExtractedFieldsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/ScrollDataExtractorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/SearchHitToJsonProcessorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectResultProcessorIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectResultProcessorIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectResultProcessorIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectResultProcessorIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/BasicDistributedJobsIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/BasicDistributedJobsIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/BasicDistributedJobsIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/BasicDistributedJobsIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteJobIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteJobIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteJobIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteJobIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/EstablishedMemUsageIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/EstablishedMemUsageIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/EstablishedMemUsageIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/EstablishedMemUsageIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobProviderIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobProviderIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobProviderIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobProviderIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobStorageDeletionTaskIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobStorageDeletionTaskIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobStorageDeletionTaskIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/JobStorageDeletionTaskIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/NetworkDisruptionIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/NetworkDisruptionIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/NetworkDisruptionIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/NetworkDisruptionIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/TooManyJobsIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/TooManyJobsIT.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/TooManyJobsIT.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/TooManyJobsIT.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobManagerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobManagerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobManagerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/JobManagerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/CategorizationAnalyzerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/categorization/MlClassicTokenizerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/CategorizationAnalyzerConfigTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/CategorizationAnalyzerConfigTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/CategorizationAnalyzerConfigTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/CategorizationAnalyzerConfigTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConditionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConditionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConditionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConditionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConnectiveTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConnectiveTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConnectiveTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/ConnectiveTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DataFormatTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DataFormatTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DataFormatTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DataFormatTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DefaultDetectorDescriptionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DefaultDetectorDescriptionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DefaultDetectorDescriptionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DefaultDetectorDescriptionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DetectorFunctionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DetectorFunctionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DetectorFunctionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/DetectorFunctionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobBuilderTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobBuilderTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobBuilderTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobBuilderTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobStateTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobStateTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobStateTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobStateTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobTaskStatusTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobTaskStatusTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobTaskStatusTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/JobTaskStatusTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/OperatorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/OperatorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/OperatorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/OperatorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleConditionTypeTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleConditionTypeTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleConditionTypeTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/config/RuleConditionTypeTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/messages/MessagesTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/messages/MessagesTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/messages/MessagesTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/messages/MessagesTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIteratorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIteratorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIteratorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/BatchedDocumentsIteratorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilderTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilderTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilderTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/InfluencersQueryBuilderTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobProviderTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobProviderTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobProviderTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobProviderTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersisterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersisterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersisterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobRenormalizedResultsPersisterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersisterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersisterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersisterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsPersisterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockBatchedDocumentsIterator.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockBatchedDocumentsIterator.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockBatchedDocumentsIterator.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockBatchedDocumentsIterator.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockClientBuilder.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockClientBuilder.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockClientBuilder.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/MockClientBuilder.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilderTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilderTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilderTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/ResultsFilterBuilderTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/StateStreamerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregatorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregatorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregatorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsAggregatorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollectorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollectorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollectorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsCollectorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProviderTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProviderTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProviderTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/persistence/overallbuckets/OverallBucketsProviderTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/CountingInputStreamTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/CountingInputStreamTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/CountingInputStreamTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/CountingInputStreamTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataCountsReporterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnosticsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnosticsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnosticsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DataStreamDiagnosticsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DummyDataCountsReporter.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DummyDataCountsReporter.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DummyDataCountsReporter.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/DummyDataCountsReporter.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/NativeControllerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/NativeControllerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/NativeControllerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/NativeControllerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrlTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrlTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrlTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessCtrlTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessPipesTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessPipesTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessPipesTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/ProcessPipesTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicatorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicatorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicatorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectCommunicatorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManagerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManagerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManagerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/AutodetectProcessManagerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcessTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcessTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcessTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/BlackHoleAutodetectProcessTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/NativeAutodetectProcessTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutoDetectResultProcessorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParserTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParserTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParserTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/AutodetectResultsParserTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushAcknowledgementTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushAcknowledgementTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushAcknowledgementTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushAcknowledgementTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListenerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListenerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListenerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/FlushListenerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/output/StateProcessorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParamsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParamsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParamsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/DataLoadParamsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParamsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParamsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParamsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/FlushJobParamsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParamsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParamsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParamsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/ForecastParamsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRangeTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRangeTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRangeTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/params/TimeRangeTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/state/MemoryStatusTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/state/MemoryStatusTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/state/MemoryStatusTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/state/MemoryStatusTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AbstractDataToProcessWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/AnalysisLimitsWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ControlMsgToProcessWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvDataToProcessWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvParserTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvParserTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvParserTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvParserTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/CsvRecordWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactoryTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactoryTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactoryTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DataToProcessWriterFactoryTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DateFormatDateTransformerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/DoubleDateTransformerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/FieldConfigWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/JsonDataToProcessWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/LengthEncodedWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/MlFilterWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ModelPlotConfigWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/ScheduledEventsWriterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReaderTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReaderTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReaderTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/autodetect/writer/XContentRecordReaderTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandlerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandlerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandlerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageHandlerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/logging/CppLogMessageTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizableTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizableTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizableTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketInfluencerNormalizableTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizableTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizableTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizableTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/BucketNormalizableTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizableTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizableTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizableTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/InfluencerNormalizableTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResultTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResultTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResultTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerResultTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ShortCircuitingRenormalizerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandlerTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandlerTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandlerTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/output/NormalizerResultHandlerTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/AutodetectResultTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/AutodetectResultTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/AutodetectResultTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/AutodetectResultTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/BucketTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/BucketTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/BucketTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/BucketTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/CategoryDefinitionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/CategoryDefinitionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/CategoryDefinitionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/CategoryDefinitionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastRequestStatsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastRequestStatsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastRequestStatsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastRequestStatsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ForecastTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/InfluenceTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/InfluenceTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/InfluenceTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/InfluenceTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ModelPlotTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ModelPlotTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ModelPlotTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ModelPlotTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/OverallBucketTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/OverallBucketTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/OverallBucketTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/OverallBucketTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/PartitionScoreTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/PartitionScoreTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/PartitionScoreTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/PartitionScoreTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ReservedFieldNamesTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ReservedFieldNamesTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ReservedFieldNamesTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/results/ReservedFieldNamesTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemoverTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemoverTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemoverTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredModelSnapshotsRemoverTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemoverTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemoverTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemoverTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/job/retention/ExpiredResultsRemoverTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/GetModelSnapshotsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/GetModelSnapshotsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/GetModelSnapshotsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/GetModelSnapshotsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/UpdateModelSnapshotActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/UpdateModelSnapshotActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/UpdateModelSnapshotActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/modelsnapshots/UpdateModelSnapshotActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/AuditorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/AuditorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/AuditorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/AuditorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/LevelTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/LevelTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/LevelTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/notifications/LevelTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedActionTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedActionTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedActionTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/rest/datafeeds/RestStartDatafeedActionTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/support/BaseMlIntegTestCase.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/support/BaseMlIntegTestCase.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/support/BaseMlIntegTestCase.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/support/BaseMlIntegTestCase.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/test/SearchHitBuilder.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/test/SearchHitBuilder.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/test/SearchHitBuilder.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/test/SearchHitBuilder.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/ChainTaskExecutorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/IntervalsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/IntervalsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/IntervalsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/IntervalsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/MlStringsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/MlStringsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/MlStringsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/MlStringsTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NameResolverTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NameResolverTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NameResolverTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NameResolverTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/StatsAccumulatorTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/StatsAccumulatorTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/StatsAccumulatorTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/StatsAccumulatorTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/DateTimeFormatterTimestampConverterTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/DateTimeFormatterTimestampConverterTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/DateTimeFormatterTimestampConverterTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/DateTimeFormatterTimestampConverterTests.java diff --git a/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/TimeUtilsTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/TimeUtilsTests.java similarity index 100% rename from plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/TimeUtilsTests.java rename to x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/utils/time/TimeUtilsTests.java diff --git a/plugin/monitoring/build.gradle b/x-pack/plugin/monitoring/build.gradle similarity index 100% rename from plugin/monitoring/build.gradle rename to x-pack/plugin/monitoring/build.gradle diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringService.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringService.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringService.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringService.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkAction.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkAction.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkAction.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkAction.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerService.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerService.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerService.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerService.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/Collector.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/Collector.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/Collector.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/Collector.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollector.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollector.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollector.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollector.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollector.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollector.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollector.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollector.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollector.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollector.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollector.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollector.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollector.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollector.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollector.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollector.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollector.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollector.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollector.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollector.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollector.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollector.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollector.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollector.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtil.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtil.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtil.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtil.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportBulk.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportBulk.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportBulk.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportBulk.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportException.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportException.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportException.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/ExportException.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporter.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporter.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporter.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporter.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporters.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporters.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporters.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/Exporters.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/FilteredMonitoringDoc.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/FilteredMonitoringDoc.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/FilteredMonitoringDoc.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/FilteredMonitoringDoc.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulk.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulk.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulk.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulk.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListener.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListener.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListener.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListener.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporter.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporter.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporter.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporter.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilder.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilder.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilder.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilder.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListener.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListener.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListener.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListener.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/Scheme.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/Scheme.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/Scheme.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/Scheme.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallback.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallback.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallback.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallback.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallback.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallback.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallback.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallback.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResource.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResource.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResource.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResource.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalBulk.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalBulk.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalBulk.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalBulk.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporter.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporter.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporter.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporter.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/MonitoringRestHandler.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/MonitoringRestHandler.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/MonitoringRestHandler.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/MonitoringRestHandler.java diff --git a/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkAction.java b/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkAction.java similarity index 100% rename from plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkAction.java rename to x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkAction.java diff --git a/plugin/monitoring/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/monitoring/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/monitoring/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/monitoring/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_cluster_status.json b/x-pack/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_cluster_status.json similarity index 100% rename from plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_cluster_status.json rename to x-pack/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_cluster_status.json diff --git a/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_nodes.json b/x-pack/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_nodes.json similarity index 100% rename from plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_nodes.json rename to x-pack/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_nodes.json diff --git a/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_version_mismatch.json b/x-pack/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_version_mismatch.json similarity index 100% rename from plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_version_mismatch.json rename to x-pack/plugin/monitoring/src/main/resources/monitoring/watches/elasticsearch_version_mismatch.json diff --git a/plugin/monitoring/src/main/resources/monitoring/watches/kibana_version_mismatch.json b/x-pack/plugin/monitoring/src/main/resources/monitoring/watches/kibana_version_mismatch.json similarity index 100% rename from plugin/monitoring/src/main/resources/monitoring/watches/kibana_version_mismatch.json rename to x-pack/plugin/monitoring/src/main/resources/monitoring/watches/kibana_version_mismatch.json diff --git a/plugin/monitoring/src/main/resources/monitoring/watches/logstash_version_mismatch.json b/x-pack/plugin/monitoring/src/main/resources/monitoring/watches/logstash_version_mismatch.json similarity index 100% rename from plugin/monitoring/src/main/resources/monitoring/watches/logstash_version_mismatch.json rename to x-pack/plugin/monitoring/src/main/resources/monitoring/watches/logstash_version_mismatch.json diff --git a/plugin/monitoring/src/main/resources/monitoring/watches/xpack_license_expiration.json b/x-pack/plugin/monitoring/src/main/resources/monitoring/watches/xpack_license_expiration.json similarity index 100% rename from plugin/monitoring/src/main/resources/monitoring/watches/xpack_license_expiration.json rename to x-pack/plugin/monitoring/src/main/resources/monitoring/watches/xpack_license_expiration.json diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/BaseCollectorTestCase.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/BaseCollectorTestCase.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/BaseCollectorTestCase.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/BaseCollectorTestCase.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/LocalStateMonitoring.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/LocalStateMonitoring.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/LocalStateMonitoring.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/LocalStateMonitoring.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoredSystemTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoredSystemTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoredSystemTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoredSystemTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSetTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSetTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSetTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSetTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringHistoryDurationSettingsTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringHistoryDurationSettingsTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringHistoryDurationSettingsTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringHistoryDurationSettingsTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringPluginClientTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringPluginClientTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringPluginClientTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringPluginClientTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringServiceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringServiceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringServiceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringServiceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringTestUtils.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringTestUtils.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringTestUtils.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringTestUtils.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MultiNodesStatsTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MultiNodesStatsTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MultiNodesStatsTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MultiNodesStatsTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkRequestTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkRequestTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkRequestTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkRequestTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponseTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponseTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponseTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponseTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringIndexTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringIndexTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringIndexTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/MonitoringIndexTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkActionTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkActionTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkActionTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/action/TransportMonitoringBulkActionTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/AbstractIndicesCleanerTestCase.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/AbstractIndicesCleanerTestCase.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/AbstractIndicesCleanerTestCase.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/AbstractIndicesCleanerTestCase.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerServiceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerServiceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerServiceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/CleanerServiceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/local/LocalIndicesCleanerTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/CollectorTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/CollectorTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/CollectorTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/CollectorTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollectorTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollectorTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollectorTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollectorTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollectorTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollectorTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollectorTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryCollectorTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexRecoveryMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndicesStatsMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollectorTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollectorTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollectorTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsCollectorTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/ml/JobStatsMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollectorTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollectorTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollectorTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsCollectorTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/node/NodeStatsMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollectorTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollectorTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollectorTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsCollectorTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/shards/ShardsMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseFilteredMonitoringDocTestCase.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseFilteredMonitoringDocTestCase.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseFilteredMonitoringDocTestCase.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseFilteredMonitoringDocTestCase.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseMonitoringDocTestCase.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseMonitoringDocTestCase.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseMonitoringDocTestCase.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BaseMonitoringDocTestCase.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDocTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDocTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDocTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/BytesReferenceMonitoringDocTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtilTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtilTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtilTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ClusterAlertsUtilTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ExportersTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ExportersTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ExportersTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/ExportersTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/MonitoringTemplateUtilsTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/MonitoringTemplateUtilsTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/MonitoringTemplateUtilsTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/MonitoringTemplateUtilsTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/AbstractPublishableHttpResourceTestCase.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/AbstractPublishableHttpResourceTestCase.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/AbstractPublishableHttpResourceTestCase.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/AbstractPublishableHttpResourceTestCase.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/ClusterAlertHttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListenerTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListenerTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListenerTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExportBulkResponseListenerTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterIT.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterIT.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterIT.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterIT.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpExporterTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilderTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilderTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilderTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpHostBuilderTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/HttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MockHttpResource.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MockHttpResource.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MockHttpResource.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MockHttpResource.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/MultiHttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListenerTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListenerTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListenerTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/NodeFailureListenerTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PipelineHttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/PublishableHttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SchemeTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SchemeTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SchemeTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SchemeTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallbackTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallbackTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallbackTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/SecurityHttpClientConfigCallbackTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TemplateHttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallbackTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallbackTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallbackTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/TimeoutRequestConfigCallbackTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/VersionHttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResourceTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResourceTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResourceTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/http/WatcherExistsHttpResourceTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTestCase.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTestCase.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTestCase.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTestCase.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterResourceIntegTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterResourceIntegTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterResourceIntegTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterResourceIntegTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkActionTests.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkActionTests.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkActionTests.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkActionTests.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MockIngestPlugin.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MockIngestPlugin.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MockIngestPlugin.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MockIngestPlugin.java diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MonitoringIntegTestCase.java b/x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MonitoringIntegTestCase.java similarity index 100% rename from plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MonitoringIntegTestCase.java rename to x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MonitoringIntegTestCase.java diff --git a/plugin/monitoring/src/test/resources/monitoring-test.json b/x-pack/plugin/monitoring/src/test/resources/monitoring-test.json similarity index 100% rename from plugin/monitoring/src/test/resources/monitoring-test.json rename to x-pack/plugin/monitoring/src/test/resources/monitoring-test.json diff --git a/plugin/rollup/build.gradle b/x-pack/plugin/rollup/build.gradle similarity index 100% rename from plugin/rollup/build.gradle rename to x-pack/plugin/rollup/build.gradle diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupFeatureSet.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupFeatureSet.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupFeatureSet.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupFeatureSet.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtils.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtils.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtils.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtils.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupRequestTranslator.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupRequestTranslator.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupRequestTranslator.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupRequestTranslator.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupResponseTranslator.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupResponseTranslator.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupResponseTranslator.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/RollupResponseTranslator.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/RollupIndexCaps.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/RollupIndexCaps.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/RollupIndexCaps.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/RollupIndexCaps.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportDeleteRollupJobAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportDeleteRollupJobAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportDeleteRollupJobAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportDeleteRollupJobAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupCapsAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupCapsAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupCapsAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupCapsAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupJobAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupJobAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupJobAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportGetRollupJobAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportPutRollupJobAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportPutRollupJobAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportPutRollupJobAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportPutRollupJobAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportRollupSearchAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportRollupSearchAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportRollupSearchAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportRollupSearchAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStartRollupAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStartRollupAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStartRollupAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStartRollupAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStopRollupAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStopRollupAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStopRollupAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportStopRollupAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelper.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelper.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelper.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelper.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/CronSchedule.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/CronSchedule.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/CronSchedule.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/CronSchedule.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/IndexerUtils.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/IndexerUtils.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/IndexerUtils.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/IndexerUtils.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupClientHelper.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupClientHelper.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupClientHelper.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupClientHelper.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupIndexer.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupIndexer.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupIndexer.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupIndexer.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupJobTask.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupJobTask.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupJobTask.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/job/RollupJobTask.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestDeleteRollupJobAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestDeleteRollupJobAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestDeleteRollupJobAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestDeleteRollupJobAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupCapsAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupCapsAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupCapsAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupCapsAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupJobsAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupJobsAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupJobsAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupJobsAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestPutRollupJobAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestPutRollupJobAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestPutRollupJobAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestPutRollupJobAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestRollupSearchAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestRollupSearchAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestRollupSearchAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestRollupSearchAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStartRollupJobAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStartRollupJobAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStartRollupJobAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStartRollupJobAction.java diff --git a/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStopRollupJobAction.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStopRollupJobAction.java similarity index 100% rename from plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStopRollupJobAction.java rename to x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestStopRollupJobAction.java diff --git a/plugin/rollup/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/rollup/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/rollup/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/rollup/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/LocalStateRollup.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/LocalStateRollup.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/LocalStateRollup.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/LocalStateRollup.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupFeatureSetTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupFeatureSetTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupFeatureSetTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupFeatureSetTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupIT.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupIT.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupIT.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupIT.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtilTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtilTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtilTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupJobIdentifierUtilTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupRequestTranslationTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupRequestTranslationTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupRequestTranslationTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupRequestTranslationTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupResponseTranslationTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupResponseTranslationTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupResponseTranslationTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/RollupResponseTranslationTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/DeleteJobActionRequestTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/DeleteJobActionRequestTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/DeleteJobActionRequestTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/DeleteJobActionRequestTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetJobsActionRequestTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetJobsActionRequestTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetJobsActionRequestTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetJobsActionRequestTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetRollupCapsActionRequestTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetRollupCapsActionRequestTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetRollupCapsActionRequestTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/GetRollupCapsActionRequestTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobActionRequestTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobActionRequestTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobActionRequestTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobActionRequestTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobStateMachineTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobStateMachineTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobStateMachineTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/PutJobStateMachineTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/RollupIndexCapsTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/RollupIndexCapsTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/RollupIndexCapsTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/RollupIndexCapsTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/SearchActionTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/SearchActionTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/SearchActionTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/SearchActionTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StartJobActionRequestTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StartJobActionRequestTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StartJobActionRequestTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StartJobActionRequestTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StopJobActionRequestTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StopJobActionRequestTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StopJobActionRequestTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/StopJobActionRequestTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelperTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelperTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelperTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/action/TransportTaskHelperTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/config/ConfigTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/config/ConfigTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/config/ConfigTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/config/ConfigTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/IndexerUtilsTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/IndexerUtilsTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/IndexerUtilsTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/IndexerUtilsTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupClientHelperTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupClientHelperTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupClientHelperTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupClientHelperTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerStateTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerStateTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerStateTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerStateTests.java diff --git a/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupJobTaskTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupJobTaskTests.java similarity index 100% rename from plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupJobTaskTests.java rename to x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupJobTaskTests.java diff --git a/plugin/security/build.gradle b/x-pack/plugin/security/build.gradle similarity index 100% rename from plugin/security/build.gradle rename to x-pack/plugin/security/build.gradle diff --git a/plugin/security/forbidden/ldap-signatures.txt b/x-pack/plugin/security/forbidden/ldap-signatures.txt similarity index 100% rename from plugin/security/forbidden/ldap-signatures.txt rename to x-pack/plugin/security/forbidden/ldap-signatures.txt diff --git a/plugin/security/forbidden/xml-signatures.txt b/x-pack/plugin/security/forbidden/xml-signatures.txt similarity index 100% rename from plugin/security/forbidden/xml-signatures.txt rename to x-pack/plugin/security/forbidden/xml-signatures.txt diff --git a/plugin/security/licenses/cryptacular-1.2.0.jar.sha1 b/x-pack/plugin/security/licenses/cryptacular-1.2.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/cryptacular-1.2.0.jar.sha1 rename to x-pack/plugin/security/licenses/cryptacular-1.2.0.jar.sha1 diff --git a/plugin/security/licenses/cryptacular-LICENSE.txt b/x-pack/plugin/security/licenses/cryptacular-LICENSE.txt similarity index 100% rename from plugin/security/licenses/cryptacular-LICENSE.txt rename to x-pack/plugin/security/licenses/cryptacular-LICENSE.txt diff --git a/plugin/security/licenses/cryptacular-NOTICE.txt b/x-pack/plugin/security/licenses/cryptacular-NOTICE.txt similarity index 100% rename from plugin/security/licenses/cryptacular-NOTICE.txt rename to x-pack/plugin/security/licenses/cryptacular-NOTICE.txt diff --git a/plugin/security/licenses/guava-19.0.jar.sha1 b/x-pack/plugin/security/licenses/guava-19.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/guava-19.0.jar.sha1 rename to x-pack/plugin/security/licenses/guava-19.0.jar.sha1 diff --git a/plugin/security/licenses/guava-LICENSE.txt b/x-pack/plugin/security/licenses/guava-LICENSE.txt similarity index 100% rename from plugin/security/licenses/guava-LICENSE.txt rename to x-pack/plugin/security/licenses/guava-LICENSE.txt diff --git a/plugin/security/licenses/guava-NOTICE.txt b/x-pack/plugin/security/licenses/guava-NOTICE.txt similarity index 100% rename from plugin/security/licenses/guava-NOTICE.txt rename to x-pack/plugin/security/licenses/guava-NOTICE.txt diff --git a/plugin/security/licenses/httpclient-LICENSE.txt b/x-pack/plugin/security/licenses/httpclient-LICENSE.txt similarity index 100% rename from plugin/security/licenses/httpclient-LICENSE.txt rename to x-pack/plugin/security/licenses/httpclient-LICENSE.txt diff --git a/plugin/security/licenses/httpclient-NOTICE.txt b/x-pack/plugin/security/licenses/httpclient-NOTICE.txt similarity index 100% rename from plugin/security/licenses/httpclient-NOTICE.txt rename to x-pack/plugin/security/licenses/httpclient-NOTICE.txt diff --git a/plugin/security/licenses/httpclient-cache-4.5.2.jar.sha1 b/x-pack/plugin/security/licenses/httpclient-cache-4.5.2.jar.sha1 similarity index 100% rename from plugin/security/licenses/httpclient-cache-4.5.2.jar.sha1 rename to x-pack/plugin/security/licenses/httpclient-cache-4.5.2.jar.sha1 diff --git a/plugin/security/licenses/java-support-7.3.0.jar.sha1 b/x-pack/plugin/security/licenses/java-support-7.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/java-support-7.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/java-support-7.3.0.jar.sha1 diff --git a/plugin/security/licenses/log4j-slf4j-impl-2.9.1.jar.sha1 b/x-pack/plugin/security/licenses/log4j-slf4j-impl-2.9.1.jar.sha1 similarity index 100% rename from plugin/security/licenses/log4j-slf4j-impl-2.9.1.jar.sha1 rename to x-pack/plugin/security/licenses/log4j-slf4j-impl-2.9.1.jar.sha1 diff --git a/plugin/security/licenses/log4j-slf4j-impl-LICENSE.txt b/x-pack/plugin/security/licenses/log4j-slf4j-impl-LICENSE.txt similarity index 100% rename from plugin/security/licenses/log4j-slf4j-impl-LICENSE.txt rename to x-pack/plugin/security/licenses/log4j-slf4j-impl-LICENSE.txt diff --git a/plugin/security/licenses/log4j-slf4j-impl-NOTICE.txt b/x-pack/plugin/security/licenses/log4j-slf4j-impl-NOTICE.txt similarity index 100% rename from plugin/security/licenses/log4j-slf4j-impl-NOTICE.txt rename to x-pack/plugin/security/licenses/log4j-slf4j-impl-NOTICE.txt diff --git a/plugin/security/licenses/metrics-core-3.2.2.jar.sha1 b/x-pack/plugin/security/licenses/metrics-core-3.2.2.jar.sha1 similarity index 100% rename from plugin/security/licenses/metrics-core-3.2.2.jar.sha1 rename to x-pack/plugin/security/licenses/metrics-core-3.2.2.jar.sha1 diff --git a/plugin/security/licenses/metrics-core-LICENSE.txt b/x-pack/plugin/security/licenses/metrics-core-LICENSE.txt similarity index 100% rename from plugin/security/licenses/metrics-core-LICENSE.txt rename to x-pack/plugin/security/licenses/metrics-core-LICENSE.txt diff --git a/plugin/security/licenses/metrics-core-NOTICE.txt b/x-pack/plugin/security/licenses/metrics-core-NOTICE.txt similarity index 100% rename from plugin/security/licenses/metrics-core-NOTICE.txt rename to x-pack/plugin/security/licenses/metrics-core-NOTICE.txt diff --git a/plugin/security/licenses/opensaml-core-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-core-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-core-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-core-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-messaging-api-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-messaging-api-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-messaging-api-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-messaging-api-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-messaging-impl-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-messaging-impl-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-messaging-impl-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-messaging-impl-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-profile-api-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-profile-api-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-profile-api-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-profile-api-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-profile-impl-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-profile-impl-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-profile-impl-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-profile-impl-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-saml-api-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-saml-api-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-saml-api-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-saml-api-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-saml-impl-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-saml-impl-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-saml-impl-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-saml-impl-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-security-api-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-security-api-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-security-api-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-security-api-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-security-impl-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-security-impl-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-security-impl-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-security-impl-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-soap-api-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-soap-api-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-soap-api-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-soap-api-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-soap-impl-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-soap-impl-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-soap-impl-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-soap-impl-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-storage-api-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-storage-api-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-storage-api-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-storage-api-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-storage-impl-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-storage-impl-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-storage-impl-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-storage-impl-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-xmlsec-api-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-xmlsec-api-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-xmlsec-api-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-xmlsec-api-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/opensaml-xmlsec-impl-3.3.0.jar.sha1 b/x-pack/plugin/security/licenses/opensaml-xmlsec-impl-3.3.0.jar.sha1 similarity index 100% rename from plugin/security/licenses/opensaml-xmlsec-impl-3.3.0.jar.sha1 rename to x-pack/plugin/security/licenses/opensaml-xmlsec-impl-3.3.0.jar.sha1 diff --git a/plugin/security/licenses/shibboleth-LICENSE.txt b/x-pack/plugin/security/licenses/shibboleth-LICENSE.txt similarity index 100% rename from plugin/security/licenses/shibboleth-LICENSE.txt rename to x-pack/plugin/security/licenses/shibboleth-LICENSE.txt diff --git a/plugin/security/licenses/shibboleth-NOTICE.txt b/x-pack/plugin/security/licenses/shibboleth-NOTICE.txt similarity index 100% rename from plugin/security/licenses/shibboleth-NOTICE.txt rename to x-pack/plugin/security/licenses/shibboleth-NOTICE.txt diff --git a/plugin/security/licenses/slf4j-api-1.6.2.jar.sha1 b/x-pack/plugin/security/licenses/slf4j-api-1.6.2.jar.sha1 similarity index 100% rename from plugin/security/licenses/slf4j-api-1.6.2.jar.sha1 rename to x-pack/plugin/security/licenses/slf4j-api-1.6.2.jar.sha1 diff --git a/plugin/security/licenses/slf4j-api-LICENSE.txt b/x-pack/plugin/security/licenses/slf4j-api-LICENSE.txt similarity index 100% rename from plugin/security/licenses/slf4j-api-LICENSE.txt rename to x-pack/plugin/security/licenses/slf4j-api-LICENSE.txt diff --git a/plugin/security/licenses/slf4j-api-NOTICE.txt b/x-pack/plugin/security/licenses/slf4j-api-NOTICE.txt similarity index 100% rename from plugin/security/licenses/slf4j-api-NOTICE.txt rename to x-pack/plugin/security/licenses/slf4j-api-NOTICE.txt diff --git a/plugin/security/licenses/xmlsec-2.0.8.jar.sha1 b/x-pack/plugin/security/licenses/xmlsec-2.0.8.jar.sha1 similarity index 100% rename from plugin/security/licenses/xmlsec-2.0.8.jar.sha1 rename to x-pack/plugin/security/licenses/xmlsec-2.0.8.jar.sha1 diff --git a/plugin/security/licenses/xmlsec-LICENSE.txt b/x-pack/plugin/security/licenses/xmlsec-LICENSE.txt similarity index 100% rename from plugin/security/licenses/xmlsec-LICENSE.txt rename to x-pack/plugin/security/licenses/xmlsec-LICENSE.txt diff --git a/plugin/security/licenses/xmlsec-NOTICE.txt b/x-pack/plugin/security/licenses/xmlsec-NOTICE.txt similarity index 100% rename from plugin/security/licenses/xmlsec-NOTICE.txt rename to x-pack/plugin/security/licenses/xmlsec-NOTICE.txt diff --git a/plugin/security/src/main/bin/certgen b/x-pack/plugin/security/src/main/bin/certgen similarity index 100% rename from plugin/security/src/main/bin/certgen rename to x-pack/plugin/security/src/main/bin/certgen diff --git a/plugin/security/src/main/bin/certgen.bat b/x-pack/plugin/security/src/main/bin/certgen.bat similarity index 100% rename from plugin/security/src/main/bin/certgen.bat rename to x-pack/plugin/security/src/main/bin/certgen.bat diff --git a/plugin/security/src/main/bin/certutil b/x-pack/plugin/security/src/main/bin/certutil similarity index 100% rename from plugin/security/src/main/bin/certutil rename to x-pack/plugin/security/src/main/bin/certutil diff --git a/plugin/security/src/main/bin/certutil.bat b/x-pack/plugin/security/src/main/bin/certutil.bat similarity index 100% rename from plugin/security/src/main/bin/certutil.bat rename to x-pack/plugin/security/src/main/bin/certutil.bat diff --git a/plugin/security/src/main/bin/migrate b/x-pack/plugin/security/src/main/bin/migrate similarity index 100% rename from plugin/security/src/main/bin/migrate rename to x-pack/plugin/security/src/main/bin/migrate diff --git a/plugin/security/src/main/bin/migrate.bat b/x-pack/plugin/security/src/main/bin/migrate.bat similarity index 100% rename from plugin/security/src/main/bin/migrate.bat rename to x-pack/plugin/security/src/main/bin/migrate.bat diff --git a/plugin/security/src/main/bin/saml-metadata b/x-pack/plugin/security/src/main/bin/saml-metadata similarity index 100% rename from plugin/security/src/main/bin/saml-metadata rename to x-pack/plugin/security/src/main/bin/saml-metadata diff --git a/plugin/security/src/main/bin/saml-metadata.bat b/x-pack/plugin/security/src/main/bin/saml-metadata.bat similarity index 100% rename from plugin/security/src/main/bin/saml-metadata.bat rename to x-pack/plugin/security/src/main/bin/saml-metadata.bat diff --git a/plugin/security/src/main/bin/setup-passwords b/x-pack/plugin/security/src/main/bin/setup-passwords similarity index 100% rename from plugin/security/src/main/bin/setup-passwords rename to x-pack/plugin/security/src/main/bin/setup-passwords diff --git a/plugin/security/src/main/bin/setup-passwords.bat b/x-pack/plugin/security/src/main/bin/setup-passwords.bat similarity index 100% rename from plugin/security/src/main/bin/setup-passwords.bat rename to x-pack/plugin/security/src/main/bin/setup-passwords.bat diff --git a/plugin/security/src/main/bin/syskeygen b/x-pack/plugin/security/src/main/bin/syskeygen similarity index 100% rename from plugin/security/src/main/bin/syskeygen rename to x-pack/plugin/security/src/main/bin/syskeygen diff --git a/plugin/security/src/main/bin/syskeygen.bat b/x-pack/plugin/security/src/main/bin/syskeygen.bat similarity index 100% rename from plugin/security/src/main/bin/syskeygen.bat rename to x-pack/plugin/security/src/main/bin/syskeygen.bat diff --git a/plugin/security/src/main/bin/users b/x-pack/plugin/security/src/main/bin/users similarity index 100% rename from plugin/security/src/main/bin/users rename to x-pack/plugin/security/src/main/bin/users diff --git a/plugin/security/src/main/bin/users.bat b/x-pack/plugin/security/src/main/bin/users.bat similarity index 100% rename from plugin/security/src/main/bin/users.bat rename to x-pack/plugin/security/src/main/bin/users.bat diff --git a/plugin/security/src/main/bin/x-pack-security-env b/x-pack/plugin/security/src/main/bin/x-pack-security-env similarity index 100% rename from plugin/security/src/main/bin/x-pack-security-env rename to x-pack/plugin/security/src/main/bin/x-pack-security-env diff --git a/plugin/security/src/main/bin/x-pack-security-env.bat b/x-pack/plugin/security/src/main/bin/x-pack-security-env.bat similarity index 100% rename from plugin/security/src/main/bin/x-pack-security-env.bat rename to x-pack/plugin/security/src/main/bin/x-pack-security-env.bat diff --git a/plugin/security/src/main/config/role_mapping.yml b/x-pack/plugin/security/src/main/config/role_mapping.yml similarity index 100% rename from plugin/security/src/main/config/role_mapping.yml rename to x-pack/plugin/security/src/main/config/role_mapping.yml diff --git a/plugin/security/src/main/config/roles.yml b/x-pack/plugin/security/src/main/config/roles.yml similarity index 100% rename from plugin/security/src/main/config/roles.yml rename to x-pack/plugin/security/src/main/config/roles.yml diff --git a/plugin/security/src/main/config/users b/x-pack/plugin/security/src/main/config/users similarity index 100% rename from plugin/security/src/main/config/users rename to x-pack/plugin/security/src/main/config/users diff --git a/plugin/security/src/main/config/users_roles b/x-pack/plugin/security/src/main/config/users_roles similarity index 100% rename from plugin/security/src/main/config/users_roles rename to x-pack/plugin/security/src/main/config/users_roles diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheck.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheck.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheck.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheck.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/Security.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/Security.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/Security.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/Security.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityFeatureSet.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityFeatureSet.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityFeatureSet.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityFeatureSet.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityLifecycleService.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityLifecycleService.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityLifecycleService.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/SecurityLifecycleService.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/TokenSSLBootstrapCheck.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/TokenSSLBootstrapCheck.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/TokenSSLBootstrapCheck.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/TokenSSLBootstrapCheck.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/SecurityActionMapper.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/SecurityActionMapper.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/SecurityActionMapper.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/SecurityActionMapper.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilter.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilter.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilter.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilter.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/BulkShardRequestInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/BulkShardRequestInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/BulkShardRequestInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/BulkShardRequestInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/FieldAndDocumentLevelSecurityRequestInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/FieldAndDocumentLevelSecurityRequestInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/FieldAndDocumentLevelSecurityRequestInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/FieldAndDocumentLevelSecurityRequestInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/RequestInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/RequestInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/RequestInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/RequestInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/SearchRequestInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/SearchRequestInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/SearchRequestInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/SearchRequestInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/UpdateRequestInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/UpdateRequestInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/UpdateRequestInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/interceptor/UpdateRequestInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/realm/TransportClearRealmCacheAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/realm/TransportClearRealmCacheAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/realm/TransportClearRealmCacheAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/realm/TransportClearRealmCacheAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportClearRolesCacheAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportClearRolesCacheAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportClearRolesCacheAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportClearRolesCacheAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportDeleteRoleMappingAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportDeleteRoleMappingAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportDeleteRoleMappingAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportDeleteRoleMappingAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlAuthenticateAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlAuthenticateAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlAuthenticateAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlAuthenticateAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlPrepareAuthenticationAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlPrepareAuthenticationAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlPrepareAuthenticationAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/saml/TransportSamlPrepareAuthenticationAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportCreateTokenAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportCreateTokenAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportCreateTokenAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportCreateTokenAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportInvalidateTokenAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportInvalidateTokenAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportInvalidateTokenAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportInvalidateTokenAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportRefreshTokenAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportRefreshTokenAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportRefreshTokenAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/token/TransportRefreshTokenAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportPutUserAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportPutUserAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportPutUserAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportPutUserAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditLevel.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditLevel.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditLevel.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditLevel.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrail.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrail.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrail.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrail.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditUtil.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditUtil.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditUtil.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditUtil.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrail.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrail.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrail.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrail.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexNameResolver.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexNameResolver.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexNameResolver.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/index/IndexNameResolver.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrail.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrail.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrail.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrail.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/AuthenticationService.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/AuthenticationService.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/AuthenticationService.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/AuthenticationService.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/BytesKey.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/BytesKey.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/BytesKey.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/BytesKey.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ExpiredTokenRemover.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ExpiredTokenRemover.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ExpiredTokenRemover.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ExpiredTokenRemover.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/InternalRealms.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/InternalRealms.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/InternalRealms.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/InternalRealms.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/Realms.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/Realms.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/Realms.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/Realms.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/UserToken.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/UserToken.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/UserToken.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/UserToken.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateTool.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateTool.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateTool.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateTool.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStore.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStore.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStore.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStore.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/UserAndPassword.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/UserAndPassword.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/UserAndPassword.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/UserAndPassword.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClient.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClient.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClient.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClient.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/HttpResponse.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/HttpResponse.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/HttpResponse.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/HttpResponse.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordTool.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordTool.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordTool.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordTool.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStore.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStore.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/tool/UsersTool.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/tool/UsersTool.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/tool/UsersTool.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/file/tool/UsersTool.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolver.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolver.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolver.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolver.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtil.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactory.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactory.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactory.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactory.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactory.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactory.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactory.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactory.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactory.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactory.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactory.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactory.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/PoolingSessionFactory.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/PoolingSessionFactory.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/PoolingSessionFactory.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/PoolingSessionFactory.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolver.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolver.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolver.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolver.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolver.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolver.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolver.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolver.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancing.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancing.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancing.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancing.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolver.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolver.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolver.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolver.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapSession.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapSession.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapSession.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapSession.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapUtils.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapUtils.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapUtils.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapUtils.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactory.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactory.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactory.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactory.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/PkiRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/PkiRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/PkiRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/PkiRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/X509AuthenticationToken.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/X509AuthenticationToken.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/X509AuthenticationToken.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/X509AuthenticationToken.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/IdpConfiguration.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/IdpConfiguration.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/IdpConfiguration.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/IdpConfiguration.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAttributes.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAttributes.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAttributes.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAttributes.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticator.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticator.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticator.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticator.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilder.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilder.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilder.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilder.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandler.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandler.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandler.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandler.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilder.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilder.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilder.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilder.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutResponseBuilder.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutResponseBuilder.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutResponseBuilder.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutResponseBuilder.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMessageBuilder.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMessageBuilder.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMessageBuilder.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMessageBuilder.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommand.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommand.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommand.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommand.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlNameId.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlNameId.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlNameId.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlNameId.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirect.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirect.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirect.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirect.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRequestHandler.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRequestHandler.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRequestHandler.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlRequestHandler.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilder.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilder.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilder.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilder.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlToken.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlToken.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlToken.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlToken.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlUtils.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlUtils.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlUtils.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlUtils.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SigningConfiguration.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SigningConfiguration.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SigningConfiguration.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SigningConfiguration.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SpConfiguration.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SpConfiguration.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SpConfiguration.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SpConfiguration.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapper.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheck.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheck.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheck.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheck.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UserRoleMapper.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UserRoleMapper.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UserRoleMapper.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UserRoleMapper.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordRealm.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordRealm.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordRealm.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordRealm.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/CompositeRoleMapper.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/CompositeRoleMapper.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/CompositeRoleMapper.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/CompositeRoleMapper.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStore.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStore.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStore.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStore.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationService.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationUtils.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationUtils.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationUtils.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizationUtils.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizedIndices.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizedIndices.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizedIndices.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/AuthorizedIndices.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListener.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListener.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListener.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListener.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCache.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCache.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCache.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCache.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStore.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStore.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStore.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStore.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyTool.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyTool.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyTool.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyTool.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/RemoteHostHeader.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/RemoteHostHeader.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/RemoteHostHeader.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/RemoteHostHeader.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/SecurityRestFilter.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/SecurityRestFilter.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/SecurityRestFilter.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/SecurityRestFilter.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandler.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandler.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandler.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandler.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestInvalidateTokenAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestInvalidateTokenAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestInvalidateTokenAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestInvalidateTokenAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/realm/RestClearRealmCacheAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/realm/RestClearRealmCacheAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/realm/RestClearRealmCacheAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/realm/RestClearRealmCacheAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestClearRolesCacheAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestClearRolesCacheAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestClearRolesCacheAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestClearRolesCacheAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestDeleteRoleAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestDeleteRoleAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestDeleteRoleAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestDeleteRoleAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestGetRolesAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestGetRolesAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestGetRolesAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestGetRolesAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestPutRoleAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestPutRoleAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestPutRoleAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/role/RestPutRoleAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestDeleteRoleMappingAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestDeleteRoleMappingAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestDeleteRoleMappingAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestDeleteRoleMappingAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestGetRoleMappingsAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestGetRoleMappingsAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestGetRoleMappingsAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestGetRoleMappingsAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestPutRoleMappingAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestPutRoleMappingAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestPutRoleMappingAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/rolemapping/RestPutRoleMappingAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlAuthenticateAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlAuthenticateAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlAuthenticateAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlAuthenticateAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlInvalidateSessionAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlInvalidateSessionAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlInvalidateSessionAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlInvalidateSessionAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlLogoutAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlLogoutAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlLogoutAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlLogoutAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlPrepareAuthenticationAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlPrepareAuthenticationAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlPrepareAuthenticationAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/RestSamlPrepareAuthenticationAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandler.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandler.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandler.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandler.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestChangePasswordAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestChangePasswordAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestChangePasswordAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestChangePasswordAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestDeleteUserAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestDeleteUserAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestDeleteUserAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestDeleteUserAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestGetUsersAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestGetUsersAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestGetUsersAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestGetUsersAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestHasPrivilegesAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestHasPrivilegesAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestHasPrivilegesAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestHasPrivilegesAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestPutUserAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestPutUserAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestPutUserAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestPutUserAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestSetEnabledAction.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestSetEnabledAction.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestSetEnabledAction.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/user/RestSetEnabledAction.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/AbstractSecurityModule.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/AbstractSecurityModule.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/support/AbstractSecurityModule.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/AbstractSecurityModule.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/FileAttributesChecker.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/FileAttributesChecker.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/support/FileAttributesChecker.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/FileAttributesChecker.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/IndexLifecycleManager.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/IndexLifecycleManager.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/support/IndexLifecycleManager.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/IndexLifecycleManager.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/RestorableContextClassLoader.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/RestorableContextClassLoader.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/support/RestorableContextClassLoader.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/RestorableContextClassLoader.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/SecurityFiles.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/SecurityFiles.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/support/SecurityFiles.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/support/SecurityFiles.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptor.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptor.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptor.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptor.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/ServerTransportFilter.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/ServerTransportFilter.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/ServerTransportFilter.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/ServerTransportFilter.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/IPFilter.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/IPFilter.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/IPFilter.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/IPFilter.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/PatternRule.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/PatternRule.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/PatternRule.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/PatternRule.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRule.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRule.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRule.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRule.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilter.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilter.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilter.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilter.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransport.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransport.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransport.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransport.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransport.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransport.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransport.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransport.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContext.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContext.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContext.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContext.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLDriver.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLDriver.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLDriver.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SSLDriver.java diff --git a/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SecurityNioTransport.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SecurityNioTransport.java similarity index 100% rename from plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SecurityNioTransport.java rename to x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/transport/nio/SecurityNioTransport.java diff --git a/plugin/security/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/security/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/security/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/security/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/security/src/main/resources/meta-plugin-descriptor.properties b/x-pack/plugin/security/src/main/resources/meta-plugin-descriptor.properties similarity index 100% rename from plugin/security/src/main/resources/meta-plugin-descriptor.properties rename to x-pack/plugin/security/src/main/resources/meta-plugin-descriptor.properties diff --git a/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-assertion-2.0.xsd b/x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-assertion-2.0.xsd similarity index 100% rename from plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-assertion-2.0.xsd rename to x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-assertion-2.0.xsd diff --git a/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-metadata-2.0.xsd b/x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-metadata-2.0.xsd similarity index 100% rename from plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-metadata-2.0.xsd rename to x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-metadata-2.0.xsd diff --git a/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-protocol-2.0.xsd b/x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-protocol-2.0.xsd similarity index 100% rename from plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-protocol-2.0.xsd rename to x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/saml-schema-protocol-2.0.xsd diff --git a/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xenc-schema.xsd b/x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xenc-schema.xsd similarity index 100% rename from plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xenc-schema.xsd rename to x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xenc-schema.xsd diff --git a/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xml.xsd b/x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xml.xsd similarity index 100% rename from plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xml.xsd rename to x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xml.xsd diff --git a/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xmldsig-core-schema.xsd b/x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xmldsig-core-schema.xsd similarity index 100% rename from plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xmldsig-core-schema.xsd rename to x-pack/plugin/security/src/main/resources/org/elasticsearch/xpack/security/authc/saml/xmldsig-core-schema.xsd diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/AbstractPrivilegeTestCase.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/AbstractPrivilegeTestCase.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/AbstractPrivilegeTestCase.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/AbstractPrivilegeTestCase.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/BulkUpdateTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/BulkUpdateTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/BulkUpdateTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/BulkUpdateTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/ClearRealmsCacheTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ClearRealmsCacheTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/ClearRealmsCacheTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ClearRealmsCacheTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/ClusterPrivilegeTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ClusterPrivilegeTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/ClusterPrivilegeTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ClusterPrivilegeTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/DateMathExpressionIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DateMathExpressionIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/DateMathExpressionIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DateMathExpressionIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/DocumentAndFieldLevelSecurityTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DocumentAndFieldLevelSecurityTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/DocumentAndFieldLevelSecurityTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DocumentAndFieldLevelSecurityTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityRandomTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityRandomTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityRandomTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityRandomTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/DocumentLevelSecurityTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityRandomTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityRandomTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityRandomTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityRandomTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/FieldLevelSecurityTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/IndexPrivilegeTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/IndexPrivilegeTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/IndexPrivilegeTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/IndexPrivilegeTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/IndicesPermissionsWithAliasesWildcardsAndRegexsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/IndicesPermissionsWithAliasesWildcardsAndRegexsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/IndicesPermissionsWithAliasesWildcardsAndRegexsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/IndicesPermissionsWithAliasesWildcardsAndRegexsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/KibanaUserRoleIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/KibanaUserRoleIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/KibanaUserRoleIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/KibanaUserRoleIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/MultipleIndicesPermissionsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/MultipleIndicesPermissionsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/MultipleIndicesPermissionsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/MultipleIndicesPermissionsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/PermissionPrecedenceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/PermissionPrecedenceTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/PermissionPrecedenceTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/PermissionPrecedenceTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/SecurityCachePermissionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/SecurityCachePermissionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/SecurityCachePermissionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/SecurityCachePermissionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/SecurityClearScrollTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/SecurityClearScrollTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/SecurityClearScrollTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/SecurityClearScrollTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/license/LicensingTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/license/LicensingTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/license/LicensingTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/license/LicensingTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/test/NativeRealmIntegTestCase.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/test/NativeRealmIntegTestCase.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/test/NativeRealmIntegTestCase.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/test/NativeRealmIntegTestCase.java diff --git a/plugin/security/src/test/java/org/elasticsearch/test/SecurityIntegTestCase.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecurityIntegTestCase.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/test/SecurityIntegTestCase.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecurityIntegTestCase.java diff --git a/plugin/security/src/test/java/org/elasticsearch/test/SecuritySettingsSource.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecuritySettingsSource.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/test/SecuritySettingsSource.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecuritySettingsSource.java diff --git a/plugin/security/src/test/java/org/elasticsearch/test/SecuritySingleNodeTestCase.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecuritySingleNodeTestCase.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/test/SecuritySingleNodeTestCase.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecuritySingleNodeTestCase.java diff --git a/plugin/security/src/test/java/org/elasticsearch/test/SecurityTestsUtils.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecurityTestsUtils.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/test/SecurityTestsUtils.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/test/SecurityTestsUtils.java diff --git a/plugin/security/src/test/java/org/elasticsearch/test/SettingsFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/test/SettingsFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/test/SettingsFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/test/SettingsFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/transport/SecurityServerTransportServiceTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/LocalStateSecurity.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/LocalStateSecurity.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/LocalStateSecurity.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/LocalStateSecurity.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheckTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheckTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheckTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/PkiRealmBootstrapCheckTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/ScrollHelperIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/ScrollHelperIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/ScrollHelperIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/ScrollHelperIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityContextTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityContextTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityContextTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityContextTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityFeatureSetTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityFeatureSetTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityFeatureSetTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityFeatureSetTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityLifecycleServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityLifecycleServiceTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityLifecycleServiceTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityLifecycleServiceTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityPluginTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityPluginTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityPluginTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityPluginTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecuritySettingsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecuritySettingsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/SecuritySettingsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecuritySettingsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/SecurityTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/TemplateUpgraderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/TemplateUpgraderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/TemplateUpgraderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/TemplateUpgraderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/TokenSSLBootsrapCheckTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/TokenSSLBootsrapCheckTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/TokenSSLBootsrapCheckTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/TokenSSLBootsrapCheckTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/SecurityActionMapperTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/SecurityActionMapperTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/SecurityActionMapperTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/SecurityActionMapperTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/DestructiveOperationsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/DestructiveOperationsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/DestructiveOperationsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/DestructiveOperationsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/filter/SecurityActionFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptorTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptorTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptorTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/IndicesAliasesRequestInterceptorTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptorTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptorTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptorTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/interceptor/ResizeRequestInterceptorTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/PutRoleBuilderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/PutRoleBuilderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/PutRoleBuilderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/PutRoleBuilderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportDeleteRoleActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportGetRolesActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/role/TransportPutRoleActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/PutRoleMappingRequestTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/PutRoleMappingRequestTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/PutRoleMappingRequestTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/PutRoleMappingRequestTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportGetRoleMappingsActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/rolemapping/TransportPutRoleMappingActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/SamlPrepareAuthenticationRequestTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/SamlPrepareAuthenticationRequestTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/SamlPrepareAuthenticationRequestTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/SamlPrepareAuthenticationRequestTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/saml/TransportSamlLogoutActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/token/CreateTokenRequestTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/token/CreateTokenRequestTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/token/CreateTokenRequestTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/token/CreateTokenRequestTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/HasPrivilegesRequestBuilderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/HasPrivilegesRequestBuilderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/HasPrivilegesRequestBuilderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/HasPrivilegesRequestBuilderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestBuilderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestBuilderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestBuilderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestBuilderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/PutUserRequestTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportAuthenticateActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportChangePasswordActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportDeleteUserActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportHasPrivilegesActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportPutUserActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportPutUserActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportPutUserActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportPutUserActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportSetEnabledActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditLevelTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditLevelTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditLevelTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditLevelTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditUtilTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditUtilTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditUtilTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditUtilTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/AuditTrailTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/AuditTrailTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/AuditTrailTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/AuditTrailTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailMutedTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailMutedTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailMutedTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailMutedTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/IndexAuditTrailTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/RemoteIndexAuditTrailStartingTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/RemoteIndexAuditTrailStartingTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/RemoteIndexAuditTrailStartingTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/index/RemoteIndexAuditTrailStartingTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/AuditTrailSettingsUpdateTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/AuditTrailSettingsUpdateTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/AuditTrailSettingsUpdateTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/AuditTrailSettingsUpdateTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/logfile/LoggingAuditTrailTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/AuthenticationServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/AuthenticationServiceTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/AuthenticationServiceTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/AuthenticationServiceTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/InternalRealmsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/InternalRealmsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/InternalRealmsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/InternalRealmsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmSettingsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmSettingsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmSettingsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmSettingsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RealmsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RunAsIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RunAsIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RunAsIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/RunAsIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenAuthIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenAuthIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenAuthIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenAuthIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenServiceTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenServiceTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenServiceTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/UserTokenTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/UserTokenTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/UserTokenTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/UserTokenTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeMigrateToolTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeMigrateToolTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeMigrateToolTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeMigrateToolTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateToolTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateToolTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateToolTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ESNativeRealmMigrateToolTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStoreTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStoreTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/NativeUsersStoreTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/ReservedRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClientTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClientTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClientTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/CommandLineHttpClientTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStoreTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStoreTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserPasswdStoreTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStoreTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStoreTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileUserRolesStoreTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtilTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtilTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtilTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySIDUtilTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/CancellableLdapRunnableTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/CancellableLdapRunnableTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/CancellableLdapRunnableTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/CancellableLdapRunnableTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupsResolverTestCase.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupsResolverTestCase.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupsResolverTestCase.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupsResolverTestCase.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactoryTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactoryTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactoryTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapSessionFactoryTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapTestUtils.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapTestUtils.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapTestUtils.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapTestUtils.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactoryTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactoryTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactoryTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/LdapUserSearchSessionFactoryTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverInMemoryTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverInMemoryTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverInMemoryTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverInMemoryTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LDAPServersTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LDAPServersTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LDAPServersTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LDAPServersTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancingTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancingTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancingTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapLoadBalancingTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolverTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolverTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolverTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapMetaDataResolverTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapTestCase.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapTestCase.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapTestCase.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/LdapTestCase.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryLoadBalancingTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryLoadBalancingTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryLoadBalancingTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryLoadBalancingTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ldap/support/SessionFactoryTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiAuthenticationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiAuthenticationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiAuthenticationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiAuthenticationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiOptionalClientAuthTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiOptionalClientAuthTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiOptionalClientAuthTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiOptionalClientAuthTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/pki/PkiRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticatorTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticatorTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticatorTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticatorTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthnRequestBuilderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandlerTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandlerTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandlerTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestHandlerTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlLogoutRequestMessageBuilderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommandTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommandTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommandTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlMetadataCommandTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTestHelper.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTestHelper.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTestHelper.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTestHelper.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirectTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirectTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirectTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlRedirectTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlSpMetadataBuilderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlTestCase.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlTestCase.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlTestCase.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlTestCase.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlUtilsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlUtilsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlUtilsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlUtilsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SigningConfigurationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SigningConfigurationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SigningConfigurationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/saml/SigningConfigurationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/BCryptTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/BCryptTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/BCryptTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/BCryptTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealmTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealmTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealmTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealmTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DistinguishedNamePredicateTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DistinguishedNamePredicateTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DistinguishedNamePredicateTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DistinguishedNamePredicateTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapperTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapperTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapperTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/DnRoleMapperTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/HasherTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/HasherTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/HasherTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/HasherTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheckTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheckTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheckTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/RoleMappingFileBootstrapCheckTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordTokenTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordTokenTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordTokenTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/UsernamePasswordTokenTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/ExpressionRoleMappingTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/ExpressionRoleMappingTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/ExpressionRoleMappingTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/ExpressionRoleMappingTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStoreTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStoreTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStoreTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AnalyzeTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AnalyzeTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AnalyzeTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AnalyzeTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationUtilsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationUtilsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationUtilsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationUtilsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizedIndicesTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizedIndicesTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizedIndicesTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizedIndicesTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndexAliasesTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndexAliasesTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndexAliasesTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndexAliasesTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolverTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolverTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolverTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolverTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/ReadActionsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/ReadActionsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/ReadActionsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/ReadActionsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/RoleDescriptorTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/RoleDescriptorTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/RoleDescriptorTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/RoleDescriptorTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecurityScrollTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecurityScrollTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecurityScrollTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecurityScrollTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListenerTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListenerTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListenerTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/SecuritySearchOperationListenerTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/WriteActionsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/WriteActionsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/WriteActionsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/WriteActionsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractorTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractorTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractorTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/FieldExtractorTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesAccessControlTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesAccessControlTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesAccessControlTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesAccessControlTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesPermissionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesPermissionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesPermissionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/IndicesPermissionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCacheTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCacheTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCacheTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/OptOutQueryCacheTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/SetSecurityUserProcessorTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/SetSecurityUserProcessorTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/SetSecurityUserProcessorTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/accesscontrol/SetSecurityUserProcessorTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/FieldPermissionsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/FieldPermissionsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/FieldPermissionsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/FieldPermissionsTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/PermissionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/PermissionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/PermissionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/PermissionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/FileRolesStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/FileRolesStoreTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/FileRolesStoreTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/FileRolesStoreTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStoreTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStoreTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStoreTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStoreTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/RestRequestFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/RestRequestFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/RestRequestFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/RestRequestFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/SecurityRestFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/SecurityRestFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/SecurityRestFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/SecurityRestFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/RestAuthenticateActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandlerTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandlerTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandlerTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/SecurityBaseRestHandlerTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenActionTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenActionTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenActionTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/oauth2/RestGetTokenActionTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandlerTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandlerTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandlerTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/saml/SamlBaseRestHandlerTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/user/HasPrivilegesRestResponseTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/user/HasPrivilegesRestResponseTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/user/HasPrivilegesRestResponseTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/rest/action/user/HasPrivilegesRestResponseTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/support/IndexLifecycleManagerTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/test/SecurityTestUtils.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/test/SecurityTestUtils.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/test/SecurityTestUtils.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/test/SecurityTestUtils.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptorTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptorTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptorTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/SecurityServerTransportInterceptorTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterIntegrationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterIntegrationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterIntegrationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterIntegrationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ServerTransportFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IPFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IPFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IPFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IPFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringIntegrationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringIntegrationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringIntegrationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringIntegrationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringUpdateTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringUpdateTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringUpdateTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/IpFilteringUpdateTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/PatternRuleTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/PatternRuleTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/PatternRuleTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/PatternRuleTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRuleTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRuleTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRuleTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/filter/SecurityIpFilterRuleTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/DNSOnlyHostnameVerificationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/DNSOnlyHostnameVerificationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/DNSOnlyHostnameVerificationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/DNSOnlyHostnameVerificationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IPHostnameVerificationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IPHostnameVerificationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IPHostnameVerificationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IPHostnameVerificationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilterTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilterTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilterTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/IpFilterRemoteAddressFilterTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransportTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransportTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransportTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4HttpServerTransportTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransportTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransportTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransportTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SecurityNetty4ServerTransportTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SslHostnameVerificationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SslHostnameVerificationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SslHostnameVerificationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/netty4/SslHostnameVerificationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContextTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContextTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContextTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLChannelContextTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLDriverTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLDriverTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLDriverTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SSLDriverTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SimpleSecurityNioTransportTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SimpleSecurityNioTransportTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SimpleSecurityNioTransportTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio/SimpleSecurityNioTransportTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/EllipticCurveSSLTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/EllipticCurveSSLTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/EllipticCurveSSLTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/EllipticCurveSSLTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslIntegrationTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslIntegrationTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslIntegrationTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslIntegrationTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslMultiPortTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslMultiPortTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslMultiPortTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslMultiPortTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslNullCipherTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslNullCipherTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslNullCipherTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/ssl/SslNullCipherTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/AnonymousUserTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/SystemUserTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/SystemUserTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/user/SystemUserTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/SystemUserTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/UserTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/UserTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/user/UserTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/UserTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/XPackUserTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/XPackUserTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/security/user/XPackUserTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/user/XPackUserTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLClientAuthTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLClientAuthTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLClientAuthTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLClientAuthTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLReloadIntegTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLReloadIntegTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLReloadIntegTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLReloadIntegTests.java diff --git a/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLTrustRestrictionsTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLTrustRestrictionsTests.java similarity index 100% rename from plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLTrustRestrictionsTests.java rename to x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/ssl/SSLTrustRestrictionsTests.java diff --git a/plugin/security/src/test/resources/IndexLifecycleManagerTests-template.json b/x-pack/plugin/security/src/test/resources/IndexLifecycleManagerTests-template.json similarity index 100% rename from plugin/security/src/test/resources/IndexLifecycleManagerTests-template.json rename to x-pack/plugin/security/src/test/resources/IndexLifecycleManagerTests-template.json diff --git a/plugin/security/src/test/resources/missing-version-security-index-template.json b/x-pack/plugin/security/src/test/resources/missing-version-security-index-template.json similarity index 100% rename from plugin/security/src/test/resources/missing-version-security-index-template.json rename to x-pack/plugin/security/src/test/resources/missing-version-security-index-template.json diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/action/role/roles2xformat.json b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/action/role/roles2xformat.json similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/action/role/roles2xformat.json rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/action/role/roles2xformat.json diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users_roles b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users_roles similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users_roles rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/file/users_roles diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad-schema.ldif b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad-schema.ldif similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad-schema.ldif rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad-schema.ldif diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad.ldif b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad.ldif similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad.ldif rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/ad.ldif diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/role_mapping.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/role_mapping.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/role_mapping.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/role_mapping.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ADtrust.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ADtrust.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ADtrust.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ADtrust.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/seven-seas.ldif b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/seven-seas.ldif similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/seven-seas.ldif rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/seven-seas.ldif diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/pki/role_mapping.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/pki/role_mapping.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/pki/role_mapping.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/pki/role_mapping.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/idp1.xml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/idp1.xml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/idp1.xml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/idp1.xml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml-three-certs.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml-three-certs.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml-three-certs.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml-three-certs.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.key b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.key similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.key rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.key diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.p12 b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.p12 similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.p12 rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml.p12 diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.key b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.key similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.key rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.key diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.p12 b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.p12 similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.p12 rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/saml/saml_with_password.p12 diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/support/role_mapping.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/support/role_mapping.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/support/role_mapping.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authc/support/role_mapping.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/default_roles.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/default_roles.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/default_roles.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/default_roles.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/invalid_roles.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/invalid_roles.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/invalid_roles.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/invalid_roles.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/reserved_roles.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/reserved_roles.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/reserved_roles.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/reserved_roles.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.json b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.json similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.json rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.json diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles2xformat.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode-different-passwords.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode-different-passwords.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode-different-passwords.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode-different-passwords.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.cert b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.cert similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.cert rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.cert diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/roles.yml b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/roles.yml similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/roles.yml rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/roles.yml diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users_roles b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users_roles similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users_roles rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/plugin/users_roles diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/README.asciidoc diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/active-directory-ca.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openldap.der diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/openssl_config.cnf diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-cert.pem diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key-noparam.pem diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/prime256v1-key.pem diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.p12 diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient-client-profile.pem diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.p12 diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testclient.pem diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.p12 diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-client-profile.pem diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-different-passwords.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-ip-only.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.cert diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.crt diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.p12 diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.pem diff --git a/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks b/x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks similarity index 100% rename from plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks rename to x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/truststore-testnode-only.jks diff --git a/plugin/sql/build.gradle b/x-pack/plugin/sql/build.gradle similarity index 100% rename from plugin/sql/build.gradle rename to x-pack/plugin/sql/build.gradle diff --git a/plugin/sql/jdbc/build.gradle b/x-pack/plugin/sql/jdbc/build.gradle similarity index 100% rename from plugin/sql/jdbc/build.gradle rename to x-pack/plugin/sql/jdbc/build.gradle diff --git a/plugin/sql/jdbc/licenses/jackson-LICENSE b/x-pack/plugin/sql/jdbc/licenses/jackson-LICENSE similarity index 100% rename from plugin/sql/jdbc/licenses/jackson-LICENSE rename to x-pack/plugin/sql/jdbc/licenses/jackson-LICENSE diff --git a/plugin/sql/jdbc/licenses/jackson-NOTICE b/x-pack/plugin/sql/jdbc/licenses/jackson-NOTICE similarity index 100% rename from plugin/sql/jdbc/licenses/jackson-NOTICE rename to x-pack/plugin/sql/jdbc/licenses/jackson-NOTICE diff --git a/plugin/sql/jdbc/licenses/jackson-core-2.8.10.jar.sha1 b/x-pack/plugin/sql/jdbc/licenses/jackson-core-2.8.10.jar.sha1 similarity index 100% rename from plugin/sql/jdbc/licenses/jackson-core-2.8.10.jar.sha1 rename to x-pack/plugin/sql/jdbc/licenses/jackson-core-2.8.10.jar.sha1 diff --git a/plugin/sql/jdbc/licenses/joda-time-2.9.9.jar.sha1 b/x-pack/plugin/sql/jdbc/licenses/joda-time-2.9.9.jar.sha1 similarity index 100% rename from plugin/sql/jdbc/licenses/joda-time-2.9.9.jar.sha1 rename to x-pack/plugin/sql/jdbc/licenses/joda-time-2.9.9.jar.sha1 diff --git a/plugin/sql/jdbc/licenses/joda-time-LICENSE.txt b/x-pack/plugin/sql/jdbc/licenses/joda-time-LICENSE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/joda-time-LICENSE.txt rename to x-pack/plugin/sql/jdbc/licenses/joda-time-LICENSE.txt diff --git a/plugin/sql/jdbc/licenses/joda-time-NOTICE.txt b/x-pack/plugin/sql/jdbc/licenses/joda-time-NOTICE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/joda-time-NOTICE.txt rename to x-pack/plugin/sql/jdbc/licenses/joda-time-NOTICE.txt diff --git a/plugin/sql/jdbc/licenses/log4j-api-2.9.1.jar.sha1 b/x-pack/plugin/sql/jdbc/licenses/log4j-api-2.9.1.jar.sha1 similarity index 100% rename from plugin/sql/jdbc/licenses/log4j-api-2.9.1.jar.sha1 rename to x-pack/plugin/sql/jdbc/licenses/log4j-api-2.9.1.jar.sha1 diff --git a/plugin/sql/jdbc/licenses/log4j-api-LICENSE.txt b/x-pack/plugin/sql/jdbc/licenses/log4j-api-LICENSE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/log4j-api-LICENSE.txt rename to x-pack/plugin/sql/jdbc/licenses/log4j-api-LICENSE.txt diff --git a/plugin/sql/jdbc/licenses/log4j-api-NOTICE.txt b/x-pack/plugin/sql/jdbc/licenses/log4j-api-NOTICE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/log4j-api-NOTICE.txt rename to x-pack/plugin/sql/jdbc/licenses/log4j-api-NOTICE.txt diff --git a/plugin/sql/jdbc/licenses/log4j-core-2.9.1.jar.sha1 b/x-pack/plugin/sql/jdbc/licenses/log4j-core-2.9.1.jar.sha1 similarity index 100% rename from plugin/sql/jdbc/licenses/log4j-core-2.9.1.jar.sha1 rename to x-pack/plugin/sql/jdbc/licenses/log4j-core-2.9.1.jar.sha1 diff --git a/plugin/sql/jdbc/licenses/log4j-core-LICENSE.txt b/x-pack/plugin/sql/jdbc/licenses/log4j-core-LICENSE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/log4j-core-LICENSE.txt rename to x-pack/plugin/sql/jdbc/licenses/log4j-core-LICENSE.txt diff --git a/plugin/sql/jdbc/licenses/log4j-core-NOTICE.txt b/x-pack/plugin/sql/jdbc/licenses/log4j-core-NOTICE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/log4j-core-NOTICE.txt rename to x-pack/plugin/sql/jdbc/licenses/log4j-core-NOTICE.txt diff --git a/plugin/sql/jdbc/licenses/lucene-LICENSE.txt b/x-pack/plugin/sql/jdbc/licenses/lucene-LICENSE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/lucene-LICENSE.txt rename to x-pack/plugin/sql/jdbc/licenses/lucene-LICENSE.txt diff --git a/plugin/sql/jdbc/licenses/lucene-NOTICE.txt b/x-pack/plugin/sql/jdbc/licenses/lucene-NOTICE.txt similarity index 100% rename from plugin/sql/jdbc/licenses/lucene-NOTICE.txt rename to x-pack/plugin/sql/jdbc/licenses/lucene-NOTICE.txt diff --git a/plugin/sql/jdbc/licenses/lucene-core-7.3.0.jar.sha1 b/x-pack/plugin/sql/jdbc/licenses/lucene-core-7.3.0.jar.sha1 similarity index 100% rename from plugin/sql/jdbc/licenses/lucene-core-7.3.0.jar.sha1 rename to x-pack/plugin/sql/jdbc/licenses/lucene-core-7.3.0.jar.sha1 diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcException.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcException.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcException.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcException.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcSQLException.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcSQLException.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcSQLException.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcSQLException.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ConnectionProxy.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ConnectionProxy.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ConnectionProxy.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ConnectionProxy.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DatabaseMetadataProxy.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DatabaseMetadataProxy.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DatabaseMetadataProxy.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DatabaseMetadataProxy.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/Debug.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/Debug.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/Debug.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/Debug.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugLog.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugLog.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugLog.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugLog.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugProxy.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugProxy.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugProxy.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebugProxy.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebuggingInvoker.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebuggingInvoker.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebuggingInvoker.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/DebuggingInvoker.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ParameterMetaDataProxy.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ParameterMetaDataProxy.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ParameterMetaDataProxy.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ParameterMetaDataProxy.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetMetaDataProxy.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetMetaDataProxy.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetMetaDataProxy.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetMetaDataProxy.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetProxy.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetProxy.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetProxy.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/ResultSetProxy.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/StatementProxy.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/StatementProxy.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/StatementProxy.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/debug/StatementProxy.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConfiguration.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConfiguration.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConfiguration.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConfiguration.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConnection.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConnection.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConnection.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcConnection.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDatabaseMetaData.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDatabaseMetaData.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDatabaseMetaData.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDatabaseMetaData.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDriver.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDriver.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDriver.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcDriver.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcParameterMetaData.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcParameterMetaData.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcParameterMetaData.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcParameterMetaData.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcPreparedStatement.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcPreparedStatement.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcPreparedStatement.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcPreparedStatement.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSet.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSet.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSet.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSet.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSetMetaData.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSetMetaData.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSetMetaData.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcResultSetMetaData.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcStatement.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcStatement.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcStatement.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcStatement.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcWrapper.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcWrapper.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcWrapper.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/JdbcWrapper.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/PreparedQuery.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/PreparedQuery.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/PreparedQuery.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/PreparedQuery.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzer.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzer.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzer.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzer.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverter.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverter.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverter.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverter.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbcx/JdbcDataSource.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbcx/JdbcDataSource.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbcx/JdbcDataSource.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/jdbcx/JdbcDataSource.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/Cursor.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/Cursor.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/Cursor.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/Cursor.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/DefaultCursor.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/DefaultCursor.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/DefaultCursor.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/DefaultCursor.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/JdbcHttpClient.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/JdbcHttpClient.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/JdbcHttpClient.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/JdbcHttpClient.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/RequestMeta.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/RequestMeta.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/RequestMeta.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/client/RequestMeta.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfo.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfo.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfo.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfo.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/InfoResponse.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/InfoResponse.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/InfoResponse.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/InfoResponse.java diff --git a/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/Nullable.java b/x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/Nullable.java similarity index 100% rename from plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/Nullable.java rename to x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/Nullable.java diff --git a/plugin/sql/jdbc/src/main/resources/META-INF/services/java.sql.Driver b/x-pack/plugin/sql/jdbc/src/main/resources/META-INF/services/java.sql.Driver similarity index 100% rename from plugin/sql/jdbc/src/main/resources/META-INF/services/java.sql.Driver rename to x-pack/plugin/sql/jdbc/src/main/resources/META-INF/services/java.sql.Driver diff --git a/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DriverManagerRegistrationTests.java b/x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DriverManagerRegistrationTests.java similarity index 100% rename from plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DriverManagerRegistrationTests.java rename to x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/DriverManagerRegistrationTests.java diff --git a/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/JdbcConfigurationTests.java b/x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/JdbcConfigurationTests.java similarity index 100% rename from plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/JdbcConfigurationTests.java rename to x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/JdbcConfigurationTests.java diff --git a/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/VersionTests.java b/x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/VersionTests.java similarity index 100% rename from plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/VersionTests.java rename to x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/VersionTests.java diff --git a/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzerTests.java b/x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzerTests.java similarity index 100% rename from plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzerTests.java rename to x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/SqlQueryParameterAnalyzerTests.java diff --git a/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverterTests.java b/x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverterTests.java similarity index 100% rename from plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverterTests.java rename to x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/jdbc/TypeConverterTests.java diff --git a/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfoTests.java b/x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfoTests.java similarity index 100% rename from plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfoTests.java rename to x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/net/protocol/ColumnInfoTests.java diff --git a/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/package-info.java b/x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/package-info.java similarity index 100% rename from plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/package-info.java rename to x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/package-info.java diff --git a/plugin/sql/jdbc/src/test/resources/plugin-security.policy b/x-pack/plugin/sql/jdbc/src/test/resources/plugin-security.policy similarity index 100% rename from plugin/sql/jdbc/src/test/resources/plugin-security.policy rename to x-pack/plugin/sql/jdbc/src/test/resources/plugin-security.policy diff --git a/plugin/sql/licenses/antlr4-runtime-4.5.3.jar.sha1 b/x-pack/plugin/sql/licenses/antlr4-runtime-4.5.3.jar.sha1 similarity index 100% rename from plugin/sql/licenses/antlr4-runtime-4.5.3.jar.sha1 rename to x-pack/plugin/sql/licenses/antlr4-runtime-4.5.3.jar.sha1 diff --git a/plugin/sql/licenses/antlr4-runtime-LICENSE.txt b/x-pack/plugin/sql/licenses/antlr4-runtime-LICENSE.txt similarity index 100% rename from plugin/sql/licenses/antlr4-runtime-LICENSE.txt rename to x-pack/plugin/sql/licenses/antlr4-runtime-LICENSE.txt diff --git a/plugin/sql/licenses/antlr4-runtime-NOTICE.txt b/x-pack/plugin/sql/licenses/antlr4-runtime-NOTICE.txt similarity index 100% rename from plugin/sql/licenses/antlr4-runtime-NOTICE.txt rename to x-pack/plugin/sql/licenses/antlr4-runtime-NOTICE.txt diff --git a/plugin/sql/sql-cli/build.gradle b/x-pack/plugin/sql/sql-cli/build.gradle similarity index 100% rename from plugin/sql/sql-cli/build.gradle rename to x-pack/plugin/sql/sql-cli/build.gradle diff --git a/plugin/sql/sql-cli/licenses/jansi-1.16.jar.sha1 b/x-pack/plugin/sql/sql-cli/licenses/jansi-1.16.jar.sha1 similarity index 100% rename from plugin/sql/sql-cli/licenses/jansi-1.16.jar.sha1 rename to x-pack/plugin/sql/sql-cli/licenses/jansi-1.16.jar.sha1 diff --git a/plugin/sql/sql-cli/licenses/jansi-LICENSE.txt b/x-pack/plugin/sql/sql-cli/licenses/jansi-LICENSE.txt similarity index 100% rename from plugin/sql/sql-cli/licenses/jansi-LICENSE.txt rename to x-pack/plugin/sql/sql-cli/licenses/jansi-LICENSE.txt diff --git a/plugin/sql/sql-cli/licenses/jansi-NOTICE.txt b/x-pack/plugin/sql/sql-cli/licenses/jansi-NOTICE.txt similarity index 100% rename from plugin/sql/sql-cli/licenses/jansi-NOTICE.txt rename to x-pack/plugin/sql/sql-cli/licenses/jansi-NOTICE.txt diff --git a/plugin/sql/sql-cli/licenses/jline-3.6.0.jar.sha1 b/x-pack/plugin/sql/sql-cli/licenses/jline-3.6.0.jar.sha1 similarity index 100% rename from plugin/sql/sql-cli/licenses/jline-3.6.0.jar.sha1 rename to x-pack/plugin/sql/sql-cli/licenses/jline-3.6.0.jar.sha1 diff --git a/plugin/sql/sql-cli/licenses/jline-LICENSE.txt b/x-pack/plugin/sql/sql-cli/licenses/jline-LICENSE.txt similarity index 100% rename from plugin/sql/sql-cli/licenses/jline-LICENSE.txt rename to x-pack/plugin/sql/sql-cli/licenses/jline-LICENSE.txt diff --git a/plugin/sql/sql-cli/licenses/jline-NOTICE.txt b/x-pack/plugin/sql/sql-cli/licenses/jline-NOTICE.txt similarity index 100% rename from plugin/sql/sql-cli/licenses/jline-NOTICE.txt rename to x-pack/plugin/sql/sql-cli/licenses/jline-NOTICE.txt diff --git a/plugin/sql/sql-cli/src/forbidden/cli-signatures.txt b/x-pack/plugin/sql/sql-cli/src/forbidden/cli-signatures.txt similarity index 100% rename from plugin/sql/sql-cli/src/forbidden/cli-signatures.txt rename to x-pack/plugin/sql/sql-cli/src/forbidden/cli-signatures.txt diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Cli.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Cli.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Cli.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Cli.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliRepl.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliRepl.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliRepl.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliRepl.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliTerminal.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliTerminal.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliTerminal.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/CliTerminal.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Completers.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Completers.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Completers.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/Completers.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilder.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilder.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilder.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilder.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/FatalCliException.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/FatalCliException.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/FatalCliException.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/FatalCliException.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/JLineTerminal.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/JLineTerminal.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/JLineTerminal.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/JLineTerminal.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractCliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractCliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractCliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractCliCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractServerCliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractServerCliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractServerCliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/AbstractServerCliCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ClearScreenCliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ClearScreenCliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ClearScreenCliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ClearScreenCliCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommands.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommands.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommands.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliCommands.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliSession.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliSession.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliSession.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/CliSession.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSeparatorCliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSeparatorCliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSeparatorCliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSeparatorCliCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSizeCliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSizeCliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSizeCliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/FetchSizeCliCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/PrintLogoCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/PrintLogoCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/PrintLogoCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/PrintLogoCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommand.java diff --git a/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommand.java b/x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommand.java similarity index 100% rename from plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommand.java rename to x-pack/plugin/sql/sql-cli/src/main/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommand.java diff --git a/plugin/sql/sql-cli/src/main/resources/logging.properties b/x-pack/plugin/sql/sql-cli/src/main/resources/logging.properties similarity index 100% rename from plugin/sql/sql-cli/src/main/resources/logging.properties rename to x-pack/plugin/sql/sql-cli/src/main/resources/logging.properties diff --git a/plugin/sql/sql-cli/src/main/resources/logo.txt b/x-pack/plugin/sql/sql-cli/src/main/resources/logo.txt similarity index 100% rename from plugin/sql/sql-cli/src/main/resources/logo.txt rename to x-pack/plugin/sql/sql-cli/src/main/resources/logo.txt diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliReplTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliReplTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliReplTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliReplTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliSessionTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliSessionTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliSessionTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/CliSessionTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilderTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilderTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilderTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/ConnectionBuilderTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/JLineTerminalTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/JLineTerminalTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/JLineTerminalTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/JLineTerminalTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/TestTerminal.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/TestTerminal.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/TestTerminal.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/TestTerminal.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/VersionTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/VersionTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/VersionTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/VersionTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/BuiltinCommandTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/BuiltinCommandTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/BuiltinCommandTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/BuiltinCommandTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/CliCommandsTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/CliCommandsTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/CliCommandsTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/CliCommandsTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommandTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommandTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommandTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerInfoCliCommandTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommandTests.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommandTests.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommandTests.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/command/ServerQueryCliCommandTests.java diff --git a/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/package-info.java b/x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/package-info.java similarity index 100% rename from plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/package-info.java rename to x-pack/plugin/sql/sql-cli/src/test/java/org/elasticsearch/xpack/sql/cli/package-info.java diff --git a/plugin/sql/sql-proto/build.gradle b/x-pack/plugin/sql/sql-proto/build.gradle similarity index 100% rename from plugin/sql/sql-proto/build.gradle rename to x-pack/plugin/sql/sql-proto/build.gradle diff --git a/plugin/sql/sql-proto/licenses/jackson-LICENSE b/x-pack/plugin/sql/sql-proto/licenses/jackson-LICENSE similarity index 100% rename from plugin/sql/sql-proto/licenses/jackson-LICENSE rename to x-pack/plugin/sql/sql-proto/licenses/jackson-LICENSE diff --git a/plugin/sql/sql-proto/licenses/jackson-NOTICE b/x-pack/plugin/sql/sql-proto/licenses/jackson-NOTICE similarity index 100% rename from plugin/sql/sql-proto/licenses/jackson-NOTICE rename to x-pack/plugin/sql/sql-proto/licenses/jackson-NOTICE diff --git a/plugin/sql/sql-proto/licenses/jackson-core-2.8.10.jar.sha1 b/x-pack/plugin/sql/sql-proto/licenses/jackson-core-2.8.10.jar.sha1 similarity index 100% rename from plugin/sql/sql-proto/licenses/jackson-core-2.8.10.jar.sha1 rename to x-pack/plugin/sql/sql-proto/licenses/jackson-core-2.8.10.jar.sha1 diff --git a/plugin/sql/sql-proto/licenses/joda-time-2.9.9.jar.sha1 b/x-pack/plugin/sql/sql-proto/licenses/joda-time-2.9.9.jar.sha1 similarity index 100% rename from plugin/sql/sql-proto/licenses/joda-time-2.9.9.jar.sha1 rename to x-pack/plugin/sql/sql-proto/licenses/joda-time-2.9.9.jar.sha1 diff --git a/plugin/sql/sql-proto/licenses/joda-time-LICENSE.txt b/x-pack/plugin/sql/sql-proto/licenses/joda-time-LICENSE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/joda-time-LICENSE.txt rename to x-pack/plugin/sql/sql-proto/licenses/joda-time-LICENSE.txt diff --git a/plugin/sql/sql-proto/licenses/joda-time-NOTICE.txt b/x-pack/plugin/sql/sql-proto/licenses/joda-time-NOTICE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/joda-time-NOTICE.txt rename to x-pack/plugin/sql/sql-proto/licenses/joda-time-NOTICE.txt diff --git a/plugin/sql/sql-proto/licenses/log4j-api-2.9.1.jar.sha1 b/x-pack/plugin/sql/sql-proto/licenses/log4j-api-2.9.1.jar.sha1 similarity index 100% rename from plugin/sql/sql-proto/licenses/log4j-api-2.9.1.jar.sha1 rename to x-pack/plugin/sql/sql-proto/licenses/log4j-api-2.9.1.jar.sha1 diff --git a/plugin/sql/sql-proto/licenses/log4j-api-LICENSE.txt b/x-pack/plugin/sql/sql-proto/licenses/log4j-api-LICENSE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/log4j-api-LICENSE.txt rename to x-pack/plugin/sql/sql-proto/licenses/log4j-api-LICENSE.txt diff --git a/plugin/sql/sql-proto/licenses/log4j-api-NOTICE.txt b/x-pack/plugin/sql/sql-proto/licenses/log4j-api-NOTICE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/log4j-api-NOTICE.txt rename to x-pack/plugin/sql/sql-proto/licenses/log4j-api-NOTICE.txt diff --git a/plugin/sql/sql-proto/licenses/log4j-core-2.9.1.jar.sha1 b/x-pack/plugin/sql/sql-proto/licenses/log4j-core-2.9.1.jar.sha1 similarity index 100% rename from plugin/sql/sql-proto/licenses/log4j-core-2.9.1.jar.sha1 rename to x-pack/plugin/sql/sql-proto/licenses/log4j-core-2.9.1.jar.sha1 diff --git a/plugin/sql/sql-proto/licenses/log4j-core-LICENSE.txt b/x-pack/plugin/sql/sql-proto/licenses/log4j-core-LICENSE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/log4j-core-LICENSE.txt rename to x-pack/plugin/sql/sql-proto/licenses/log4j-core-LICENSE.txt diff --git a/plugin/sql/sql-proto/licenses/log4j-core-NOTICE.txt b/x-pack/plugin/sql/sql-proto/licenses/log4j-core-NOTICE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/log4j-core-NOTICE.txt rename to x-pack/plugin/sql/sql-proto/licenses/log4j-core-NOTICE.txt diff --git a/plugin/sql/sql-proto/licenses/lucene-LICENSE.txt b/x-pack/plugin/sql/sql-proto/licenses/lucene-LICENSE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/lucene-LICENSE.txt rename to x-pack/plugin/sql/sql-proto/licenses/lucene-LICENSE.txt diff --git a/plugin/sql/sql-proto/licenses/lucene-NOTICE.txt b/x-pack/plugin/sql/sql-proto/licenses/lucene-NOTICE.txt similarity index 100% rename from plugin/sql/sql-proto/licenses/lucene-NOTICE.txt rename to x-pack/plugin/sql/sql-proto/licenses/lucene-NOTICE.txt diff --git a/plugin/sql/sql-proto/licenses/lucene-core-7.3.0.jar.sha1 b/x-pack/plugin/sql/sql-proto/licenses/lucene-core-7.3.0.jar.sha1 similarity index 100% rename from plugin/sql/sql-proto/licenses/lucene-core-7.3.0.jar.sha1 rename to x-pack/plugin/sql/sql-proto/licenses/lucene-core-7.3.0.jar.sha1 diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlQueryRequest.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlQueryRequest.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlQueryRequest.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlQueryRequest.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlRequest.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlRequest.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlRequest.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/AbstractSqlRequest.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatter.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatter.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatter.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatter.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/ColumnInfo.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/ColumnInfo.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/ColumnInfo.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/ColumnInfo.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/MetaColumnInfo.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/MetaColumnInfo.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/MetaColumnInfo.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/MetaColumnInfo.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorAction.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorAction.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorAction.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorAction.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequest.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequest.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequest.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequest.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestBuilder.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestBuilder.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestBuilder.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestBuilder.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponse.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponse.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponse.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponse.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryAction.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryAction.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryAction.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryAction.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequest.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequest.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequest.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequest.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestBuilder.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestBuilder.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestBuilder.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestBuilder.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponse.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponse.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponse.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponse.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateAction.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateAction.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateAction.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateAction.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequest.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequest.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequest.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequest.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestBuilder.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestBuilder.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestBuilder.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestBuilder.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponse.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponse.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponse.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponse.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTypedParamValue.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTypedParamValue.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTypedParamValue.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlTypedParamValue.java diff --git a/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/type/DataType.java b/x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/type/DataType.java similarity index 100% rename from plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/type/DataType.java rename to x-pack/plugin/sql/sql-proto/src/main/java/org/elasticsearch/xpack/sql/type/DataType.java diff --git a/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestTests.java b/x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestTests.java similarity index 100% rename from plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestTests.java rename to x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorRequestTests.java diff --git a/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponseTests.java b/x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponseTests.java similarity index 100% rename from plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponseTests.java rename to x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlClearCursorResponseTests.java diff --git a/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestTests.java b/x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestTests.java similarity index 100% rename from plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestTests.java rename to x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryRequestTests.java diff --git a/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponseTests.java b/x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponseTests.java similarity index 100% rename from plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponseTests.java rename to x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlQueryResponseTests.java diff --git a/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTestUtils.java b/x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTestUtils.java similarity index 100% rename from plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTestUtils.java rename to x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTestUtils.java diff --git a/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestTests.java b/x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestTests.java similarity index 100% rename from plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestTests.java rename to x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateRequestTests.java diff --git a/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponseTests.java b/x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponseTests.java similarity index 100% rename from plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponseTests.java rename to x-pack/plugin/sql/sql-proto/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlTranslateResponseTests.java diff --git a/plugin/sql/sql-shared-client/build.gradle b/x-pack/plugin/sql/sql-shared-client/build.gradle similarity index 100% rename from plugin/sql/sql-shared-client/build.gradle rename to x-pack/plugin/sql/sql-shared-client/build.gradle diff --git a/plugin/sql/sql-shared-client/licenses/jackson-LICENSE b/x-pack/plugin/sql/sql-shared-client/licenses/jackson-LICENSE similarity index 100% rename from plugin/sql/sql-shared-client/licenses/jackson-LICENSE rename to x-pack/plugin/sql/sql-shared-client/licenses/jackson-LICENSE diff --git a/plugin/sql/sql-shared-client/licenses/jackson-NOTICE b/x-pack/plugin/sql/sql-shared-client/licenses/jackson-NOTICE similarity index 100% rename from plugin/sql/sql-shared-client/licenses/jackson-NOTICE rename to x-pack/plugin/sql/sql-shared-client/licenses/jackson-NOTICE diff --git a/plugin/sql/sql-shared-client/licenses/jackson-core-2.8.10.jar.sha1 b/x-pack/plugin/sql/sql-shared-client/licenses/jackson-core-2.8.10.jar.sha1 similarity index 100% rename from plugin/sql/sql-shared-client/licenses/jackson-core-2.8.10.jar.sha1 rename to x-pack/plugin/sql/sql-shared-client/licenses/jackson-core-2.8.10.jar.sha1 diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/HttpClient.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/HttpClient.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/HttpClient.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/HttpClient.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Bytes.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Bytes.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Bytes.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Bytes.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedBiFunction.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedBiFunction.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedBiFunction.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedBiFunction.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedConsumer.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedConsumer.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedConsumer.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedConsumer.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedFunction.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedFunction.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedFunction.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/CheckedFunction.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ClientException.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ClientException.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ClientException.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ClientException.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ConnectionConfiguration.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ConnectionConfiguration.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ConnectionConfiguration.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ConnectionConfiguration.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/JreHttpUrlConnection.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/JreHttpUrlConnection.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/JreHttpUrlConnection.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/JreHttpUrlConnection.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ObjectUtils.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ObjectUtils.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ObjectUtils.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ObjectUtils.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ProxyConfig.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ProxyConfig.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ProxyConfig.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/ProxyConfig.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailure.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailure.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailure.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailure.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SslConfig.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SslConfig.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SslConfig.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SslConfig.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/StringUtils.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/StringUtils.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/StringUtils.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/StringUtils.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SuppressForbidden.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SuppressForbidden.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SuppressForbidden.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/SuppressForbidden.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/UriUtils.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/UriUtils.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/UriUtils.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/UriUtils.java diff --git a/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Version.java b/x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Version.java similarity index 100% rename from plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Version.java rename to x-pack/plugin/sql/sql-shared-client/src/main/java/org/elasticsearch/xpack/sql/client/shared/Version.java diff --git a/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailureTests.java b/x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailureTests.java similarity index 100% rename from plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailureTests.java rename to x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/RemoteFailureTests.java diff --git a/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/StringUtilsTests.java b/x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/StringUtilsTests.java similarity index 100% rename from plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/StringUtilsTests.java rename to x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/StringUtilsTests.java diff --git a/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/UriUtilsTests.java b/x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/UriUtilsTests.java similarity index 100% rename from plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/UriUtilsTests.java rename to x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/UriUtilsTests.java diff --git a/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/VersionTests.java b/x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/VersionTests.java similarity index 100% rename from plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/VersionTests.java rename to x-pack/plugin/sql/sql-shared-client/src/test/java/org/elasticsearch/xpack/sql/client/shared/VersionTests.java diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/basic.json b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/basic.json similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/basic.json rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/basic.json diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/bogus_error.json b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/bogus_error.json similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/bogus_error.json rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/bogus_error.json diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/invalid_json.txt b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/invalid_json.txt similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/invalid_json.txt rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/invalid_json.txt diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/missing_auth.json b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/missing_auth.json similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/missing_auth.json rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/missing_auth.json diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/nested.json b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/nested.json similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/nested.json rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/nested.json diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_error.json b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_error.json similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_error.json rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_error.json diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_stack.json b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_stack.json similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_stack.json rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_stack.json diff --git a/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_type.json b/x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_type.json similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_type.json rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/remote_failure/no_type.json diff --git a/plugin/sql/sql-shared-client/src/test/resources/ssl/client.keystore b/x-pack/plugin/sql/sql-shared-client/src/test/resources/ssl/client.keystore similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/ssl/client.keystore rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/ssl/client.keystore diff --git a/plugin/sql/sql-shared-client/src/test/resources/ssl/readme.txt b/x-pack/plugin/sql/sql-shared-client/src/test/resources/ssl/readme.txt similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/ssl/readme.txt rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/ssl/readme.txt diff --git a/plugin/sql/sql-shared-client/src/test/resources/ssl/server.keystore b/x-pack/plugin/sql/sql-shared-client/src/test/resources/ssl/server.keystore similarity index 100% rename from plugin/sql/sql-shared-client/src/test/resources/ssl/server.keystore rename to x-pack/plugin/sql/sql-shared-client/src/test/resources/ssl/server.keystore diff --git a/plugin/sql/src/main/antlr/SqlBase.g4 b/x-pack/plugin/sql/src/main/antlr/SqlBase.g4 similarity index 100% rename from plugin/sql/src/main/antlr/SqlBase.g4 rename to x-pack/plugin/sql/src/main/antlr/SqlBase.g4 diff --git a/plugin/sql/src/main/antlr/SqlBase.tokens b/x-pack/plugin/sql/src/main/antlr/SqlBase.tokens similarity index 100% rename from plugin/sql/src/main/antlr/SqlBase.tokens rename to x-pack/plugin/sql/src/main/antlr/SqlBase.tokens diff --git a/plugin/sql/src/main/antlr/SqlBaseLexer.tokens b/x-pack/plugin/sql/src/main/antlr/SqlBaseLexer.tokens similarity index 100% rename from plugin/sql/src/main/antlr/SqlBaseLexer.tokens rename to x-pack/plugin/sql/src/main/antlr/SqlBaseLexer.tokens diff --git a/plugin/sql/src/main/bin/sql-cli b/x-pack/plugin/sql/src/main/bin/sql-cli similarity index 100% rename from plugin/sql/src/main/bin/sql-cli rename to x-pack/plugin/sql/src/main/bin/sql-cli diff --git a/plugin/sql/src/main/bin/sql-cli.bat b/x-pack/plugin/sql/src/main/bin/sql-cli.bat similarity index 100% rename from plugin/sql/src/main/bin/sql-cli.bat rename to x-pack/plugin/sql/src/main/bin/sql-cli.bat diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ClientSqlException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ClientSqlException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ClientSqlException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ClientSqlException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ServerSqlException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ServerSqlException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ServerSqlException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/ServerSqlException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlIllegalArgumentException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlIllegalArgumentException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlIllegalArgumentException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/SqlIllegalArgumentException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/AnalysisException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/AnalysisException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/AnalysisException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/AnalysisException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Analyzer.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Analyzer.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Analyzer.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Analyzer.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzer.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzer.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzer.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzer.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerificationException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerificationException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerificationException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerificationException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Verifier.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Verifier.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Verifier.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/analyzer/Verifier.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/EsIndex.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/EsIndex.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/EsIndex.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/EsIndex.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolution.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolution.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolution.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolution.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolver.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolver.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolver.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/IndexResolver.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/MappingException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/MappingException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/MappingException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/analysis/index/MappingException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvable.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvable.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvable.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvable.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvables.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvables.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvables.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Resolvables.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Unresolvable.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Unresolvable.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Unresolvable.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/Unresolvable.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/UnresolvedException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/UnresolvedException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/UnresolvedException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/capabilities/UnresolvedException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/PlanExecutor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/PlanExecutor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/PlanExecutor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/PlanExecutor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/AggRef.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/AggRef.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/AggRef.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/AggRef.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggsRowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggsRowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggsRowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggsRowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/FieldExtraction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/FieldExtraction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/FieldExtraction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/FieldExtraction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/Querier.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/Querier.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/Querier.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/Querier.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaCompositeAggsRowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaCompositeAggsRowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaCompositeAggsRowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaCompositeAggsRowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaSearchHitRowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaSearchHitRowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaSearchHitRowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SchemaSearchHitRowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SearchHitRowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SearchHitRowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SearchHitRowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SearchHitRowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SourceGenerator.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SourceGenerator.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SourceGenerator.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SourceGenerator.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractors.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractors.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractors.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/BucketExtractors.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractors.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractors.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractors.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/HitExtractors.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Alias.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Alias.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Alias.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Alias.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Attribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Attribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Attribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Attribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeMap.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeMap.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeMap.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeMap.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/AttributeSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryExpression.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryExpression.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryExpression.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryExpression.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryLogic.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryLogic.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryLogic.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryLogic.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryOperator.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryOperator.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryOperator.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/BinaryOperator.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Exists.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Exists.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Exists.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Exists.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expression.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expression.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expression.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expression.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionId.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionId.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionId.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionId.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ExpressionSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expressions.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expressions.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expressions.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Expressions.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/FieldAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/FieldAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/FieldAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/FieldAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Foldables.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Foldables.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Foldables.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Foldables.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LeafExpression.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LeafExpression.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LeafExpression.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LeafExpression.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Literal.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Literal.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Literal.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Literal.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LiteralAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LiteralAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LiteralAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/LiteralAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NamedExpression.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NamedExpression.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NamedExpression.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NamedExpression.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NullIntolerant.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NullIntolerant.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NullIntolerant.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/NullIntolerant.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Order.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Order.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Order.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/Order.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ScalarSubquery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ScalarSubquery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ScalarSubquery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/ScalarSubquery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/SubQueryExpression.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/SubQueryExpression.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/SubQueryExpression.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/SubQueryExpression.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/TypedAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/TypedAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/TypedAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/TypedAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnaryExpression.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnaryExpression.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnaryExpression.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnaryExpression.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAlias.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAlias.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAlias.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAlias.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedNamedExpression.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedNamedExpression.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedNamedExpression.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedNamedExpression.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedStar.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedStar.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedStar.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/UnresolvedStar.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Function.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Function.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Function.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Function.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionDefinition.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionDefinition.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionDefinition.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionDefinition.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistry.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistry.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistry.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistry.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionType.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionType.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionType.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/FunctionType.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Functions.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Functions.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Functions.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Functions.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Score.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Score.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Score.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/Score.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/ScoreAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/ScoreAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/ScoreAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/ScoreAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunctionAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunctionAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunctionAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/AggregateFunctionAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Avg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Avg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Avg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Avg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/CompoundNumericAggregate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/CompoundNumericAggregate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/CompoundNumericAggregate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/CompoundNumericAggregate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Count.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Count.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Count.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Count.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/EnclosedAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/EnclosedAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/EnclosedAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/EnclosedAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStats.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStats.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStats.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStats.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStatsEnclosed.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStatsEnclosed.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStatsEnclosed.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/ExtendedStatsEnclosed.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/InnerAggregate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/InnerAggregate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/InnerAggregate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/InnerAggregate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Kurtosis.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Kurtosis.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Kurtosis.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Kurtosis.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStats.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStats.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStats.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStats.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStatsEnclosed.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStatsEnclosed.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStatsEnclosed.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/MatrixStatsEnclosed.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Max.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Max.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Max.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Max.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Min.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Min.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Min.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Min.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/NumericAggregate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/NumericAggregate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/NumericAggregate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/NumericAggregate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentile.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentile.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentile.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentile.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRank.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRank.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRank.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRank.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRanks.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRanks.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRanks.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/PercentileRanks.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentiles.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentiles.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentiles.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Percentiles.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Skewness.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Skewness.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Skewness.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Skewness.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Stats.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Stats.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Stats.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Stats.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StatsEnclosed.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StatsEnclosed.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StatsEnclosed.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StatsEnclosed.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StddevPop.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StddevPop.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StddevPop.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/StddevPop.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Sum.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Sum.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Sum.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/Sum.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/SumOfSquares.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/SumOfSquares.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/SumOfSquares.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/SumOfSquares.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/VarPop.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/VarPop.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/VarPop.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/aggregate/VarPop.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/BinaryScalarFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/BinaryScalarFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/BinaryScalarFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/BinaryScalarFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Cast.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Cast.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Cast.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Cast.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Processors.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Processors.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Processors.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/Processors.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunctionAttribute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunctionAttribute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunctionAttribute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/ScalarFunctionAttribute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/UnaryScalarFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/UnaryScalarFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/UnaryScalarFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/UnaryScalarFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Add.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Add.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Add.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Add.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/ArithmeticFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/ArithmeticFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/ArithmeticFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/ArithmeticFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Arithmetics.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Arithmetics.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Arithmetics.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Arithmetics.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorDefinition.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorDefinition.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorDefinition.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorDefinition.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Div.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Div.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Div.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Div.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mod.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mod.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mod.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mod.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mul.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mul.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mul.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Mul.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Neg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Neg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Neg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Neg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Sub.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Sub.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Sub.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/Sub.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/UnaryArithmeticProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/UnaryArithmeticProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/UnaryArithmeticProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/UnaryArithmeticProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeHistogramFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeHistogramFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeHistogramFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeHistogramFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfMonth.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfMonth.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfMonth.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfMonth.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfWeek.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfWeek.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfWeek.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfWeek.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYear.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYear.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYear.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYear.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/HourOfDay.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/HourOfDay.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/HourOfDay.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/HourOfDay.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfDay.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfDay.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfDay.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfDay.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfHour.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfHour.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfHour.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MinuteOfHour.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MonthOfYear.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MonthOfYear.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MonthOfYear.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/MonthOfYear.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/SecondOfMinute.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/SecondOfMinute.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/SecondOfMinute.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/SecondOfMinute.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/WeekOfYear.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/WeekOfYear.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/WeekOfYear.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/WeekOfYear.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/Year.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/Year.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/Year.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/Year.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ACos.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ACos.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ACos.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ACos.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ASin.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ASin.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ASin.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ASin.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan2.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan2.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan2.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/ATan2.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Abs.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Abs.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Abs.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Abs.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessorDefinition.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessorDefinition.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessorDefinition.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryMathProcessorDefinition.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/BinaryNumericProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cbrt.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cbrt.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cbrt.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cbrt.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Ceil.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Ceil.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Ceil.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Ceil.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cos.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cos.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cos.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cos.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cosh.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cosh.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cosh.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cosh.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cot.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cot.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cot.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Cot.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Degrees.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Degrees.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Degrees.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Degrees.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/E.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/E.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/E.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/E.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Exp.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Exp.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Exp.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Exp.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Expm1.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Expm1.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Expm1.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Expm1.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Floor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Floor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Floor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Floor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log10.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log10.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log10.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Log10.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Pi.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Pi.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Pi.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Pi.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Power.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Power.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Power.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Power.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Radians.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Radians.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Radians.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Radians.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Random.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Random.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Random.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Random.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Round.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Round.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Round.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Round.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sign.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sign.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sign.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sign.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sin.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sin.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sin.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sin.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sinh.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sinh.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sinh.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sinh.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sqrt.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sqrt.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sqrt.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Sqrt.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Tan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Tan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Tan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/Tan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggExtractorInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggExtractorInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggExtractorInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggExtractorInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggNameInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggNameInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggNameInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggNameInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggPathInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggPathInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggPathInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AggPathInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinition.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinition.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinition.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinition.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/CommonNonExecutableInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/CommonNonExecutableInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/CommonNonExecutableInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/CommonNonExecutableInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ConstantInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ConstantInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ConstantInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ConstantInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/HitExtractorInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/HitExtractorInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/HitExtractorInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/HitExtractorInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/LeafInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/LeafInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/LeafInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/LeafInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/NonExecutableInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/NonExecutableInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/NonExecutableInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/NonExecutableInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinition.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinition.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinition.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinition.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinitions.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinitions.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinitions.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ProcessorDefinitions.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ReferenceInput.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ReferenceInput.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ReferenceInput.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ReferenceInput.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ScoreProcessorDefinition.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ScoreProcessorDefinition.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ScoreProcessorDefinition.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/ScoreProcessorDefinition.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinition.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinition.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinition.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinition.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BinaryProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BinaryProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BinaryProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BinaryProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BucketExtractorProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BucketExtractorProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BucketExtractorProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/BucketExtractorProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/HitExtractorProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/HitExtractorProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/HitExtractorProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/HitExtractorProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/Processor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/Processor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/Processor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/Processor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/UnaryProcessor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/UnaryProcessor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/UnaryProcessor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/UnaryProcessor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Agg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Agg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Agg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Agg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Param.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Param.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Param.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Param.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Params.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Params.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Params.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Params.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ParamsBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ParamsBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ParamsBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ParamsBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Script.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Script.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Script.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Script.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ScriptTemplate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ScriptTemplate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ScriptTemplate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/ScriptTemplate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Var.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Var.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Var.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/script/Var.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/And.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/And.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/And.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/And.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/BinaryComparison.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/BinaryComparison.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/BinaryComparison.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/BinaryComparison.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Equals.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Equals.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Equals.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Equals.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThanOrEqual.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThanOrEqual.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThanOrEqual.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/GreaterThanOrEqual.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/In.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/In.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/In.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/In.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/IsNotNull.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/IsNotNull.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/IsNotNull.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/IsNotNull.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThanOrEqual.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThanOrEqual.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThanOrEqual.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/LessThanOrEqual.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Not.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Not.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Not.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Not.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Or.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Or.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Or.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Or.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Predicates.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Predicates.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Predicates.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Predicates.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Range.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Range.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Range.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/Range.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextPredicate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextPredicate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextPredicate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextPredicate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextUtils.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextUtils.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextUtils.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/FullTextUtils.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MatchQueryPredicate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MatchQueryPredicate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MatchQueryPredicate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MatchQueryPredicate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MultiMatchQueryPredicate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MultiMatchQueryPredicate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MultiMatchQueryPredicate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/MultiMatchQueryPredicate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/StringQueryPredicate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/StringQueryPredicate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/StringQueryPredicate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/fulltext/StringQueryPredicate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/Like.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/Like.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/Like.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/Like.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/LikePattern.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/LikePattern.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/LikePattern.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/LikePattern.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/RLike.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/RLike.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/RLike.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/regex/RLike.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/package-info.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/package-info.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/package-info.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/package-info.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AbstractBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AbstractBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AbstractBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AbstractBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AstBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AstBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AstBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/AstBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CaseInsensitiveStream.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CaseInsensitiveStream.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CaseInsensitiveStream.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CaseInsensitiveStream.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CommandBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CommandBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CommandBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/CommandBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ExpressionBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ExpressionBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ExpressionBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ExpressionBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/LogicalPlanBuilder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/LogicalPlanBuilder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/LogicalPlanBuilder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/LogicalPlanBuilder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ParsingException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ParsingException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ParsingException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/ParsingException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseListener.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseListener.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseListener.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseListener.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseVisitor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseVisitor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseVisitor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseBaseVisitor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseLexer.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseLexer.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseLexer.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseLexer.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseListener.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseListener.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseListener.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseListener.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseParser.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseParser.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseParser.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseParser.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseVisitor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseVisitor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseVisitor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlBaseVisitor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlParser.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlParser.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlParser.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/SqlParser.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/QueryPlan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/QueryPlan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/QueryPlan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/QueryPlan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/TableIdentifier.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/TableIdentifier.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/TableIdentifier.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/TableIdentifier.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Aggregate.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Aggregate.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Aggregate.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Aggregate.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/BinaryPlan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/BinaryPlan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/BinaryPlan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/BinaryPlan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Distinct.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Distinct.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Distinct.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Distinct.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/EsRelation.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/EsRelation.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/EsRelation.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/EsRelation.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Filter.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Filter.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Filter.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Filter.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Join.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Join.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Join.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Join.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LeafPlan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LeafPlan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LeafPlan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LeafPlan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Limit.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Limit.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Limit.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Limit.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LocalRelation.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LocalRelation.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LocalRelation.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LocalRelation.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LogicalPlan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LogicalPlan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LogicalPlan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/LogicalPlan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/OrderBy.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/OrderBy.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/OrderBy.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/OrderBy.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Project.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Project.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Project.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/Project.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/SubQueryAlias.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/SubQueryAlias.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/SubQueryAlias.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/SubQueryAlias.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnaryPlan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnaryPlan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnaryPlan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnaryPlan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelation.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelation.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelation.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelation.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/With.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/With.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/With.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/With.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Command.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Command.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Command.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Command.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Debug.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Debug.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Debug.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Debug.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Explain.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Explain.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Explain.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/Explain.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowColumns.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowColumns.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowColumns.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowColumns.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowFunctions.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowFunctions.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowFunctions.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowFunctions.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowSchemas.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowSchemas.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowSchemas.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowSchemas.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowTables.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowTables.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowTables.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/ShowTables.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogs.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogs.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogs.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogs.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumns.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumns.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumns.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumns.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypes.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypes.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypes.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypes.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTables.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTables.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTables.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTables.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTypes.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTypes.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTypes.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTypes.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/AggregateExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/AggregateExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/AggregateExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/AggregateExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/BinaryExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/BinaryExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/BinaryExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/BinaryExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/CommandExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/CommandExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/CommandExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/CommandExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/EsQueryExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/EsQueryExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/EsQueryExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/EsQueryExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/FilterExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/FilterExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/FilterExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/FilterExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LeafExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LeafExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LeafExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LeafExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LimitExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LimitExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LimitExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LimitExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LocalExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LocalExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LocalExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/LocalExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/OrderExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/OrderExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/OrderExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/OrderExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/PhysicalPlan.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/PhysicalPlan.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/PhysicalPlan.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/PhysicalPlan.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/ProjectExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/ProjectExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/ProjectExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/ProjectExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnaryExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnaryExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnaryExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnaryExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/Unexecutable.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/Unexecutable.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/Unexecutable.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/Unexecutable.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnplannedExec.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnplannedExec.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnplannedExec.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plan/physical/UnplannedExec.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/FoldingException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/FoldingException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/FoldingException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/FoldingException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Mapper.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Mapper.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Mapper.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Mapper.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Planner.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Planner.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Planner.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Planner.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/PlanningException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/PlanningException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/PlanningException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/PlanningException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryFolder.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryFolder.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryFolder.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryFolder.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryTranslator.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryTranslator.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryTranslator.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/QueryTranslator.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Verifier.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Verifier.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Verifier.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/planner/Verifier.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatterCursor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatterCursor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatterCursor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/CliFormatterCursor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlClearCursorAction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlClearCursorAction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlClearCursorAction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlClearCursorAction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlQueryAction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlQueryAction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlQueryAction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlQueryAction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlTranslateAction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlTranslateAction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlTranslateAction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlTranslateAction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlLicenseChecker.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlLicenseChecker.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlLicenseChecker.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlLicenseChecker.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlPlugin.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlPlugin.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlPlugin.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/SqlPlugin.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TextFormat.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TextFormat.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TextFormat.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TextFormat.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlClearCursorAction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlClearCursorAction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlClearCursorAction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlClearCursorAction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlQueryAction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlQueryAction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlQueryAction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlQueryAction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlTranslateAction.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlTranslateAction.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlTranslateAction.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/TransportSqlTranslateAction.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Agg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Agg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Agg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Agg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AggFilter.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AggFilter.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AggFilter.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AggFilter.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Aggs.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Aggs.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Aggs.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/Aggs.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AndAggFilter.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AndAggFilter.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AndAggFilter.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AndAggFilter.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AvgAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AvgAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AvgAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/AvgAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/CardinalityAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/CardinalityAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/CardinalityAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/CardinalityAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/ExtendedStatsAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/ExtendedStatsAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/ExtendedStatsAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/ExtendedStatsAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByColumnKey.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByColumnKey.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByColumnKey.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByColumnKey.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByDateKey.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByDateKey.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByDateKey.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByDateKey.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByKey.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByKey.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByKey.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByKey.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByScriptKey.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByScriptKey.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByScriptKey.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/GroupByScriptKey.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/LeafAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/LeafAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/LeafAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/LeafAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MatrixStatsAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MatrixStatsAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MatrixStatsAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MatrixStatsAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MaxAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MaxAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MaxAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MaxAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MinAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MinAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MinAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MinAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MultiFieldAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MultiFieldAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MultiFieldAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/MultiFieldAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/OrAggFilter.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/OrAggFilter.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/OrAggFilter.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/OrAggFilter.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentileRanksAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentileRanksAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentileRanksAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentileRanksAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentilesAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentilesAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentilesAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PercentilesAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PipelineAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PipelineAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PipelineAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/PipelineAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/StatsAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/StatsAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/StatsAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/StatsAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/SumAgg.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/SumAgg.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/SumAgg.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/agg/SumAgg.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/AttributeSort.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/AttributeSort.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/AttributeSort.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/AttributeSort.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ComputedRef.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ComputedRef.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ComputedRef.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ComputedRef.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/FieldReference.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/FieldReference.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/FieldReference.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/FieldReference.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GlobalCountRef.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GlobalCountRef.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GlobalCountRef.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GlobalCountRef.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GroupByRef.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GroupByRef.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GroupByRef.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/GroupByRef.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/MetricAggRef.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/MetricAggRef.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/MetricAggRef.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/MetricAggRef.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainer.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainer.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainer.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainer.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScoreSort.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScoreSort.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScoreSort.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScoreSort.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptFieldRef.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptFieldRef.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptFieldRef.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptFieldRef.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptSort.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptSort.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptSort.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/ScriptSort.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/SearchHitFieldRef.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/SearchHitFieldRef.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/SearchHitFieldRef.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/SearchHitFieldRef.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/Sort.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/Sort.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/Sort.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/container/Sort.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ExistsQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ExistsQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ExistsQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ExistsQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchAll.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchAll.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchAll.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchAll.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NotQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NotQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NotQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/NotQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/Query.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/Query.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/Query.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/Query.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RangeQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RangeQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RangeQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RangeQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RegexQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RegexQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RegexQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/RegexQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ScriptQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ScriptQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ScriptQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/ScriptQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/TermQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/TermQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/TermQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/TermQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/WildcardQuery.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/WildcardQuery.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/WildcardQuery.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/querydsl/query/WildcardQuery.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/Rule.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/Rule.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/Rule.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/Rule.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutionException.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutionException.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutionException.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutionException.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/rule/RuleExecutor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/AbstractRowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/AbstractRowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/AbstractRowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/AbstractRowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Configuration.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Configuration.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Configuration.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Configuration.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursors.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursors.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursors.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Cursors.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyCursor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyCursor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyCursor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyCursor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyExecutable.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyExecutable.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyExecutable.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyExecutable.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyRowSetCursor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyRowSetCursor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyRowSetCursor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/EmptyRowSetCursor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Executable.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Executable.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Executable.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Executable.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/ListRowSetCursor.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/ListRowSetCursor.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/ListRowSetCursor.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/ListRowSetCursor.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowView.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowView.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowView.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/RowView.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Rows.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Rows.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Rows.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/Rows.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SchemaRowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SchemaRowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SchemaRowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SchemaRowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonExecutable.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonExecutable.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonExecutable.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonExecutable.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonRowSet.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonRowSet.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonRowSet.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SingletonRowSet.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SqlSession.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SqlSession.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SqlSession.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/session/SqlSession.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Location.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Location.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Location.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Location.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Node.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Node.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Node.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/Node.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeInfo.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeInfo.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeInfo.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeInfo.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeUtils.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeUtils.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeUtils.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/tree/NodeUtils.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypeConversion.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypeConversion.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypeConversion.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypeConversion.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypes.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypes.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypes.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DataTypes.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DateEsField.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DateEsField.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DateEsField.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/DateEsField.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/EsField.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/EsField.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/EsField.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/EsField.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/KeywordEsField.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/KeywordEsField.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/KeywordEsField.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/KeywordEsField.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Schema.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Schema.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Schema.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Schema.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/TextEsField.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/TextEsField.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/TextEsField.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/TextEsField.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Types.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Types.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Types.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/Types.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/UnsupportedEsField.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/UnsupportedEsField.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/UnsupportedEsField.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/type/UnsupportedEsField.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Check.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Check.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Check.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Check.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/CollectionUtils.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/CollectionUtils.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/CollectionUtils.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/CollectionUtils.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Graphviz.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Graphviz.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Graphviz.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/Graphviz.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/ReflectionUtils.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/ReflectionUtils.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/ReflectionUtils.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/ReflectionUtils.java diff --git a/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/StringUtils.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/StringUtils.java similarity index 100% rename from plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/StringUtils.java rename to x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/util/StringUtils.java diff --git a/plugin/sql/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/sql/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/sql/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/sql/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/AbstractSqlIntegTestCase.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/AbstractSqlIntegTestCase.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/AbstractSqlIntegTestCase.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/AbstractSqlIntegTestCase.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlActionIT.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlActionIT.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlActionIT.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlActionIT.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlClearCursorActionIT.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlClearCursorActionIT.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlClearCursorActionIT.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlClearCursorActionIT.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlDisabledIT.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlDisabledIT.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlDisabledIT.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlDisabledIT.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlLicenseIT.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlLicenseIT.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlLicenseIT.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlLicenseIT.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlTranslateActionIT.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlTranslateActionIT.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlTranslateActionIT.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/action/SqlTranslateActionIT.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/FieldAttributeTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/FieldAttributeTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/FieldAttributeTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/FieldAttributeTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzerTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzerTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzerTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/PreAnalyzerTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerifierErrorMessagesTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerifierErrorMessagesTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerifierErrorMessagesTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/analysis/analyzer/VerifierErrorMessagesTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CompositeAggregationCursorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CursorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CursorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CursorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/CursorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/ScrollCursorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SourceGeneratorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SourceGeneratorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SourceGeneratorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SourceGeneratorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilderTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilderTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilderTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/SqlSourceBuilderTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/CompositeKeyExtractorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ComputingExtractorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ConstantExtractorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/FieldHitExtractorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/MetricAggExtractorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/ScoreExtractorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestBucket.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestBucket.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestBucket.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestBucket.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestMultiValueAggregation.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestMultiValueAggregation.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestMultiValueAggregation.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestMultiValueAggregation.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestSingleValueAggregation.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestSingleValueAggregation.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestSingleValueAggregation.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/execution/search/extractor/TestSingleValueAggregation.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/AttributeMapTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/AttributeMapTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/AttributeMapTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/AttributeMapTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ExpressionIdTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ExpressionIdTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ExpressionIdTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ExpressionIdTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/LiteralTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/LiteralTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/LiteralTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/LiteralTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ParameterTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ParameterTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ParameterTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/ParameterTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/QuotingTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/QuotingTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/QuotingTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/QuotingTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttributeTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttributeTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttributeTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/UnresolvedAttributeTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistryTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistryTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistryTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/FunctionRegistryTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/NamedExpressionTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/NamedExpressionTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/NamedExpressionTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/NamedExpressionTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunctionTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunctionTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunctionTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/UnresolvedFunctionTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/CastProcessorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/arithmetic/BinaryArithmeticProcessorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeProcessorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYearTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYearTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYearTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DayOfYearTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunctionProcessorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunctionProcessorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunctionProcessorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/math/MathFunctionProcessorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInputTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInputTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInputTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/AttributeInputTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinitionTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinitionTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinitionTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/BinaryProcessorDefinitionTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinitionTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinitionTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinitionTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/definition/UnaryProcessorDefinitionTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ChainingProcessorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/processor/runtime/ConstantProcessorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilderTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilderTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilderTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/IdentifierBuilderTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/LikeEscapingParsingTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/LikeEscapingParsingTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/LikeEscapingParsingTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/LikeEscapingParsingTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/SqlParserTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/SqlParserTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/SqlParserTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/parser/SqlParserTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelationTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelationTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelationTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/UnresolvedRelationTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogsTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogsTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogsTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysCatalogsTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumnsTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumnsTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumnsTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysColumnsTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysParserTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysParserTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysParserTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysParserTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypesTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypesTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypesTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTableTypesTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTablesTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTablesTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTablesTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plan/logical/command/sys/SysTablesTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/VerifierErrorMessagesTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/VerifierErrorMessagesTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/VerifierErrorMessagesTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/VerifierErrorMessagesTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/CliFormatterTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/CliFormatterTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/CliFormatterTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/CliFormatterTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlPluginTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlPluginTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlPluginTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/SqlPluginTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/TextFormatTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/TextFormatTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/TextFormatTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/plugin/TextFormatTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainerTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainerTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainerTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/container/QueryContainerTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQueryTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQueryTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQueryTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/BoolQueryTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQueryTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQueryTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQueryTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/LeafQueryTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQueryTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQueryTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQueryTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MatchQueryTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQueryTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQueryTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQueryTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/MultiMatchQueryTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQueryTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQueryTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQueryTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/NestedQueryTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQueryTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQueryTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQueryTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/querydsl/query/QueryStringQueryTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/AbstractNodeTestCase.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/AbstractNodeTestCase.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/AbstractNodeTestCase.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/AbstractNodeTestCase.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/LocationTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/LocationTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/LocationTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/LocationTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeSubclassTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeSubclassTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeSubclassTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeSubclassTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/tree/NodeTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/DataTypeConversionTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/DataTypeConversionTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/DataTypeConversionTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/DataTypeConversionTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/TypesTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/TypesTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/TypesTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/type/TypesTests.java diff --git a/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/util/LikeConversionTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/util/LikeConversionTests.java similarity index 100% rename from plugin/sql/src/test/java/org/elasticsearch/xpack/sql/util/LikeConversionTests.java rename to x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/util/LikeConversionTests.java diff --git a/plugin/sql/src/test/resources/mapping-basic.json b/x-pack/plugin/sql/src/test/resources/mapping-basic.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-basic.json rename to x-pack/plugin/sql/src/test/resources/mapping-basic.json diff --git a/plugin/sql/src/test/resources/mapping-date-multi.json b/x-pack/plugin/sql/src/test/resources/mapping-date-multi.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-date-multi.json rename to x-pack/plugin/sql/src/test/resources/mapping-date-multi.json diff --git a/plugin/sql/src/test/resources/mapping-date-no-format.json b/x-pack/plugin/sql/src/test/resources/mapping-date-no-format.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-date-no-format.json rename to x-pack/plugin/sql/src/test/resources/mapping-date-no-format.json diff --git a/plugin/sql/src/test/resources/mapping-date.json b/x-pack/plugin/sql/src/test/resources/mapping-date.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-date.json rename to x-pack/plugin/sql/src/test/resources/mapping-date.json diff --git a/plugin/sql/src/test/resources/mapping-default-string.json b/x-pack/plugin/sql/src/test/resources/mapping-default-string.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-default-string.json rename to x-pack/plugin/sql/src/test/resources/mapping-default-string.json diff --git a/plugin/sql/src/test/resources/mapping-docvalues.json b/x-pack/plugin/sql/src/test/resources/mapping-docvalues.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-docvalues.json rename to x-pack/plugin/sql/src/test/resources/mapping-docvalues.json diff --git a/plugin/sql/src/test/resources/mapping-dotted-field.json b/x-pack/plugin/sql/src/test/resources/mapping-dotted-field.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-dotted-field.json rename to x-pack/plugin/sql/src/test/resources/mapping-dotted-field.json diff --git a/plugin/sql/src/test/resources/mapping-geo.json b/x-pack/plugin/sql/src/test/resources/mapping-geo.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-geo.json rename to x-pack/plugin/sql/src/test/resources/mapping-geo.json diff --git a/plugin/sql/src/test/resources/mapping-keyword.json b/x-pack/plugin/sql/src/test/resources/mapping-keyword.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-keyword.json rename to x-pack/plugin/sql/src/test/resources/mapping-keyword.json diff --git a/plugin/sql/src/test/resources/mapping-multi-field-options.json b/x-pack/plugin/sql/src/test/resources/mapping-multi-field-options.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-multi-field-options.json rename to x-pack/plugin/sql/src/test/resources/mapping-multi-field-options.json diff --git a/plugin/sql/src/test/resources/mapping-multi-field-variation.json b/x-pack/plugin/sql/src/test/resources/mapping-multi-field-variation.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-multi-field-variation.json rename to x-pack/plugin/sql/src/test/resources/mapping-multi-field-variation.json diff --git a/plugin/sql/src/test/resources/mapping-multi-field-with-nested.json b/x-pack/plugin/sql/src/test/resources/mapping-multi-field-with-nested.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-multi-field-with-nested.json rename to x-pack/plugin/sql/src/test/resources/mapping-multi-field-with-nested.json diff --git a/plugin/sql/src/test/resources/mapping-multi-field.json b/x-pack/plugin/sql/src/test/resources/mapping-multi-field.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-multi-field.json rename to x-pack/plugin/sql/src/test/resources/mapping-multi-field.json diff --git a/plugin/sql/src/test/resources/mapping-nested.json b/x-pack/plugin/sql/src/test/resources/mapping-nested.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-nested.json rename to x-pack/plugin/sql/src/test/resources/mapping-nested.json diff --git a/plugin/sql/src/test/resources/mapping-object.json b/x-pack/plugin/sql/src/test/resources/mapping-object.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-object.json rename to x-pack/plugin/sql/src/test/resources/mapping-object.json diff --git a/plugin/sql/src/test/resources/mapping-parent-child.json b/x-pack/plugin/sql/src/test/resources/mapping-parent-child.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-parent-child.json rename to x-pack/plugin/sql/src/test/resources/mapping-parent-child.json diff --git a/plugin/sql/src/test/resources/mapping-text.json b/x-pack/plugin/sql/src/test/resources/mapping-text.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-text.json rename to x-pack/plugin/sql/src/test/resources/mapping-text.json diff --git a/plugin/sql/src/test/resources/mapping-unsupported.json b/x-pack/plugin/sql/src/test/resources/mapping-unsupported.json similarity index 100% rename from plugin/sql/src/test/resources/mapping-unsupported.json rename to x-pack/plugin/sql/src/test/resources/mapping-unsupported.json diff --git a/plugin/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestIT.java b/x-pack/plugin/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestIT.java similarity index 100% rename from plugin/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestIT.java rename to x-pack/plugin/src/test/java/org/elasticsearch/xpack/test/rest/XPackRestIT.java diff --git a/plugin/src/test/resources/IndexLifecycleManagerTests-template-v512.json b/x-pack/plugin/src/test/resources/IndexLifecycleManagerTests-template-v512.json similarity index 100% rename from plugin/src/test/resources/IndexLifecycleManagerTests-template-v512.json rename to x-pack/plugin/src/test/resources/IndexLifecycleManagerTests-template-v512.json diff --git a/plugin/src/test/resources/org/elasticsearch/xpack/watcher/actions/email/service/logo.png b/x-pack/plugin/src/test/resources/org/elasticsearch/xpack/watcher/actions/email/service/logo.png similarity index 100% rename from plugin/src/test/resources/org/elasticsearch/xpack/watcher/actions/email/service/logo.png rename to x-pack/plugin/src/test/resources/org/elasticsearch/xpack/watcher/actions/email/service/logo.png diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.graph.explore.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.graph.explore.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.graph.explore.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.graph.explore.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.info.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.license.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.delete.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.license.delete.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.delete.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.license.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.get.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.license.get.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.get.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.license.get_basic_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.get_basic_status.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.license.get_basic_status.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.get_basic_status.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.license.get_trial_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.get_trial_status.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.license.get_trial_status.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.get_trial_status.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.license.post.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.post.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.license.post.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.post.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_basic.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_basic.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_basic.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_basic.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_trial.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_trial.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_trial.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.license.post_start_trial.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.migration.deprecations.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.migration.deprecations.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.migration.deprecations.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.migration.deprecations.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.migration.get_assistance.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.migration.get_assistance.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.migration.get_assistance.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.migration.get_assistance.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.migration.upgrade.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.migration.upgrade.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.migration.upgrade.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.migration.upgrade.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_event.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_event.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_event.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_event.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_calendar_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_expired_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_expired_data.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_expired_data.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_expired_data.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_filter.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_filter.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_filter.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.forecast.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.forecast.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.forecast.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.forecast.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendar_events.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendar_events.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendar_events.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendars.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendars.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendars.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_calendars.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_filters.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_filters.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_filters.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_filters.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_overall_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_overall_buckets.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_overall_buckets.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_overall_buckets.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.info.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.info.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.info.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_calendar_events.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_calendar_events.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_calendar_events.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_calendar_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_filter.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_filter.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_filter.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.monitoring.bulk.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.monitoring.bulk.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.monitoring.bulk.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.monitoring.bulk.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.delete_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.rollup.delete_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.delete_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_jobs.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_jobs.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_jobs.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_rollup_caps.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_rollup_caps.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_rollup_caps.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.get_rollup_caps.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.put_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.rollup.put_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.put_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.rollup_search.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.rollup_search.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.rollup.rollup_search.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.rollup_search.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.start_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.start_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.rollup.start_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.start_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.stop_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.stop_job.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.rollup.stop_job.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.rollup.stop_job.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.sql.clear_cursor.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.sql.clear_cursor.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.sql.clear_cursor.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.sql.clear_cursor.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.sql.query.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.sql.query.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.sql.query.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.sql.query.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.sql.translate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.sql.translate.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.sql.translate.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.sql.translate.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ssl.certificates.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ssl.certificates.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.ssl.certificates.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.ssl.certificates.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.usage.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.execute_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.execute_watch.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.execute_watch.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.execute_watch.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.get_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.get_watch.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.get_watch.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.get_watch.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.start.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.start.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.start.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stats.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stats.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stats.json diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stop.json similarity index 100% rename from plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stop.json rename to x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.watcher.stop.json diff --git a/plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/authenticate/10_field_level_security.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/authenticate/10_field_level_security.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/authenticate/10_field_level_security.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/authenticate/10_field_level_security.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/deprecation/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/deprecation/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/deprecation/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/deprecation/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/calendar_crud.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/calendar_crud.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/calendar_crud.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/calendar_crud.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/delete_job_force.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/delete_job_force.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/delete_job_force.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/delete_job_force.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/forecast.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/forecast.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/forecast.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/forecast.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/job_groups.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/job_groups.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/job_groups.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/job_groups.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_overall_buckets.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_overall_buckets.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_overall_buckets.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_overall_buckets.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/ml_classic_analyze.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_classic_analyze.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/ml_classic_analyze.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_classic_analyze.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/post_data.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/post_data.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/post_data.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/post_data.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/validate.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/validate.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/validate.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/validate.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/rollup/delete_job.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/delete_job.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/rollup/delete_job.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/delete_job.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/rollup/get_jobs.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/get_jobs.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/rollup/get_jobs.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/get_jobs.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/rollup/get_rollup_caps.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/get_rollup_caps.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/rollup/get_rollup_caps.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/get_rollup_caps.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/rollup/put_job.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/put_job.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/rollup/put_job.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/put_job.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/rollup/rollup_search.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/rollup_search.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/rollup/rollup_search.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/rollup_search.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/rollup/start_job.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/start_job.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/rollup/start_job.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/start_job.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/rollup/stop_job.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/stop_job.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/rollup/stop_job.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/rollup/stop_job.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/authz/10_index_doc.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/10_index_doc.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/authz/10_index_doc.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/10_index_doc.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/authz/11_delete_doc.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/11_delete_doc.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/authz/11_delete_doc.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/11_delete_doc.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/authz/12_index_alias.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/12_index_alias.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/authz/12_index_alias.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/12_index_alias.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/authz/13_index_datemath.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/13_index_datemath.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/authz/13_index_datemath.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/13_index_datemath.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/authz/20_get_doc.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/20_get_doc.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/authz/20_get_doc.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/20_get_doc.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/authz/21_search_doc.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/21_search_doc.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/authz/21_search_doc.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/authz/21_search_doc.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/hidden-index/10_security_read.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/hidden-index/10_security_read.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/hidden-index/10_security_read.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/hidden-index/10_security_read.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/security/hidden-index/11_security-6_read.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/security/hidden-index/11_security-6_read.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/security/hidden-index/11_security-6_read.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/security/hidden-index/11_security-6_read.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/sql/sql.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/sql/sql.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/sql/sql.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/sql/sql.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/sql/translate.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/sql/translate.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/sql/translate.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/sql/translate.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ssl/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ssl/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ssl/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/ssl/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/token/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/token/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/token/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/token/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/upgrade/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/upgrade/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/upgrade/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/upgrade/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/users/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/users/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/40_reset_ack_after_unmet_action_condition.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/40_reset_ack_after_unmet_action_condition.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/40_reset_ack_after_unmet_action_condition.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/40_reset_ack_after_unmet_action_condition.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/20_transform.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/20_transform.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/20_transform.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/20_transform.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/30_throttled.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/30_throttled.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/30_throttled.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/30_throttled.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/40_ignore_condition.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/40_ignore_condition.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/40_ignore_condition.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/40_ignore_condition.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/50_action_mode.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/50_action_mode.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/50_action_mode.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/50_action_mode.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/60_http_input.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/60_http_input.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/60_http_input.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/60_http_input.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/70_invalid.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/70_invalid.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/70_invalid.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/70_invalid.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/80_put_get_watch_with_passwords.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/80_put_get_watch_with_passwords.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/80_put_get_watch_with_passwords.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/80_put_get_watch_with_passwords.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/usage/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/usage/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/usage/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/usage/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yml rename to x-pack/plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yml diff --git a/plugin/src/test/resources/wrong-version-logstash-index-template.json b/x-pack/plugin/src/test/resources/wrong-version-logstash-index-template.json similarity index 100% rename from plugin/src/test/resources/wrong-version-logstash-index-template.json rename to x-pack/plugin/src/test/resources/wrong-version-logstash-index-template.json diff --git a/plugin/src/test/resources/wrong-version-security-index-template.json b/x-pack/plugin/src/test/resources/wrong-version-security-index-template.json similarity index 100% rename from plugin/src/test/resources/wrong-version-security-index-template.json rename to x-pack/plugin/src/test/resources/wrong-version-security-index-template.json diff --git a/plugin/upgrade/build.gradle b/x-pack/plugin/upgrade/build.gradle similarity index 100% rename from plugin/upgrade/build.gradle rename to x-pack/plugin/upgrade/build.gradle diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheck.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheck.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheck.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheck.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheckFactory.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheckFactory.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheckFactory.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeCheckFactory.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeService.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeService.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeService.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/IndexUpgradeService.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexer.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexer.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexer.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexer.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/Upgrade.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/Upgrade.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/Upgrade.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/Upgrade.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeAction.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeAction.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeAction.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeAction.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeInfoAction.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeInfoAction.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeInfoAction.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/actions/TransportIndexUpgradeInfoAction.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeAction.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeAction.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeAction.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeAction.java diff --git a/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeInfoAction.java b/x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeInfoAction.java similarity index 100% rename from plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeInfoAction.java rename to x-pack/plugin/upgrade/src/main/java/org/elasticsearch/xpack/upgrade/rest/RestIndexUpgradeInfoAction.java diff --git a/plugin/upgrade/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/upgrade/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/upgrade/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/upgrade/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIT.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIT.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIT.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIT.java diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIntegTestCase.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIntegTestCase.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIntegTestCase.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeIntegTestCase.java diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeServiceTests.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeServiceTests.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeServiceTests.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeServiceTests.java diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeTasksIT.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeTasksIT.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeTasksIT.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/IndexUpgradeTasksIT.java diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexerIT.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexerIT.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexerIT.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/InternalIndexReindexerIT.java diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeActionRequestTests.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeActionRequestTests.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeActionRequestTests.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeActionRequestTests.java diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionRequestTests.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionRequestTests.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionRequestTests.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionRequestTests.java diff --git a/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionResponseTests.java b/x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionResponseTests.java similarity index 100% rename from plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionResponseTests.java rename to x-pack/plugin/upgrade/src/test/java/org/elasticsearch/xpack/upgrade/actions/IndexUpgradeInfoActionResponseTests.java diff --git a/plugin/watcher/build.gradle b/x-pack/plugin/watcher/build.gradle similarity index 100% rename from plugin/watcher/build.gradle rename to x-pack/plugin/watcher/build.gradle diff --git a/plugin/watcher/licenses/activation-1.1.1.jar.sha1 b/x-pack/plugin/watcher/licenses/activation-1.1.1.jar.sha1 similarity index 100% rename from plugin/watcher/licenses/activation-1.1.1.jar.sha1 rename to x-pack/plugin/watcher/licenses/activation-1.1.1.jar.sha1 diff --git a/plugin/watcher/licenses/activation-LICENSE.txt b/x-pack/plugin/watcher/licenses/activation-LICENSE.txt similarity index 100% rename from plugin/watcher/licenses/activation-LICENSE.txt rename to x-pack/plugin/watcher/licenses/activation-LICENSE.txt diff --git a/plugin/watcher/licenses/activation-NOTICE.txt b/x-pack/plugin/watcher/licenses/activation-NOTICE.txt similarity index 100% rename from plugin/watcher/licenses/activation-NOTICE.txt rename to x-pack/plugin/watcher/licenses/activation-NOTICE.txt diff --git a/plugin/watcher/licenses/guava-16.0.1.jar.sha1 b/x-pack/plugin/watcher/licenses/guava-16.0.1.jar.sha1 similarity index 100% rename from plugin/watcher/licenses/guava-16.0.1.jar.sha1 rename to x-pack/plugin/watcher/licenses/guava-16.0.1.jar.sha1 diff --git a/plugin/watcher/licenses/guava-LICENSE.txt b/x-pack/plugin/watcher/licenses/guava-LICENSE.txt similarity index 100% rename from plugin/watcher/licenses/guava-LICENSE.txt rename to x-pack/plugin/watcher/licenses/guava-LICENSE.txt diff --git a/plugin/watcher/licenses/guava-NOTICE.txt b/x-pack/plugin/watcher/licenses/guava-NOTICE.txt similarity index 100% rename from plugin/watcher/licenses/guava-NOTICE.txt rename to x-pack/plugin/watcher/licenses/guava-NOTICE.txt diff --git a/plugin/watcher/licenses/javax.mail-1.5.6.jar.sha1 b/x-pack/plugin/watcher/licenses/javax.mail-1.5.6.jar.sha1 similarity index 100% rename from plugin/watcher/licenses/javax.mail-1.5.6.jar.sha1 rename to x-pack/plugin/watcher/licenses/javax.mail-1.5.6.jar.sha1 diff --git a/plugin/watcher/licenses/javax.mail-LICENSE.txt b/x-pack/plugin/watcher/licenses/javax.mail-LICENSE.txt similarity index 100% rename from plugin/watcher/licenses/javax.mail-LICENSE.txt rename to x-pack/plugin/watcher/licenses/javax.mail-LICENSE.txt diff --git a/plugin/watcher/licenses/javax.mail-NOTICE.txt b/x-pack/plugin/watcher/licenses/javax.mail-NOTICE.txt similarity index 100% rename from plugin/watcher/licenses/javax.mail-NOTICE.txt rename to x-pack/plugin/watcher/licenses/javax.mail-NOTICE.txt diff --git a/plugin/watcher/licenses/owasp-java-html-sanitizer-LICENSE.txt b/x-pack/plugin/watcher/licenses/owasp-java-html-sanitizer-LICENSE.txt similarity index 100% rename from plugin/watcher/licenses/owasp-java-html-sanitizer-LICENSE.txt rename to x-pack/plugin/watcher/licenses/owasp-java-html-sanitizer-LICENSE.txt diff --git a/plugin/watcher/licenses/owasp-java-html-sanitizer-NOTICE.txt b/x-pack/plugin/watcher/licenses/owasp-java-html-sanitizer-NOTICE.txt similarity index 100% rename from plugin/watcher/licenses/owasp-java-html-sanitizer-NOTICE.txt rename to x-pack/plugin/watcher/licenses/owasp-java-html-sanitizer-NOTICE.txt diff --git a/plugin/watcher/licenses/owasp-java-html-sanitizer-r239.jar.sha1 b/x-pack/plugin/watcher/licenses/owasp-java-html-sanitizer-r239.jar.sha1 similarity index 100% rename from plugin/watcher/licenses/owasp-java-html-sanitizer-r239.jar.sha1 rename to x-pack/plugin/watcher/licenses/owasp-java-html-sanitizer-r239.jar.sha1 diff --git a/plugin/watcher/src/main/bin/croneval b/x-pack/plugin/watcher/src/main/bin/croneval similarity index 100% rename from plugin/watcher/src/main/bin/croneval rename to x-pack/plugin/watcher/src/main/bin/croneval diff --git a/plugin/watcher/src/main/bin/croneval.bat b/x-pack/plugin/watcher/src/main/bin/croneval.bat similarity index 100% rename from plugin/watcher/src/main/bin/croneval.bat rename to x-pack/plugin/watcher/src/main/bin/croneval.bat diff --git a/plugin/watcher/src/main/bin/x-pack-watcher-env b/x-pack/plugin/watcher/src/main/bin/x-pack-watcher-env similarity index 100% rename from plugin/watcher/src/main/bin/x-pack-watcher-env rename to x-pack/plugin/watcher/src/main/bin/x-pack-watcher-env diff --git a/plugin/watcher/src/main/bin/x-pack-watcher-env.bat b/x-pack/plugin/watcher/src/main/bin/x-pack-watcher-env.bat similarity index 100% rename from plugin/watcher/src/main/bin/x-pack-watcher-env.bat rename to x-pack/plugin/watcher/src/main/bin/x-pack-watcher-env.bat diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheck.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheck.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheck.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheck.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/Watcher.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherClientHelper.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherClientHelper.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherClientHelper.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherClientHelper.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherFeatureSet.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherFeatureSet.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherFeatureSet.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherFeatureSet.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherIndexingListener.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherIndexingListener.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherIndexingListener.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherIndexingListener.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/WatcherService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/ActionBuilders.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/ActionBuilders.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/ActionBuilders.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/ActionBuilders.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/ExecutableEmailAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/ExecutableEmailAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/ExecutableEmailAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/ExecutableEmailAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/ExecutableHipChatAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/ExecutableHipChatAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/ExecutableHipChatAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/ExecutableHipChatAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/ExecutableIndexAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/ExecutableIndexAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/ExecutableIndexAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/ExecutableIndexAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/ExecutableLoggingAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/ExecutableLoggingAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/ExecutableLoggingAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/ExecutableLoggingAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingLevel.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingLevel.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingLevel.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingLevel.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/ExecutablePagerDutyAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/ExecutablePagerDutyAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/ExecutablePagerDutyAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/ExecutablePagerDutyAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/ExecutableWebhookAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/ExecutableWebhookAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/ExecutableWebhookAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/ExecutableWebhookAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/client/WatchSourceBuilders.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/client/WatchSourceBuilders.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/client/WatchSourceBuilders.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/client/WatchSourceBuilders.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpClient.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpClient.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpClient.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpClient.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpContentType.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpContentType.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpContentType.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpContentType.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpMethod.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpMethod.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpMethod.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpMethod.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpProxy.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpProxy.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpProxy.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpProxy.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequest.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequest.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequest.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequest.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplate.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplate.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplate.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplate.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpResponse.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpResponse.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpResponse.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpResponse.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpSettings.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpSettings.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpSettings.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/HttpSettings.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/Scheme.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/Scheme.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/Scheme.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/Scheme.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStream.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStream.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStream.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStream.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/ApplicableHttpAuth.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/ApplicableHttpAuth.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/ApplicableHttpAuth.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/ApplicableHttpAuth.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuth.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuth.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuth.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuth.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthRegistry.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthRegistry.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthRegistry.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/HttpAuthRegistry.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/ApplicableBasicAuth.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/ApplicableBasicAuth.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/ApplicableBasicAuth.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/ApplicableBasicAuth.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuth.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuth.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuth.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuth.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuthFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuthFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuthFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/http/auth/basic/BasicAuthFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplate.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplate.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplate.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplate.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateEngine.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateEngine.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateEngine.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateEngine.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/AbstractCompareCondition.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/AbstractCompareCondition.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/AbstractCompareCondition.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/AbstractCompareCondition.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareCondition.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareCondition.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareCondition.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareCondition.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/CompareCondition.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/CompareCondition.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/CompareCondition.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/CompareCondition.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/InternalAlwaysCondition.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/InternalAlwaysCondition.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/InternalAlwaysCondition.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/InternalAlwaysCondition.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/LenientCompare.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/LenientCompare.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/LenientCompare.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/LenientCompare.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/NeverCondition.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/NeverCondition.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/NeverCondition.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/NeverCondition.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ScriptCondition.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ScriptCondition.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ScriptCondition.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/condition/ScriptCondition.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/AsyncTriggerEventConsumer.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/AsyncTriggerEventConsumer.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/AsyncTriggerEventConsumer.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/AsyncTriggerEventConsumer.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/CurrentExecutions.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/CurrentExecutions.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/CurrentExecutions.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/CurrentExecutions.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ExecutionService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ExecutionService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ExecutionService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ExecutionService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/InternalWatchExecutor.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/InternalWatchExecutor.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/InternalWatchExecutor.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/InternalWatchExecutor.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ManualExecutionContext.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ManualExecutionContext.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ManualExecutionContext.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/ManualExecutionContext.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/SyncTriggerEventConsumer.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/SyncTriggerEventConsumer.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/SyncTriggerEventConsumer.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/SyncTriggerEventConsumer.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredExecutionContext.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredExecutionContext.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredExecutionContext.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredExecutionContext.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatch.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatch.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatch.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatch.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStore.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStore.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStore.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStore.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/WatchExecutor.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/WatchExecutor.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/WatchExecutor.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/execution/WatchExecutor.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/history/HistoryStore.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/history/HistoryStore.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/history/HistoryStore.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/history/HistoryStore.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputBuilders.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputBuilders.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputBuilders.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputBuilders.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputRegistry.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputRegistry.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputRegistry.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/InputRegistry.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/ExecutableHttpInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/ExecutableHttpInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/ExecutableHttpInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/ExecutableHttpInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInputFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInputFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInputFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/http/HttpInputFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/ExecutableNoneInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/ExecutableNoneInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/ExecutableNoneInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/ExecutableNoneInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/NoneInputFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/NoneInputFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/NoneInputFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/none/NoneInputFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/ExecutableSearchInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/ExecutableSearchInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/ExecutableSearchInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/ExecutableSearchInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInputFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInputFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInputFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/SearchInputFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/ExecutableSimpleInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/ExecutableSimpleInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/ExecutableSimpleInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/ExecutableSimpleInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/ExecutableTransformInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/ExecutableTransformInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/ExecutableTransformInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/ExecutableTransformInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInput.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInput.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInput.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInput.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/NotificationService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/NotificationService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/NotificationService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/NotificationService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Account.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Account.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Account.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Account.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Attachment.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Attachment.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Attachment.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Attachment.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Authentication.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Authentication.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Authentication.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Authentication.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachment.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachment.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachment.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachment.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Email.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Email.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Email.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Email.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplate.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplate.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplate.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplate.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizer.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizer.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizer.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizer.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Profile.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Profile.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Profile.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/Profile.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachment.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachment.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachment.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachment.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParser.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParser.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParser.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParser.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParser.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParser.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParser.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParser.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachments.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachments.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachments.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachments.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentsParser.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentsParser.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentsParser.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentsParser.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParser.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParser.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParser.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParser.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpRequestAttachment.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpRequestAttachment.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpRequestAttachment.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpRequestAttachment.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachment.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachment.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachment.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachment.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParser.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParser.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParser.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParser.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/support/BodyPartSource.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/support/BodyPartSource.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/support/BodyPartSource.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/support/BodyPartSource.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccount.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccount.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccount.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccount.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessage.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessage.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessage.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessage.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServer.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServer.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServer.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServer.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccount.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccount.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccount.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccount.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/SentMessages.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/SentMessages.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/SentMessages.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/SentMessages.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccount.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccount.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccount.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccount.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1Account.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1Account.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1Account.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1Account.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccount.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccount.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccount.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccount.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssue.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssue.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssue.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssue.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/jira/JiraService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEvent.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEvent.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEvent.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEvent.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventContext.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventContext.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventContext.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventContext.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaults.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaults.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaults.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaults.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccount.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccount.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccount.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccount.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEvent.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEvent.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEvent.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEvent.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SentMessages.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SentMessages.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SentMessages.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SentMessages.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackAccount.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackAccount.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackAccount.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackAccount.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/SlackService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Action.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Action.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Action.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Action.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Attachment.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Attachment.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Attachment.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Attachment.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/DynamicAttachments.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/DynamicAttachments.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/DynamicAttachments.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/DynamicAttachments.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Field.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Field.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Field.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/Field.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/MessageElement.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/MessageElement.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/MessageElement.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/MessageElement.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessage.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessage.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessage.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessage.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaults.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaults.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaults.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaults.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/WatcherRestHandler.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/WatcherRestHandler.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/WatcherRestHandler.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/WatcherRestHandler.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestActivateWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestActivateWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestActivateWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestActivateWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestDeleteWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestDeleteWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestDeleteWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestDeleteWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestGetWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestGetWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestGetWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestGetWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestPutWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestPutWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestPutWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestPutWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatchServiceAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatchServiceAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatchServiceAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatchServiceAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatcherStatsAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatcherStatsAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatcherStatsAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestWatcherStatsAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/ArrayObjectIterator.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/ArrayObjectIterator.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/ArrayObjectIterator.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/ArrayObjectIterator.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Strings.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Strings.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Strings.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Strings.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Variables.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Variables.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Variables.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/Variables.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistry.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistry.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistry.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistry.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/XContentFilterKeysUtils.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/XContentFilterKeysUtils.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/XContentFilterKeysUtils.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/XContentFilterKeysUtils.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequest.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequest.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequest.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequest.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/TransformBuilders.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/TransformBuilders.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/TransformBuilders.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/TransformBuilders.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ExecutableScriptTransform.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ExecutableScriptTransform.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ExecutableScriptTransform.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ExecutableScriptTransform.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransform.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransform.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransform.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransform.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/ExecutableSearchTransform.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/ExecutableSearchTransform.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/ExecutableSearchTransform.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/ExecutableSearchTransform.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransform.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransform.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransform.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransform.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransformFactory.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransformFactory.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransformFactory.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transform/search/SearchTransformFactory.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/WatcherTransportAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/WatcherTransportAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/WatcherTransportAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/WatcherTransportAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/activate/TransportActivateWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/activate/TransportActivateWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/activate/TransportActivateWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/activate/TransportActivateWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/delete/TransportDeleteWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/delete/TransportDeleteWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/delete/TransportDeleteWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/delete/TransportDeleteWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/execute/TransportExecuteWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/execute/TransportExecuteWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/execute/TransportExecuteWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/execute/TransportExecuteWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/get/TransportGetWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/get/TransportGetWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/get/TransportGetWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/get/TransportGetWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/service/TransportWatcherServiceAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/service/TransportWatcherServiceAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/service/TransportWatcherServiceAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/service/TransportWatcherServiceAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsAction.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsAction.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsAction.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsAction.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerBuilders.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerBuilders.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerBuilders.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerBuilders.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerEngine.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerEngine.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerEngine.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerEngine.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerService.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerService.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerService.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerService.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerWatchStats.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerWatchStats.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerWatchStats.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/TriggerWatchStats.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTrigger.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTrigger.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTrigger.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTrigger.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEngine.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEngine.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEngine.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEngine.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEvent.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEvent.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEvent.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/manual/ManualTriggerEvent.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronSchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronSchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronSchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronSchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronnableSchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronnableSchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronnableSchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronnableSchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailySchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailySchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailySchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailySchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlySchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlySchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlySchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlySchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalSchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalSchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalSchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalSchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlySchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlySchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlySchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlySchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistry.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistry.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistry.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistry.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTrigger.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTrigger.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTrigger.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTrigger.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEngine.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEngine.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEngine.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEngine.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEvent.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEvent.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEvent.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEvent.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedules.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedules.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedules.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/Schedules.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklySchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklySchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklySchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklySchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlySchedule.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlySchedule.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlySchedule.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlySchedule.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleTriggerEngine.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleTriggerEngine.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleTriggerEngine.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleTriggerEngine.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayOfWeek.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayOfWeek.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayOfWeek.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayOfWeek.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayTimes.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayTimes.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayTimes.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/DayTimes.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Month.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Month.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Month.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Month.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/MonthTimes.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/MonthTimes.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/MonthTimes.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/MonthTimes.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Times.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Times.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Times.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/Times.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/WeekTimes.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/WeekTimes.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/WeekTimes.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/WeekTimes.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/YearTimes.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/YearTimes.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/YearTimes.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/support/YearTimes.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalTool.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalTool.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalTool.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalTool.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchParser.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchParser.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchParser.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchParser.java diff --git a/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchStoreUtils.java b/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchStoreUtils.java similarity index 100% rename from plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchStoreUtils.java rename to x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/watch/WatchStoreUtils.java diff --git a/plugin/watcher/src/main/plugin-metadata/plugin-security.policy b/x-pack/plugin/watcher/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from plugin/watcher/src/main/plugin-metadata/plugin-security.policy rename to x-pack/plugin/watcher/src/main/plugin-metadata/plugin-security.policy diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/notification/NotificationServiceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/notification/NotificationServiceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/notification/NotificationServiceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/notification/NotificationServiceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheckTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheckTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheckTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/EncryptSensitiveDataBootstrapCheckTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherClientHelperTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherClientHelperTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherClientHelperTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherClientHelperTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherFeatureSetTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherFeatureSetTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherFeatureSetTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherFeatureSetTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherIndexingListenerTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleServiceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleServiceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleServiceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherLifeCycleServiceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherMetaDataSerializationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherMetaDataSerializationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherMetaDataSerializationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherMetaDataSerializationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherPluginTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherPluginTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherPluginTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherPluginTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherServiceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherServiceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherServiceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherServiceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherXpackUsageStatsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherXpackUsageStatsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherXpackUsageStatsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherXpackUsageStatsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionErrorIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionErrorIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionErrorIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionErrorIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionWrapperTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionWrapperTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionWrapperTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/ActionWrapperTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/TimeThrottleIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/TimeThrottleIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/TimeThrottleIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/TimeThrottleIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailAttachmentTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailAttachmentTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailAttachmentTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/email/EmailAttachmentTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactoryTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactoryTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactoryTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionFactoryTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/hipchat/HipChatActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/index/IndexActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/ExecutableJiraActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactoryTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactoryTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactoryTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionFactoryTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/jira/JiraActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/logging/LoggingActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactoryTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactoryTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactoryTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionFactoryTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/pagerduty/PagerDutyActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/ExecutableSlackActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactoryTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactoryTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactoryTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionFactoryTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/slack/SlackActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/AckThrottlerTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/AckThrottlerTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/AckThrottlerTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/AckThrottlerTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/ActionThrottleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/ActionThrottleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/ActionThrottleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/ActionThrottleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/PeriodThrottlerTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/PeriodThrottlerTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/PeriodThrottlerTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/throttler/PeriodThrottlerTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookHttpsIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookHttpsIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookHttpsIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookHttpsIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/actions/webhook/WebhookIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpClientTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpConnectionTimeoutTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpConnectionTimeoutTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpConnectionTimeoutTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpConnectionTimeoutTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpProxyTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpProxyTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpProxyTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpProxyTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpReadTimeoutTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpReadTimeoutTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpReadTimeoutTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpReadTimeoutTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplateTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplateTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplateTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTemplateTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpRequestTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpResponseTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpResponseTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpResponseTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/HttpResponseTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStreamTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStreamTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStreamTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/http/SizeLimitInputStreamTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/common/text/TextTemplateTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/AlwaysConditionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/AlwaysConditionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/AlwaysConditionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/AlwaysConditionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionSearchTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionSearchTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionSearchTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionSearchTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ArrayCompareConditionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionSearchTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionSearchTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionSearchTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionSearchTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/CompareConditionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/NeverConditionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/NeverConditionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/NeverConditionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/NeverConditionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ScriptConditionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ScriptConditionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ScriptConditionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/ScriptConditionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/ExecutionServiceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/ExecutionServiceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/ExecutionServiceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/ExecutionServiceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStoreTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStoreTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStoreTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/execution/TriggeredWatchStoreTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryActionConditionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryActionConditionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryActionConditionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryActionConditionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryStoreTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateEmailMappingsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateEmailMappingsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateEmailMappingsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateEmailMappingsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateHttpMappingsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateSearchInputMappingsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateSearchInputMappingsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateSearchInputMappingsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateSearchInputMappingsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTimeMappingsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTimeMappingsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTimeMappingsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTimeMappingsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTransformMappingsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTransformMappingsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTransformMappingsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateTransformMappingsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/InputRegistryTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/InputRegistryTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/InputRegistryTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/InputRegistryTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainInputTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ChainIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInputTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInputTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInputTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/chain/ExecutableChainInputTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/http/HttpInputTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/http/HttpInputTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/http/HttpInputTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/http/HttpInputTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/simple/SimpleInputTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/input/transform/TransformInputTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/AccountsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachmentTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachmentTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachmentTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/DataAttachmentTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailSecretsIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailSecretsIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailSecretsIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailSecretsIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailServiceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailServiceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailServiceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailServiceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplateTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplateTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplateTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTemplateTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/EmailTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizerTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizerTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizerTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/HtmlSanitizerTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/ProfileTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/ProfileTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/ProfileTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/ProfileTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParserTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParserTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParserTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/DataAttachmentParserTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParsersTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParsersTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParsersTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/EmailAttachmentParsersTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParserTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParserTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParserTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/HttpEmailAttachementParserTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParserTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParserTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParserTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/attachment/ReportingAttachmentParserTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/support/EmailServer.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/support/EmailServer.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/support/EmailServer.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/email/support/EmailServer.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccountsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccountsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccountsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatAccountsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessageTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessageTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessageTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatMessageTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServiceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServiceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServiceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/HipChatServiceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccountTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccountTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccountTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/IntegrationAccountTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccountTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccountTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccountTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/UserAccountTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1AccountTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1AccountTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1AccountTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/hipchat/V1AccountTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccountTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccountTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccountTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraAccountTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssueTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssueTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssueTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/jira/JiraIssueTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaultsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaultsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaultsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaultsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccountsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccountsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccountsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/PagerDutyAccountsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEventTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEventTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEventTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/SentEventTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaultsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaultsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaultsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageDefaultsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/slack/message/SlackMessageTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/rest/action/RestExecuteWatchActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/FilterXContentTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/FilterXContentTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/FilterXContentTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/FilterXContentTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/VariablesTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/VariablesTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/VariablesTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/VariablesTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherDateTimeUtilsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherDateTimeUtilsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherDateTimeUtilsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherDateTimeUtilsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistryTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistryTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistryTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherIndexTemplateRegistryTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherUtilsTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherUtilsTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherUtilsTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/WatcherUtilsTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequestTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequestTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequestTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/search/WatcherSearchTemplateRequestTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/MapPathTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/MapPathTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/MapPathTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/MapPathTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/XContentSourceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/XContentSourceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/XContentSourceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/support/xcontent/XContentSourceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/LocalStateWatcher.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/LocalStateWatcher.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/LocalStateWatcher.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/LocalStateWatcher.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/MockTextTemplateEngine.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/MockTextTemplateEngine.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/MockTextTemplateEngine.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/MockTextTemplateEngine.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/TimeWarpedWatcher.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/TimeWarpedWatcher.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/TimeWarpedWatcher.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/TimeWarpedWatcher.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatchExecutionContextMockBuilder.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatchExecutionContextMockBuilder.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatchExecutionContextMockBuilder.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatchExecutionContextMockBuilder.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatcherTestUtils.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatcherTestUtils.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatcherTestUtils.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/WatcherTestUtils.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/ScheduleEngineTriggerBenchmark.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/ScheduleEngineTriggerBenchmark.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/ScheduleEngineTriggerBenchmark.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/ScheduleEngineTriggerBenchmark.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherExecutorServiceBenchmark.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherExecutorServiceBenchmark.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherExecutorServiceBenchmark.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherExecutorServiceBenchmark.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherScheduleEngineBenchmark.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherScheduleEngineBenchmark.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherScheduleEngineBenchmark.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/bench/WatcherScheduleEngineBenchmark.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BasicWatcherTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BootStrapTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BootStrapTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BootStrapTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/BootStrapTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/ExecutionVarsIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/ExecutionVarsIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/ExecutionVarsIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/ExecutionVarsIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HistoryIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HttpSecretsIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HttpSecretsIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HttpSecretsIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/HttpSecretsIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchInputTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchInputTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchInputTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchInputTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchTransformTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchTransformTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchTransformTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/SearchTransformTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchAckTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchAckTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchAckTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchAckTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchMetadataTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchMetadataTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchMetadataTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/integration/WatchMetadataTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/TransformIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/TransformIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/TransformIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/TransformIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/chain/ChainTransformTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/chain/ChainTransformTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/chain/ChainTransformTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/chain/ChainTransformTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transform/script/ScriptTransformTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/WatchRequestValidationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/WatchRequestValidationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/WatchRequestValidationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/WatchRequestValidationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/activate/ActivateWatchTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/activate/ActivateWatchTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/activate/ActivateWatchTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/activate/ActivateWatchTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/delete/DeleteWatchTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/delete/DeleteWatchTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/delete/DeleteWatchTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/delete/DeleteWatchTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchRequestTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchRequestTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchRequestTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchRequestTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/execute/ExecuteWatchTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/get/GetWatchTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/get/GetWatchTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/get/GetWatchTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/get/GetWatchTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/put/PutWatchSerializationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/put/PutWatchSerializationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/put/PutWatchSerializationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/action/put/PutWatchSerializationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/ack/TransportAckWatchActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/put/TransportPutWatchActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsActionTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsActionTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsActionTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/transport/actions/stats/TransportWatcherStatsActionTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/ScheduleTriggerEngineMock.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/ScheduleTriggerEngineMock.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/ScheduleTriggerEngineMock.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/ScheduleTriggerEngineMock.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/TriggerServiceTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/TriggerServiceTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/TriggerServiceTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/TriggerServiceTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronScheduleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronScheduleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronScheduleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/CronScheduleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailyScheduleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailyScheduleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailyScheduleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/DailyScheduleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlyScheduleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlyScheduleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlyScheduleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/HourlyScheduleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalScheduleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalScheduleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalScheduleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/IntervalScheduleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlyScheduleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlyScheduleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlyScheduleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/MonthlyScheduleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistryTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistryTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistryTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleRegistryTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTestCase.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTestCase.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTestCase.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTestCase.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEventTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEventTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEventTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/ScheduleTriggerEventTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklyScheduleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklyScheduleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklyScheduleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/WeeklyScheduleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlyScheduleTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlyScheduleTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlyScheduleTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/YearlyScheduleTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleEngineTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleEngineTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleEngineTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/engine/TickerScheduleEngineTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalToolTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalToolTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalToolTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/trigger/schedule/tool/CronEvalToolTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusIntegrationTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusIntegrationTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusIntegrationTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusIntegrationTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchStatusTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/WatchTests.java diff --git a/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/clock/ClockTests.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/clock/ClockTests.java similarity index 100% rename from plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/clock/ClockTests.java rename to x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/watch/clock/ClockTests.java diff --git a/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks b/x-pack/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks similarity index 100% rename from plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks rename to x-pack/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/testnode.jks diff --git a/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks b/x-pack/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks similarity index 100% rename from plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks rename to x-pack/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/keystore/truststore-testnode-only.jks diff --git a/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks b/x-pack/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks similarity index 100% rename from plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks rename to x-pack/plugin/watcher/src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode-no-subjaltname.jks diff --git a/qa/audit-tests/build.gradle b/x-pack/qa/audit-tests/build.gradle similarity index 100% rename from qa/audit-tests/build.gradle rename to x-pack/qa/audit-tests/build.gradle diff --git a/qa/audit-tests/src/test/java/org/elasticsearch/xpack/security/audit/IndexAuditIT.java b/x-pack/qa/audit-tests/src/test/java/org/elasticsearch/xpack/security/audit/IndexAuditIT.java similarity index 100% rename from qa/audit-tests/src/test/java/org/elasticsearch/xpack/security/audit/IndexAuditIT.java rename to x-pack/qa/audit-tests/src/test/java/org/elasticsearch/xpack/security/audit/IndexAuditIT.java diff --git a/qa/build.gradle b/x-pack/qa/build.gradle similarity index 100% rename from qa/build.gradle rename to x-pack/qa/build.gradle diff --git a/qa/core-rest-tests-with-security/build.gradle b/x-pack/qa/core-rest-tests-with-security/build.gradle similarity index 100% rename from qa/core-rest-tests-with-security/build.gradle rename to x-pack/qa/core-rest-tests-with-security/build.gradle diff --git a/qa/core-rest-tests-with-security/src/test/java/org/elasticsearch/xpack/security/CoreWithSecurityClientYamlTestSuiteIT.java b/x-pack/qa/core-rest-tests-with-security/src/test/java/org/elasticsearch/xpack/security/CoreWithSecurityClientYamlTestSuiteIT.java similarity index 100% rename from qa/core-rest-tests-with-security/src/test/java/org/elasticsearch/xpack/security/CoreWithSecurityClientYamlTestSuiteIT.java rename to x-pack/qa/core-rest-tests-with-security/src/test/java/org/elasticsearch/xpack/security/CoreWithSecurityClientYamlTestSuiteIT.java diff --git a/qa/core-rest-tests-with-security/src/test/resources/rest-api-spec/test/rankeval/10_rankeval.yml b/x-pack/qa/core-rest-tests-with-security/src/test/resources/rest-api-spec/test/rankeval/10_rankeval.yml similarity index 100% rename from qa/core-rest-tests-with-security/src/test/resources/rest-api-spec/test/rankeval/10_rankeval.yml rename to x-pack/qa/core-rest-tests-with-security/src/test/resources/rest-api-spec/test/rankeval/10_rankeval.yml diff --git a/qa/full-cluster-restart/build.gradle b/x-pack/qa/full-cluster-restart/build.gradle similarity index 100% rename from qa/full-cluster-restart/build.gradle rename to x-pack/qa/full-cluster-restart/build.gradle diff --git a/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/CoreFullClusterRestartIT.java b/x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/CoreFullClusterRestartIT.java similarity index 100% rename from qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/CoreFullClusterRestartIT.java rename to x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/CoreFullClusterRestartIT.java diff --git a/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java b/x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java similarity index 100% rename from qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java rename to x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java diff --git a/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json b/x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json similarity index 100% rename from qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json rename to x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json diff --git a/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/simple-watch.json b/x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/simple-watch.json similarity index 100% rename from qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/simple-watch.json rename to x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/simple-watch.json diff --git a/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/throttle-period-watch.json b/x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/throttle-period-watch.json similarity index 100% rename from qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/throttle-period-watch.json rename to x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/throttle-period-watch.json diff --git a/qa/full-cluster-restart/src/test/resources/system_key b/x-pack/qa/full-cluster-restart/src/test/resources/system_key similarity index 100% rename from qa/full-cluster-restart/src/test/resources/system_key rename to x-pack/qa/full-cluster-restart/src/test/resources/system_key diff --git a/qa/full-cluster-restart/with-system-key/build.gradle b/x-pack/qa/full-cluster-restart/with-system-key/build.gradle similarity index 100% rename from qa/full-cluster-restart/with-system-key/build.gradle rename to x-pack/qa/full-cluster-restart/with-system-key/build.gradle diff --git a/qa/full-cluster-restart/without-system-key/build.gradle b/x-pack/qa/full-cluster-restart/without-system-key/build.gradle similarity index 100% rename from qa/full-cluster-restart/without-system-key/build.gradle rename to x-pack/qa/full-cluster-restart/without-system-key/build.gradle diff --git a/qa/ml-basic-multi-node/build.gradle b/x-pack/qa/ml-basic-multi-node/build.gradle similarity index 100% rename from qa/ml-basic-multi-node/build.gradle rename to x-pack/qa/ml-basic-multi-node/build.gradle diff --git a/qa/ml-basic-multi-node/src/test/java/org/elasticsearch/xpack/ml/integration/MlBasicMultiNodeIT.java b/x-pack/qa/ml-basic-multi-node/src/test/java/org/elasticsearch/xpack/ml/integration/MlBasicMultiNodeIT.java similarity index 100% rename from qa/ml-basic-multi-node/src/test/java/org/elasticsearch/xpack/ml/integration/MlBasicMultiNodeIT.java rename to x-pack/qa/ml-basic-multi-node/src/test/java/org/elasticsearch/xpack/ml/integration/MlBasicMultiNodeIT.java diff --git a/qa/ml-disabled/build.gradle b/x-pack/qa/ml-disabled/build.gradle similarity index 100% rename from qa/ml-disabled/build.gradle rename to x-pack/qa/ml-disabled/build.gradle diff --git a/qa/ml-disabled/src/test/java/org/elasticsearch/xpack/ml/integration/MlPluginDisabledIT.java b/x-pack/qa/ml-disabled/src/test/java/org/elasticsearch/xpack/ml/integration/MlPluginDisabledIT.java similarity index 100% rename from qa/ml-disabled/src/test/java/org/elasticsearch/xpack/ml/integration/MlPluginDisabledIT.java rename to x-pack/qa/ml-disabled/src/test/java/org/elasticsearch/xpack/ml/integration/MlPluginDisabledIT.java diff --git a/qa/ml-native-tests/build.gradle b/x-pack/qa/ml-native-tests/build.gradle similarity index 100% rename from qa/ml-native-tests/build.gradle rename to x-pack/qa/ml-native-tests/build.gradle diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectMemoryLimitIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectMemoryLimitIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectMemoryLimitIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectMemoryLimitIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/BasicRenormalizationIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/BasicRenormalizationIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/BasicRenormalizationIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/BasicRenormalizationIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/CategorizationIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/CategorizationIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/CategorizationIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/CategorizationIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsRestIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsRestIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsRestIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsRestIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteExpiredDataIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteExpiredDataIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteExpiredDataIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteExpiredDataIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DetectionRulesIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DetectionRulesIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DetectionRulesIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DetectionRulesIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ForecastIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ForecastIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ForecastIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ForecastIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/InterimResultsDeletedAfterReopeningJobIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/InterimResultsDeletedAfterReopeningJobIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/InterimResultsDeletedAfterReopeningJobIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/InterimResultsDeletedAfterReopeningJobIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlNativeAutodetectIntegTestCase.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlNativeAutodetectIntegTestCase.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlNativeAutodetectIntegTestCase.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/MlNativeAutodetectIntegTestCase.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/OverallBucketsIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/OverallBucketsIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/OverallBucketsIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/OverallBucketsIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/PersistJobIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/PersistJobIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/PersistJobIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/PersistJobIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RestoreModelSnapshotIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RestoreModelSnapshotIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RestoreModelSnapshotIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RestoreModelSnapshotIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RevertModelSnapshotIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RevertModelSnapshotIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RevertModelSnapshotIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/RevertModelSnapshotIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ScheduledEventsIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ScheduledEventsIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ScheduledEventsIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ScheduledEventsIT.java diff --git a/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java similarity index 100% rename from qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java rename to x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java diff --git a/qa/ml-no-bootstrap-tests/build.gradle b/x-pack/qa/ml-no-bootstrap-tests/build.gradle similarity index 100% rename from qa/ml-no-bootstrap-tests/build.gradle rename to x-pack/qa/ml-no-bootstrap-tests/build.gradle diff --git a/qa/ml-no-bootstrap-tests/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperNoBootstrapTests.java b/x-pack/qa/ml-no-bootstrap-tests/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperNoBootstrapTests.java similarity index 100% rename from qa/ml-no-bootstrap-tests/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperNoBootstrapTests.java rename to x-pack/qa/ml-no-bootstrap-tests/src/test/java/org/elasticsearch/xpack/ml/utils/NamedPipeHelperNoBootstrapTests.java diff --git a/qa/ml-single-node-tests/build.gradle b/x-pack/qa/ml-single-node-tests/build.gradle similarity index 100% rename from qa/ml-single-node-tests/build.gradle rename to x-pack/qa/ml-single-node-tests/build.gradle diff --git a/qa/ml-single-node-tests/src/test/java/org/elasticsearch/xpack/ml/transforms/PainlessDomainSplitIT.java b/x-pack/qa/ml-single-node-tests/src/test/java/org/elasticsearch/xpack/ml/transforms/PainlessDomainSplitIT.java similarity index 100% rename from qa/ml-single-node-tests/src/test/java/org/elasticsearch/xpack/ml/transforms/PainlessDomainSplitIT.java rename to x-pack/qa/ml-single-node-tests/src/test/java/org/elasticsearch/xpack/ml/transforms/PainlessDomainSplitIT.java diff --git a/qa/multi-cluster-search-security/build.gradle b/x-pack/qa/multi-cluster-search-security/build.gradle similarity index 100% rename from qa/multi-cluster-search-security/build.gradle rename to x-pack/qa/multi-cluster-search-security/build.gradle diff --git a/qa/multi-cluster-search-security/src/test/java/org/elasticsearch/xpack/security/MultiClusterSearchWithSecurityYamlTestSuiteIT.java b/x-pack/qa/multi-cluster-search-security/src/test/java/org/elasticsearch/xpack/security/MultiClusterSearchWithSecurityYamlTestSuiteIT.java similarity index 100% rename from qa/multi-cluster-search-security/src/test/java/org/elasticsearch/xpack/security/MultiClusterSearchWithSecurityYamlTestSuiteIT.java rename to x-pack/qa/multi-cluster-search-security/src/test/java/org/elasticsearch/xpack/security/MultiClusterSearchWithSecurityYamlTestSuiteIT.java diff --git a/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/10_basic.yml b/x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/10_basic.yml similarity index 100% rename from qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/10_basic.yml rename to x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/10_basic.yml diff --git a/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/20_info.yml b/x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/20_info.yml similarity index 100% rename from qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/20_info.yml rename to x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/20_info.yml diff --git a/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml b/x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml similarity index 100% rename from qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml rename to x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml diff --git a/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/40_scroll.yml b/x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/40_scroll.yml similarity index 100% rename from qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/40_scroll.yml rename to x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/40_scroll.yml diff --git a/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/50_missing.yml b/x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/50_missing.yml similarity index 100% rename from qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/50_missing.yml rename to x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/50_missing.yml diff --git a/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/60_skip_shards.yml b/x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/60_skip_shards.yml similarity index 100% rename from qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/60_skip_shards.yml rename to x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/multi_cluster/60_skip_shards.yml diff --git a/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/remote_cluster/10_basic.yml b/x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/remote_cluster/10_basic.yml similarity index 100% rename from qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/remote_cluster/10_basic.yml rename to x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/remote_cluster/10_basic.yml diff --git a/qa/multi-node/build.gradle b/x-pack/qa/multi-node/build.gradle similarity index 100% rename from qa/multi-node/build.gradle rename to x-pack/qa/multi-node/build.gradle diff --git a/qa/multi-node/roles.yml b/x-pack/qa/multi-node/roles.yml similarity index 100% rename from qa/multi-node/roles.yml rename to x-pack/qa/multi-node/roles.yml diff --git a/qa/multi-node/src/test/java/org/elasticsearch/multi_node/GlobalCheckpointSyncActionIT.java b/x-pack/qa/multi-node/src/test/java/org/elasticsearch/multi_node/GlobalCheckpointSyncActionIT.java similarity index 100% rename from qa/multi-node/src/test/java/org/elasticsearch/multi_node/GlobalCheckpointSyncActionIT.java rename to x-pack/qa/multi-node/src/test/java/org/elasticsearch/multi_node/GlobalCheckpointSyncActionIT.java diff --git a/qa/openldap-tests/build.gradle b/x-pack/qa/openldap-tests/build.gradle similarity index 100% rename from qa/openldap-tests/build.gradle rename to x-pack/qa/openldap-tests/build.gradle diff --git a/qa/openldap-tests/src/test/java/org/elasticsearch/test/OpenLdapTests.java b/x-pack/qa/openldap-tests/src/test/java/org/elasticsearch/test/OpenLdapTests.java similarity index 100% rename from qa/openldap-tests/src/test/java/org/elasticsearch/test/OpenLdapTests.java rename to x-pack/qa/openldap-tests/src/test/java/org/elasticsearch/test/OpenLdapTests.java diff --git a/qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/OpenLdapUserSearchSessionFactoryTests.java b/x-pack/qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/OpenLdapUserSearchSessionFactoryTests.java similarity index 100% rename from qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/OpenLdapUserSearchSessionFactoryTests.java rename to x-pack/qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/OpenLdapUserSearchSessionFactoryTests.java diff --git a/qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverTests.java b/x-pack/qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverTests.java similarity index 100% rename from qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverTests.java rename to x-pack/qa/openldap-tests/src/test/java/org/elasticsearch/xpack/security/authc/ldap/SearchGroupsResolverTests.java diff --git a/qa/reindex-tests-with-security/build.gradle b/x-pack/qa/reindex-tests-with-security/build.gradle similarity index 100% rename from qa/reindex-tests-with-security/build.gradle rename to x-pack/qa/reindex-tests-with-security/build.gradle diff --git a/qa/reindex-tests-with-security/roles.yml b/x-pack/qa/reindex-tests-with-security/roles.yml similarity index 100% rename from qa/reindex-tests-with-security/roles.yml rename to x-pack/qa/reindex-tests-with-security/roles.yml diff --git a/qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityClientYamlTestSuiteIT.java b/x-pack/qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityClientYamlTestSuiteIT.java similarity index 100% rename from qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityClientYamlTestSuiteIT.java rename to x-pack/qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityClientYamlTestSuiteIT.java diff --git a/qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityIT.java b/x-pack/qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityIT.java similarity index 100% rename from qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityIT.java rename to x-pack/qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security/ReindexWithSecurityIT.java diff --git a/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/10_reindex.yml b/x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/10_reindex.yml similarity index 100% rename from qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/10_reindex.yml rename to x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/10_reindex.yml diff --git a/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/15_reindex_from_remote.yml b/x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/15_reindex_from_remote.yml similarity index 100% rename from qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/15_reindex_from_remote.yml rename to x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/15_reindex_from_remote.yml diff --git a/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/20_update_by_query.yml b/x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/20_update_by_query.yml similarity index 100% rename from qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/20_update_by_query.yml rename to x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/20_update_by_query.yml diff --git a/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/30_delete_by_query.yml b/x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/30_delete_by_query.yml similarity index 100% rename from qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/30_delete_by_query.yml rename to x-pack/qa/reindex-tests-with-security/src/test/resources/rest-api-spec/test/30_delete_by_query.yml diff --git a/qa/rolling-upgrade-basic/build.gradle b/x-pack/qa/rolling-upgrade-basic/build.gradle similarity index 100% rename from qa/rolling-upgrade-basic/build.gradle rename to x-pack/qa/rolling-upgrade-basic/build.gradle diff --git a/qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java b/x-pack/qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java similarity index 100% rename from qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java rename to x-pack/qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java diff --git a/qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/BasicLicenseUpgradeIT.java b/x-pack/qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/BasicLicenseUpgradeIT.java similarity index 100% rename from qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/BasicLicenseUpgradeIT.java rename to x-pack/qa/rolling-upgrade-basic/src/test/java/org/elasticsearch/upgrades/BasicLicenseUpgradeIT.java diff --git a/qa/rolling-upgrade/build.gradle b/x-pack/qa/rolling-upgrade/build.gradle similarity index 100% rename from qa/rolling-upgrade/build.gradle rename to x-pack/qa/rolling-upgrade/build.gradle diff --git a/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java b/x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java similarity index 100% rename from qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java rename to x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractUpgradeTestCase.java diff --git a/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/IndexAuditUpgradeIT.java b/x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/IndexAuditUpgradeIT.java similarity index 100% rename from qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/IndexAuditUpgradeIT.java rename to x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/IndexAuditUpgradeIT.java diff --git a/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/TokenBackwardsCompatibilityIT.java b/x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/TokenBackwardsCompatibilityIT.java similarity index 100% rename from qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/TokenBackwardsCompatibilityIT.java rename to x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/TokenBackwardsCompatibilityIT.java diff --git a/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/UpgradeClusterClientYamlTestSuiteIT.java b/x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/UpgradeClusterClientYamlTestSuiteIT.java similarity index 100% rename from qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/UpgradeClusterClientYamlTestSuiteIT.java rename to x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/UpgradeClusterClientYamlTestSuiteIT.java diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/10_basic.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/10_basic.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/10_basic.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/10_basic.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/20_security.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/20_security.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/20_security.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/20_security.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/30_ml_jobs_crud.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/30_ml_jobs_crud.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/30_ml_jobs_crud.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/30_ml_jobs_crud.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/40_ml_datafeed_crud.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/40_ml_datafeed_crud.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/40_ml_datafeed_crud.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/40_ml_datafeed_crud.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/50_token_auth.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/50_token_auth.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/50_token_auth.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/50_token_auth.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/60_monitoring.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/60_monitoring.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/60_monitoring.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/60_monitoring.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/10_basic.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/10_basic.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/10_basic.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/10_basic.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/20_security.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/20_security.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/20_security.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/20_security.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/30_ml_jobs_crud.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/30_ml_jobs_crud.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/30_ml_jobs_crud.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/30_ml_jobs_crud.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/40_ml_datafeed_crud.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/40_ml_datafeed_crud.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/40_ml_datafeed_crud.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/40_ml_datafeed_crud.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/50_token_auth.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/50_token_auth.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/50_token_auth.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/50_token_auth.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/60_monitoring.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/60_monitoring.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/60_monitoring.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/60_monitoring.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/10_basic.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/10_basic.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/10_basic.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/10_basic.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/20_security.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/20_security.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/20_security.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/20_security.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/30_ml_jobs_crud.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/30_ml_jobs_crud.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/30_ml_jobs_crud.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/30_ml_jobs_crud.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/40_ml_datafeed_crud.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/40_ml_datafeed_crud.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/40_ml_datafeed_crud.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/40_ml_datafeed_crud.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/50_token_auth.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/50_token_auth.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/50_token_auth.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/50_token_auth.yml diff --git a/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/60_monitoring.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/60_monitoring.yml similarity index 100% rename from qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/60_monitoring.yml rename to x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/60_monitoring.yml diff --git a/qa/rolling-upgrade/src/test/resources/system_key b/x-pack/qa/rolling-upgrade/src/test/resources/system_key similarity index 100% rename from qa/rolling-upgrade/src/test/resources/system_key rename to x-pack/qa/rolling-upgrade/src/test/resources/system_key diff --git a/qa/rolling-upgrade/with-system-key/build.gradle b/x-pack/qa/rolling-upgrade/with-system-key/build.gradle similarity index 100% rename from qa/rolling-upgrade/with-system-key/build.gradle rename to x-pack/qa/rolling-upgrade/with-system-key/build.gradle diff --git a/qa/rolling-upgrade/without-system-key/build.gradle b/x-pack/qa/rolling-upgrade/without-system-key/build.gradle similarity index 100% rename from qa/rolling-upgrade/without-system-key/build.gradle rename to x-pack/qa/rolling-upgrade/without-system-key/build.gradle diff --git a/qa/saml-idp-tests/build.gradle b/x-pack/qa/saml-idp-tests/build.gradle similarity index 100% rename from qa/saml-idp-tests/build.gradle rename to x-pack/qa/saml-idp-tests/build.gradle diff --git a/qa/saml-idp-tests/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticationIT.java b/x-pack/qa/saml-idp-tests/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticationIT.java similarity index 100% rename from qa/saml-idp-tests/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticationIT.java rename to x-pack/qa/saml-idp-tests/src/test/java/org/elasticsearch/xpack/security/authc/saml/SamlAuthenticationIT.java diff --git a/qa/security-client-tests/build.gradle b/x-pack/qa/security-client-tests/build.gradle similarity index 100% rename from qa/security-client-tests/build.gradle rename to x-pack/qa/security-client-tests/build.gradle diff --git a/qa/security-client-tests/src/test/java/org/elasticsearch/xpack/security/qa/SecurityTransportClientIT.java b/x-pack/qa/security-client-tests/src/test/java/org/elasticsearch/xpack/security/qa/SecurityTransportClientIT.java similarity index 100% rename from qa/security-client-tests/src/test/java/org/elasticsearch/xpack/security/qa/SecurityTransportClientIT.java rename to x-pack/qa/security-client-tests/src/test/java/org/elasticsearch/xpack/security/qa/SecurityTransportClientIT.java diff --git a/qa/security-example-spi-extension/build.gradle b/x-pack/qa/security-example-spi-extension/build.gradle similarity index 100% rename from qa/security-example-spi-extension/build.gradle rename to x-pack/qa/security-example-spi-extension/build.gradle diff --git a/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/ExampleSecurityExtension.java b/x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/ExampleSecurityExtension.java similarity index 100% rename from qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/ExampleSecurityExtension.java rename to x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/ExampleSecurityExtension.java diff --git a/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/SpiExtensionPlugin.java b/x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/SpiExtensionPlugin.java similarity index 100% rename from qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/SpiExtensionPlugin.java rename to x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/SpiExtensionPlugin.java diff --git a/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomAuthenticationFailureHandler.java b/x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomAuthenticationFailureHandler.java similarity index 100% rename from qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomAuthenticationFailureHandler.java rename to x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomAuthenticationFailureHandler.java diff --git a/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomRealm.java b/x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomRealm.java similarity index 100% rename from qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomRealm.java rename to x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/realm/CustomRealm.java diff --git a/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/role/CustomInMemoryRolesProvider.java b/x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/role/CustomInMemoryRolesProvider.java similarity index 100% rename from qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/role/CustomInMemoryRolesProvider.java rename to x-pack/qa/security-example-spi-extension/src/main/java/org/elasticsearch/example/role/CustomInMemoryRolesProvider.java diff --git a/qa/security-example-spi-extension/src/main/plugin-metadata/plugin-security.policy b/x-pack/qa/security-example-spi-extension/src/main/plugin-metadata/plugin-security.policy similarity index 100% rename from qa/security-example-spi-extension/src/main/plugin-metadata/plugin-security.policy rename to x-pack/qa/security-example-spi-extension/src/main/plugin-metadata/plugin-security.policy diff --git a/qa/security-example-spi-extension/src/main/resources/META-INF/services/org.elasticsearch.xpack.core.security.SecurityExtension b/x-pack/qa/security-example-spi-extension/src/main/resources/META-INF/services/org.elasticsearch.xpack.core.security.SecurityExtension similarity index 100% rename from qa/security-example-spi-extension/src/main/resources/META-INF/services/org.elasticsearch.xpack.core.security.SecurityExtension rename to x-pack/qa/security-example-spi-extension/src/main/resources/META-INF/services/org.elasticsearch.xpack.core.security.SecurityExtension diff --git a/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java b/x-pack/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java similarity index 100% rename from qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java rename to x-pack/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java diff --git a/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java b/x-pack/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java similarity index 100% rename from qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java rename to x-pack/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java diff --git a/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/role/CustomRolesProviderIT.java b/x-pack/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/role/CustomRolesProviderIT.java similarity index 100% rename from qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/role/CustomRolesProviderIT.java rename to x-pack/qa/security-example-spi-extension/src/test/java/org/elasticsearch/example/role/CustomRolesProviderIT.java diff --git a/qa/security-migrate-tests/build.gradle b/x-pack/qa/security-migrate-tests/build.gradle similarity index 100% rename from qa/security-migrate-tests/build.gradle rename to x-pack/qa/security-migrate-tests/build.gradle diff --git a/qa/security-migrate-tests/roles.yml b/x-pack/qa/security-migrate-tests/roles.yml similarity index 100% rename from qa/security-migrate-tests/roles.yml rename to x-pack/qa/security-migrate-tests/roles.yml diff --git a/qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolIT.java b/x-pack/qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolIT.java similarity index 100% rename from qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolIT.java rename to x-pack/qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolIT.java diff --git a/qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolTestCase.java b/x-pack/qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolTestCase.java similarity index 100% rename from qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolTestCase.java rename to x-pack/qa/security-migrate-tests/src/test/java/org/elasticsearch/xpack/security/MigrateToolTestCase.java diff --git a/qa/security-setup-password-tests/build.gradle b/x-pack/qa/security-setup-password-tests/build.gradle similarity index 100% rename from qa/security-setup-password-tests/build.gradle rename to x-pack/qa/security-setup-password-tests/build.gradle diff --git a/qa/security-setup-password-tests/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolIT.java b/x-pack/qa/security-setup-password-tests/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolIT.java similarity index 100% rename from qa/security-setup-password-tests/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolIT.java rename to x-pack/qa/security-setup-password-tests/src/test/java/org/elasticsearch/xpack/security/authc/esnative/tool/SetupPasswordToolIT.java diff --git a/qa/security-tools-tests/build.gradle b/x-pack/qa/security-tools-tests/build.gradle similarity index 100% rename from qa/security-tools-tests/build.gradle rename to x-pack/qa/security-tools-tests/build.gradle diff --git a/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateToolTests.java b/x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateToolTests.java similarity index 100% rename from qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateToolTests.java rename to x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateGenerateToolTests.java diff --git a/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateToolTests.java b/x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateToolTests.java similarity index 100% rename from qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateToolTests.java rename to x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/core/ssl/CertificateToolTests.java diff --git a/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/authc/file/tool/UsersToolTests.java b/x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/authc/file/tool/UsersToolTests.java similarity index 100% rename from qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/authc/file/tool/UsersToolTests.java rename to x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/authc/file/tool/UsersToolTests.java diff --git a/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyToolTests.java b/x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyToolTests.java similarity index 100% rename from qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyToolTests.java rename to x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/crypto/tool/SystemKeyToolTests.java diff --git a/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/FileAttributesCheckerTests.java b/x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/FileAttributesCheckerTests.java similarity index 100% rename from qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/FileAttributesCheckerTests.java rename to x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/FileAttributesCheckerTests.java diff --git a/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/SecurityFilesTests.java b/x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/SecurityFilesTests.java similarity index 100% rename from qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/SecurityFilesTests.java rename to x-pack/qa/security-tools-tests/src/test/java/org/elasticsearch/xpack/security/support/SecurityFilesTests.java diff --git a/qa/smoke-test-graph-with-security/build.gradle b/x-pack/qa/smoke-test-graph-with-security/build.gradle similarity index 100% rename from qa/smoke-test-graph-with-security/build.gradle rename to x-pack/qa/smoke-test-graph-with-security/build.gradle diff --git a/qa/smoke-test-graph-with-security/roles.yml b/x-pack/qa/smoke-test-graph-with-security/roles.yml similarity index 100% rename from qa/smoke-test-graph-with-security/roles.yml rename to x-pack/qa/smoke-test-graph-with-security/roles.yml diff --git a/qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityIT.java b/x-pack/qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityIT.java similarity index 100% rename from qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityIT.java rename to x-pack/qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityIT.java diff --git a/qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityInsufficientRoleIT.java b/x-pack/qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityInsufficientRoleIT.java similarity index 100% rename from qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityInsufficientRoleIT.java rename to x-pack/qa/smoke-test-graph-with-security/src/test/java/org/elasticsearch/smoketest/GraphWithSecurityInsufficientRoleIT.java diff --git a/qa/smoke-test-ml-with-security/build.gradle b/x-pack/qa/smoke-test-ml-with-security/build.gradle similarity index 100% rename from qa/smoke-test-ml-with-security/build.gradle rename to x-pack/qa/smoke-test-ml-with-security/build.gradle diff --git a/qa/smoke-test-ml-with-security/roles.yml b/x-pack/qa/smoke-test-ml-with-security/roles.yml similarity index 100% rename from qa/smoke-test-ml-with-security/roles.yml rename to x-pack/qa/smoke-test-ml-with-security/roles.yml diff --git a/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java b/x-pack/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java similarity index 100% rename from qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java rename to x-pack/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java diff --git a/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityInsufficientRoleIT.java b/x-pack/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityInsufficientRoleIT.java similarity index 100% rename from qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityInsufficientRoleIT.java rename to x-pack/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityInsufficientRoleIT.java diff --git a/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java b/x-pack/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java similarity index 100% rename from qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java rename to x-pack/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java diff --git a/qa/smoke-test-monitoring-with-watcher/build.gradle b/x-pack/qa/smoke-test-monitoring-with-watcher/build.gradle similarity index 100% rename from qa/smoke-test-monitoring-with-watcher/build.gradle rename to x-pack/qa/smoke-test-monitoring-with-watcher/build.gradle diff --git a/qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/MonitoringWithWatcherRestIT.java b/x-pack/qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/MonitoringWithWatcherRestIT.java similarity index 100% rename from qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/MonitoringWithWatcherRestIT.java rename to x-pack/qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/MonitoringWithWatcherRestIT.java diff --git a/qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/PreventFailingBuildIT.java b/x-pack/qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/PreventFailingBuildIT.java similarity index 100% rename from qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/PreventFailingBuildIT.java rename to x-pack/qa/smoke-test-monitoring-with-watcher/src/test/java/org/elasticsearch/smoketest/PreventFailingBuildIT.java diff --git a/qa/smoke-test-plugins-ssl/build.gradle b/x-pack/qa/smoke-test-plugins-ssl/build.gradle similarity index 100% rename from qa/smoke-test-plugins-ssl/build.gradle rename to x-pack/qa/smoke-test-plugins-ssl/build.gradle diff --git a/qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestMonitoringWithSecurityIT.java b/x-pack/qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestMonitoringWithSecurityIT.java similarity index 100% rename from qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestMonitoringWithSecurityIT.java rename to x-pack/qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestMonitoringWithSecurityIT.java diff --git a/qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestPluginsSslClientYamlTestSuiteIT.java b/x-pack/qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestPluginsSslClientYamlTestSuiteIT.java similarity index 100% rename from qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestPluginsSslClientYamlTestSuiteIT.java rename to x-pack/qa/smoke-test-plugins-ssl/src/test/java/org/elasticsearch/smoketest/SmokeTestPluginsSslClientYamlTestSuiteIT.java diff --git a/qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/10_basic.yml b/x-pack/qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/10_basic.yml similarity index 100% rename from qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/10_basic.yml rename to x-pack/qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/10_basic.yml diff --git a/qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/20_settings_filter.yml b/x-pack/qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/20_settings_filter.yml similarity index 100% rename from qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/20_settings_filter.yml rename to x-pack/qa/smoke-test-plugins-ssl/src/test/resources/rest-api-spec/test/smoke_test_plugins_ssl/20_settings_filter.yml diff --git a/qa/smoke-test-plugins/build.gradle b/x-pack/qa/smoke-test-plugins/build.gradle similarity index 100% rename from qa/smoke-test-plugins/build.gradle rename to x-pack/qa/smoke-test-plugins/build.gradle diff --git a/qa/smoke-test-plugins/src/test/java/org/elasticsearch/smoketest/XSmokeTestPluginsClientYamlTestSuiteIT.java b/x-pack/qa/smoke-test-plugins/src/test/java/org/elasticsearch/smoketest/XSmokeTestPluginsClientYamlTestSuiteIT.java similarity index 100% rename from qa/smoke-test-plugins/src/test/java/org/elasticsearch/smoketest/XSmokeTestPluginsClientYamlTestSuiteIT.java rename to x-pack/qa/smoke-test-plugins/src/test/java/org/elasticsearch/smoketest/XSmokeTestPluginsClientYamlTestSuiteIT.java diff --git a/qa/smoke-test-plugins/src/test/resources/rest-api-spec/test/smoke_test_plugins/10_basic.yml b/x-pack/qa/smoke-test-plugins/src/test/resources/rest-api-spec/test/smoke_test_plugins/10_basic.yml similarity index 100% rename from qa/smoke-test-plugins/src/test/resources/rest-api-spec/test/smoke_test_plugins/10_basic.yml rename to x-pack/qa/smoke-test-plugins/src/test/resources/rest-api-spec/test/smoke_test_plugins/10_basic.yml diff --git a/qa/smoke-test-security-with-mustache/build.gradle b/x-pack/qa/smoke-test-security-with-mustache/build.gradle similarity index 100% rename from qa/smoke-test-security-with-mustache/build.gradle rename to x-pack/qa/smoke-test-security-with-mustache/build.gradle diff --git a/qa/smoke-test-security-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestSecurityWithMustacheClientYamlTestSuiteIT.java b/x-pack/qa/smoke-test-security-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestSecurityWithMustacheClientYamlTestSuiteIT.java similarity index 100% rename from qa/smoke-test-security-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestSecurityWithMustacheClientYamlTestSuiteIT.java rename to x-pack/qa/smoke-test-security-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestSecurityWithMustacheClientYamlTestSuiteIT.java diff --git a/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/10_templated_role_query.yml b/x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/10_templated_role_query.yml similarity index 100% rename from qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/10_templated_role_query.yml rename to x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/10_templated_role_query.yml diff --git a/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/11_templated_role_query_runas.yml b/x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/11_templated_role_query_runas.yml similarity index 100% rename from qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/11_templated_role_query_runas.yml rename to x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/11_templated_role_query_runas.yml diff --git a/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/20_small_users_one_index.yml b/x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/20_small_users_one_index.yml similarity index 100% rename from qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/20_small_users_one_index.yml rename to x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/20_small_users_one_index.yml diff --git a/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/30_search_template.yml b/x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/30_search_template.yml similarity index 100% rename from qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/30_search_template.yml rename to x-pack/qa/smoke-test-security-with-mustache/src/test/resources/rest-api-spec/test/30_search_template.yml diff --git a/qa/smoke-test-security-with-mustache/src/test/resources/templates/query.mustache b/x-pack/qa/smoke-test-security-with-mustache/src/test/resources/templates/query.mustache similarity index 100% rename from qa/smoke-test-security-with-mustache/src/test/resources/templates/query.mustache rename to x-pack/qa/smoke-test-security-with-mustache/src/test/resources/templates/query.mustache diff --git a/qa/smoke-test-watcher-with-mustache/build.gradle b/x-pack/qa/smoke-test-watcher-with-mustache/build.gradle similarity index 100% rename from qa/smoke-test-watcher-with-mustache/build.gradle rename to x-pack/qa/smoke-test-watcher-with-mustache/build.gradle diff --git a/qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherTemplateTests.java b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherTemplateTests.java similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherTemplateTests.java rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherTemplateTests.java diff --git a/qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherWithMustacheIT.java b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherWithMustacheIT.java similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherWithMustacheIT.java rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/java/org/elasticsearch/smoketest/WatcherWithMustacheIT.java diff --git a/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/actions/10_webhook.yml b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/actions/10_webhook.yml similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/actions/10_webhook.yml rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/actions/10_webhook.yml diff --git a/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/20_array_access.yml b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/20_array_access.yml similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/20_array_access.yml rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/20_array_access.yml diff --git a/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/25_array_compare.yml b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/25_array_compare.yml similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/25_array_compare.yml rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/25_array_compare.yml diff --git a/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/30_search_input.yml b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/30_search_input.yml similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/30_search_input.yml rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/30_search_input.yml diff --git a/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/40_search_transform.yml b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/40_search_transform.yml similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/40_search_transform.yml rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/40_search_transform.yml diff --git a/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/50_webhook_url_escaping.yml b/x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/50_webhook_url_escaping.yml similarity index 100% rename from qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/50_webhook_url_escaping.yml rename to x-pack/qa/smoke-test-watcher-with-mustache/src/test/resources/rest-api-spec/test/watcher_mustache/50_webhook_url_escaping.yml diff --git a/qa/smoke-test-watcher-with-painless/build.gradle b/x-pack/qa/smoke-test-watcher-with-painless/build.gradle similarity index 100% rename from qa/smoke-test-watcher-with-painless/build.gradle rename to x-pack/qa/smoke-test-watcher-with-painless/build.gradle diff --git a/qa/smoke-test-watcher-with-painless/src/test/java/org/elasticsearch/smoketest/WatcherWithPainlessIT.java b/x-pack/qa/smoke-test-watcher-with-painless/src/test/java/org/elasticsearch/smoketest/WatcherWithPainlessIT.java similarity index 100% rename from qa/smoke-test-watcher-with-painless/src/test/java/org/elasticsearch/smoketest/WatcherWithPainlessIT.java rename to x-pack/qa/smoke-test-watcher-with-painless/src/test/java/org/elasticsearch/smoketest/WatcherWithPainlessIT.java diff --git a/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/10_basic.yml b/x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/10_basic.yml similarity index 100% rename from qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/10_basic.yml rename to x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/10_basic.yml diff --git a/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/20_minimal_body.yml b/x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/20_minimal_body.yml similarity index 100% rename from qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/20_minimal_body.yml rename to x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/20_minimal_body.yml diff --git a/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/30_inline_watch.yml b/x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/30_inline_watch.yml similarity index 100% rename from qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/30_inline_watch.yml rename to x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/30_inline_watch.yml diff --git a/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/40_exception.yml b/x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/40_exception.yml similarity index 100% rename from qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/40_exception.yml rename to x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/40_exception.yml diff --git a/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/50_update_scripts.yml b/x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/50_update_scripts.yml similarity index 100% rename from qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/50_update_scripts.yml rename to x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/50_update_scripts.yml diff --git a/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/60_chain_input_with_transform.yml b/x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/60_chain_input_with_transform.yml similarity index 100% rename from qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/60_chain_input_with_transform.yml rename to x-pack/qa/smoke-test-watcher-with-painless/src/test/resources/rest-api-spec/test/watcher_painless/60_chain_input_with_transform.yml diff --git a/qa/smoke-test-watcher-with-security/build.gradle b/x-pack/qa/smoke-test-watcher-with-security/build.gradle similarity index 100% rename from qa/smoke-test-watcher-with-security/build.gradle rename to x-pack/qa/smoke-test-watcher-with-security/build.gradle diff --git a/qa/smoke-test-watcher-with-security/roles.yml b/x-pack/qa/smoke-test-watcher-with-security/roles.yml similarity index 100% rename from qa/smoke-test-watcher-with-security/roles.yml rename to x-pack/qa/smoke-test-watcher-with-security/roles.yml diff --git a/qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.java b/x-pack/qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.java similarity index 100% rename from qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.java rename to x-pack/qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityClientYamlTestSuiteIT.java diff --git a/qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityIT.java b/x-pack/qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityIT.java similarity index 100% rename from qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityIT.java rename to x-pack/qa/smoke-test-watcher-with-security/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherWithSecurityIT.java diff --git a/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/10_insufficient_privs.yml b/x-pack/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/10_insufficient_privs.yml similarity index 100% rename from qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/10_insufficient_privs.yml rename to x-pack/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/10_insufficient_privs.yml diff --git a/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_settings_filter.yml b/x-pack/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_settings_filter.yml similarity index 100% rename from qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_settings_filter.yml rename to x-pack/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_settings_filter.yml diff --git a/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_test_run_as_execute_watch.yml b/x-pack/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_test_run_as_execute_watch.yml similarity index 100% rename from qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_test_run_as_execute_watch.yml rename to x-pack/qa/smoke-test-watcher-with-security/src/test/resources/rest-api-spec/test/watcher/watcher_and_security/20_test_run_as_execute_watch.yml diff --git a/qa/smoke-test-watcher/build.gradle b/x-pack/qa/smoke-test-watcher/build.gradle similarity index 100% rename from qa/smoke-test-watcher/build.gradle rename to x-pack/qa/smoke-test-watcher/build.gradle diff --git a/qa/smoke-test-watcher/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherTestSuiteIT.java b/x-pack/qa/smoke-test-watcher/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherTestSuiteIT.java similarity index 100% rename from qa/smoke-test-watcher/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherTestSuiteIT.java rename to x-pack/qa/smoke-test-watcher/src/test/java/org/elasticsearch/smoketest/SmokeTestWatcherTestSuiteIT.java diff --git a/qa/sql/build.gradle b/x-pack/qa/sql/build.gradle similarity index 100% rename from qa/sql/build.gradle rename to x-pack/qa/sql/build.gradle diff --git a/qa/sql/multinode/build.gradle b/x-pack/qa/sql/multinode/build.gradle similarity index 100% rename from qa/sql/multinode/build.gradle rename to x-pack/qa/sql/multinode/build.gradle diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliSelectIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliSelectIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliSelectIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliSelectIT.java diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliShowIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliShowIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliShowIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/CliShowIT.java diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcDatabaseMetaDataIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcDatabaseMetaDataIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcDatabaseMetaDataIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcDatabaseMetaDataIT.java diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcErrorsIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcErrorsIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcErrorsIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcErrorsIT.java diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcPreparedStatementIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcPreparedStatementIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcPreparedStatementIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcPreparedStatementIT.java diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcShowTablesIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcShowTablesIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcShowTablesIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/JdbcShowTablesIT.java diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlIT.java diff --git a/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlMultinodeIT.java b/x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlMultinodeIT.java similarity index 100% rename from qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlMultinodeIT.java rename to x-pack/qa/sql/multinode/src/test/java/org/elasticsearch/xpack/qa/sql/multinode/RestSqlMultinodeIT.java diff --git a/qa/sql/no-security/build.gradle b/x-pack/qa/sql/no-security/build.gradle similarity index 100% rename from qa/sql/no-security/build.gradle rename to x-pack/qa/sql/no-security/build.gradle diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliErrorsIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliErrorsIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliErrorsIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliErrorsIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliExplainIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliExplainIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliExplainIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliExplainIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliFetchSizeIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliFetchSizeIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliFetchSizeIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliFetchSizeIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliSelectIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliSelectIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliSelectIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliSelectIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliShowIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliShowIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliShowIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/CliShowIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcConnectionIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcConnectionIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcConnectionIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcConnectionIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcDatabaseMetaDataIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcDatabaseMetaDataIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcDatabaseMetaDataIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcDatabaseMetaDataIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcErrorsIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcErrorsIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcErrorsIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcErrorsIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcFetchSizeIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcFetchSizeIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcFetchSizeIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcFetchSizeIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcPreparedStatementIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcPreparedStatementIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcPreparedStatementIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcPreparedStatementIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcShowTablesIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcShowTablesIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcShowTablesIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcShowTablesIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSimpleExampleIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSimpleExampleIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSimpleExampleIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSimpleExampleIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSqlSpecIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSqlSpecIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSqlSpecIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcSqlSpecIT.java diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/RestSqlIT.java b/x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/RestSqlIT.java similarity index 100% rename from qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/RestSqlIT.java rename to x-pack/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/RestSqlIT.java diff --git a/qa/sql/security/build.gradle b/x-pack/qa/sql/security/build.gradle similarity index 100% rename from qa/sql/security/build.gradle rename to x-pack/qa/sql/security/build.gradle diff --git a/qa/sql/security/no-ssl/build.gradle b/x-pack/qa/sql/security/no-ssl/build.gradle similarity index 100% rename from qa/sql/security/no-ssl/build.gradle rename to x-pack/qa/sql/security/no-ssl/build.gradle diff --git a/qa/sql/security/roles.yml b/x-pack/qa/sql/security/roles.yml similarity index 100% rename from qa/sql/security/roles.yml rename to x-pack/qa/sql/security/roles.yml diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliErrorsIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliErrorsIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliErrorsIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliErrorsIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliFetchSizeIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliFetchSizeIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliFetchSizeIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliFetchSizeIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSecurityIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSecurityIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSecurityIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSecurityIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSelectIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSelectIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSelectIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliSelectIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliShowIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliShowIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliShowIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/CliShowIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcConnectionIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcConnectionIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcConnectionIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcConnectionIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcCsvSpecIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcCsvSpecIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcCsvSpecIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcCsvSpecIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcDatabaseMetaDataIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcDatabaseMetaDataIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcDatabaseMetaDataIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcDatabaseMetaDataIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcErrorsIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcErrorsIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcErrorsIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcErrorsIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcFetchSizeIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcFetchSizeIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcFetchSizeIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcFetchSizeIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcPreparedStatementIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcPreparedStatementIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcPreparedStatementIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcPreparedStatementIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSecurityIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSecurityIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSecurityIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSecurityIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcShowTablesIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcShowTablesIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcShowTablesIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcShowTablesIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSimpleExampleIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSimpleExampleIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSimpleExampleIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSimpleExampleIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSqlSpecIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSqlSpecIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSqlSpecIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/JdbcSqlSpecIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlSecurityIT.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlSecurityIT.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlSecurityIT.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/RestSqlSecurityIT.java diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java b/x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java similarity index 100% rename from qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java rename to x-pack/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java diff --git a/qa/sql/security/src/test/resources/plugin-security.policy b/x-pack/qa/sql/security/src/test/resources/plugin-security.policy similarity index 100% rename from qa/sql/security/src/test/resources/plugin-security.policy rename to x-pack/qa/sql/security/src/test/resources/plugin-security.policy diff --git a/qa/sql/security/ssl/build.gradle b/x-pack/qa/sql/security/ssl/build.gradle similarity index 100% rename from qa/sql/security/ssl/build.gradle rename to x-pack/qa/sql/security/ssl/build.gradle diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/ErrorsTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/ErrorsTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/ErrorsTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/ErrorsTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/CliIntegrationTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/CliIntegrationTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/CliIntegrationTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/CliIntegrationTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/EmbeddedCli.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/EmbeddedCli.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/EmbeddedCli.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/EmbeddedCli.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ErrorsTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ErrorsTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ErrorsTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ErrorsTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/FetchSizeTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/FetchSizeTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/FetchSizeTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/FetchSizeTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/SelectTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/SelectTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/SelectTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/SelectTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ShowTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ShowTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ShowTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/ShowTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/package-info.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/package-info.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/package-info.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/cli/package-info.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ConnectionTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ConnectionTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ConnectionTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ConnectionTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvSpecTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvSpecTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvSpecTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvSpecTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvTestUtils.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvTestUtils.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvTestUtils.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/CsvTestUtils.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DataLoader.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DataLoader.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DataLoader.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DataLoader.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DatabaseMetaDataTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DatabaseMetaDataTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DatabaseMetaDataTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DatabaseMetaDataTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugCsvSpec.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugCsvSpec.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugCsvSpec.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugCsvSpec.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugSqlSpec.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugSqlSpec.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugSqlSpec.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/DebugSqlSpec.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ErrorsTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ErrorsTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ErrorsTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ErrorsTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/FetchSizeTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/FetchSizeTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/FetchSizeTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/FetchSizeTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcAssert.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcAssert.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcAssert.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcAssert.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcIntegrationTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcIntegrationTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcIntegrationTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcIntegrationTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcTestUtils.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcTestUtils.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcTestUtils.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/JdbcTestUtils.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/LocalH2.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/LocalH2.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/LocalH2.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/LocalH2.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/PreparedStatementTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/PreparedStatementTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/PreparedStatementTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/PreparedStatementTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ShowTablesTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ShowTablesTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ShowTablesTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/ShowTablesTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SimpleExampleTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SimpleExampleTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SimpleExampleTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SimpleExampleTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SpecBaseIntegrationTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SpecBaseIntegrationTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SpecBaseIntegrationTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SpecBaseIntegrationTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SqlSpecTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SqlSpecTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SqlSpecTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/SqlSpecTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/package-info.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/package-info.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/package-info.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc/package-info.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/RestSqlTestCase.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/RestSqlTestCase.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/RestSqlTestCase.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/RestSqlTestCase.java diff --git a/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/package-info.java b/x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/package-info.java similarity index 100% rename from qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/package-info.java rename to x-pack/qa/sql/src/main/java/org/elasticsearch/xpack/qa/sql/rest/package-info.java diff --git a/qa/sql/src/main/resources/agg.csv-spec b/x-pack/qa/sql/src/main/resources/agg.csv-spec similarity index 100% rename from qa/sql/src/main/resources/agg.csv-spec rename to x-pack/qa/sql/src/main/resources/agg.csv-spec diff --git a/qa/sql/src/main/resources/agg.sql-spec b/x-pack/qa/sql/src/main/resources/agg.sql-spec similarity index 100% rename from qa/sql/src/main/resources/agg.sql-spec rename to x-pack/qa/sql/src/main/resources/agg.sql-spec diff --git a/qa/sql/src/main/resources/alias.csv-spec b/x-pack/qa/sql/src/main/resources/alias.csv-spec similarity index 100% rename from qa/sql/src/main/resources/alias.csv-spec rename to x-pack/qa/sql/src/main/resources/alias.csv-spec diff --git a/qa/sql/src/main/resources/arithmetic.csv-spec b/x-pack/qa/sql/src/main/resources/arithmetic.csv-spec similarity index 100% rename from qa/sql/src/main/resources/arithmetic.csv-spec rename to x-pack/qa/sql/src/main/resources/arithmetic.csv-spec diff --git a/qa/sql/src/main/resources/arithmetic.sql-spec b/x-pack/qa/sql/src/main/resources/arithmetic.sql-spec similarity index 100% rename from qa/sql/src/main/resources/arithmetic.sql-spec rename to x-pack/qa/sql/src/main/resources/arithmetic.sql-spec diff --git a/qa/sql/src/main/resources/columns.csv-spec b/x-pack/qa/sql/src/main/resources/columns.csv-spec similarity index 100% rename from qa/sql/src/main/resources/columns.csv-spec rename to x-pack/qa/sql/src/main/resources/columns.csv-spec diff --git a/qa/sql/src/main/resources/command-sys.csv-spec b/x-pack/qa/sql/src/main/resources/command-sys.csv-spec similarity index 100% rename from qa/sql/src/main/resources/command-sys.csv-spec rename to x-pack/qa/sql/src/main/resources/command-sys.csv-spec diff --git a/qa/sql/src/main/resources/command.csv-spec b/x-pack/qa/sql/src/main/resources/command.csv-spec similarity index 100% rename from qa/sql/src/main/resources/command.csv-spec rename to x-pack/qa/sql/src/main/resources/command.csv-spec diff --git a/qa/sql/src/main/resources/datetime.csv-spec b/x-pack/qa/sql/src/main/resources/datetime.csv-spec similarity index 100% rename from qa/sql/src/main/resources/datetime.csv-spec rename to x-pack/qa/sql/src/main/resources/datetime.csv-spec diff --git a/qa/sql/src/main/resources/datetime.sql-spec b/x-pack/qa/sql/src/main/resources/datetime.sql-spec similarity index 100% rename from qa/sql/src/main/resources/datetime.sql-spec rename to x-pack/qa/sql/src/main/resources/datetime.sql-spec diff --git a/qa/sql/src/main/resources/debug.csv-spec b/x-pack/qa/sql/src/main/resources/debug.csv-spec similarity index 100% rename from qa/sql/src/main/resources/debug.csv-spec rename to x-pack/qa/sql/src/main/resources/debug.csv-spec diff --git a/qa/sql/src/main/resources/debug.sql-spec b/x-pack/qa/sql/src/main/resources/debug.sql-spec similarity index 100% rename from qa/sql/src/main/resources/debug.sql-spec rename to x-pack/qa/sql/src/main/resources/debug.sql-spec diff --git a/qa/sql/src/main/resources/dep_emp.csv b/x-pack/qa/sql/src/main/resources/dep_emp.csv similarity index 100% rename from qa/sql/src/main/resources/dep_emp.csv rename to x-pack/qa/sql/src/main/resources/dep_emp.csv diff --git a/qa/sql/src/main/resources/departments.csv b/x-pack/qa/sql/src/main/resources/departments.csv similarity index 100% rename from qa/sql/src/main/resources/departments.csv rename to x-pack/qa/sql/src/main/resources/departments.csv diff --git a/qa/sql/src/main/resources/employees.csv b/x-pack/qa/sql/src/main/resources/employees.csv similarity index 100% rename from qa/sql/src/main/resources/employees.csv rename to x-pack/qa/sql/src/main/resources/employees.csv diff --git a/qa/sql/src/main/resources/example.csv-spec b/x-pack/qa/sql/src/main/resources/example.csv-spec similarity index 100% rename from qa/sql/src/main/resources/example.csv-spec rename to x-pack/qa/sql/src/main/resources/example.csv-spec diff --git a/qa/sql/src/main/resources/example.sql-spec b/x-pack/qa/sql/src/main/resources/example.sql-spec similarity index 100% rename from qa/sql/src/main/resources/example.sql-spec rename to x-pack/qa/sql/src/main/resources/example.sql-spec diff --git a/qa/sql/src/main/resources/filter.sql-spec b/x-pack/qa/sql/src/main/resources/filter.sql-spec similarity index 100% rename from qa/sql/src/main/resources/filter.sql-spec rename to x-pack/qa/sql/src/main/resources/filter.sql-spec diff --git a/qa/sql/src/main/resources/fulltext.csv-spec b/x-pack/qa/sql/src/main/resources/fulltext.csv-spec similarity index 100% rename from qa/sql/src/main/resources/fulltext.csv-spec rename to x-pack/qa/sql/src/main/resources/fulltext.csv-spec diff --git a/qa/sql/src/main/resources/math.sql-spec b/x-pack/qa/sql/src/main/resources/math.sql-spec similarity index 100% rename from qa/sql/src/main/resources/math.sql-spec rename to x-pack/qa/sql/src/main/resources/math.sql-spec diff --git a/qa/sql/src/main/resources/nested.csv-spec b/x-pack/qa/sql/src/main/resources/nested.csv-spec similarity index 100% rename from qa/sql/src/main/resources/nested.csv-spec rename to x-pack/qa/sql/src/main/resources/nested.csv-spec diff --git a/qa/sql/src/main/resources/nulls.csv-spec b/x-pack/qa/sql/src/main/resources/nulls.csv-spec similarity index 100% rename from qa/sql/src/main/resources/nulls.csv-spec rename to x-pack/qa/sql/src/main/resources/nulls.csv-spec diff --git a/qa/sql/src/main/resources/plugin-security.policy b/x-pack/qa/sql/src/main/resources/plugin-security.policy similarity index 100% rename from qa/sql/src/main/resources/plugin-security.policy rename to x-pack/qa/sql/src/main/resources/plugin-security.policy diff --git a/qa/sql/src/main/resources/select.sql-spec b/x-pack/qa/sql/src/main/resources/select.sql-spec similarity index 100% rename from qa/sql/src/main/resources/select.sql-spec rename to x-pack/qa/sql/src/main/resources/select.sql-spec diff --git a/qa/sql/src/main/resources/setup_mock_metadata_get_columns.sql b/x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_columns.sql similarity index 100% rename from qa/sql/src/main/resources/setup_mock_metadata_get_columns.sql rename to x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_columns.sql diff --git a/qa/sql/src/main/resources/setup_mock_metadata_get_procedure_columns.sql b/x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_procedure_columns.sql similarity index 100% rename from qa/sql/src/main/resources/setup_mock_metadata_get_procedure_columns.sql rename to x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_procedure_columns.sql diff --git a/qa/sql/src/main/resources/setup_mock_metadata_get_procedures.sql b/x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_procedures.sql similarity index 100% rename from qa/sql/src/main/resources/setup_mock_metadata_get_procedures.sql rename to x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_procedures.sql diff --git a/qa/sql/src/main/resources/setup_mock_metadata_get_table_types.sql b/x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_table_types.sql similarity index 100% rename from qa/sql/src/main/resources/setup_mock_metadata_get_table_types.sql rename to x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_table_types.sql diff --git a/qa/sql/src/main/resources/setup_mock_metadata_get_tables.sql b/x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_tables.sql similarity index 100% rename from qa/sql/src/main/resources/setup_mock_metadata_get_tables.sql rename to x-pack/qa/sql/src/main/resources/setup_mock_metadata_get_tables.sql diff --git a/qa/sql/src/main/resources/setup_mock_show_tables.sql b/x-pack/qa/sql/src/main/resources/setup_mock_show_tables.sql similarity index 100% rename from qa/sql/src/main/resources/setup_mock_show_tables.sql rename to x-pack/qa/sql/src/main/resources/setup_mock_show_tables.sql diff --git a/qa/sql/src/main/resources/setup_test_emp.sql b/x-pack/qa/sql/src/main/resources/setup_test_emp.sql similarity index 100% rename from qa/sql/src/main/resources/setup_test_emp.sql rename to x-pack/qa/sql/src/main/resources/setup_test_emp.sql diff --git a/qa/third-party/active-directory/build.gradle b/x-pack/qa/third-party/active-directory/build.gradle similarity index 100% rename from qa/third-party/active-directory/build.gradle rename to x-pack/qa/third-party/active-directory/build.gradle diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ADLdapUserSearchSessionFactoryTests.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ADLdapUserSearchSessionFactoryTests.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ADLdapUserSearchSessionFactoryTests.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ADLdapUserSearchSessionFactoryTests.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractActiveDirectoryTestCase.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractActiveDirectoryTestCase.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractActiveDirectoryTestCase.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractActiveDirectoryTestCase.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolverTests.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolverTests.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolverTests.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryGroupsResolverTests.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRunAsIT.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRunAsIT.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRunAsIT.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectoryRunAsIT.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactoryTests.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactoryTests.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactoryTests.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/ActiveDirectorySessionFactoryTests.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupMappingIT.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupMappingIT.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupMappingIT.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/GroupMappingIT.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultiGroupMappingIT.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultiGroupMappingIT.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultiGroupMappingIT.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultiGroupMappingIT.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultipleAdRealmIT.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultipleAdRealmIT.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultipleAdRealmIT.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/MultipleAdRealmIT.java diff --git a/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolverTests.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolverTests.java similarity index 100% rename from qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolverTests.java rename to x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/UserAttributeGroupsResolverTests.java diff --git a/qa/third-party/build.gradle b/x-pack/qa/third-party/build.gradle similarity index 100% rename from qa/third-party/build.gradle rename to x-pack/qa/third-party/build.gradle diff --git a/qa/third-party/hipchat/build.gradle b/x-pack/qa/third-party/hipchat/build.gradle similarity index 100% rename from qa/third-party/hipchat/build.gradle rename to x-pack/qa/third-party/hipchat/build.gradle diff --git a/qa/third-party/hipchat/src/test/java/org/elasticsearch/smoketest/WatcherHipchatYamlTestSuiteIT.java b/x-pack/qa/third-party/hipchat/src/test/java/org/elasticsearch/smoketest/WatcherHipchatYamlTestSuiteIT.java similarity index 100% rename from qa/third-party/hipchat/src/test/java/org/elasticsearch/smoketest/WatcherHipchatYamlTestSuiteIT.java rename to x-pack/qa/third-party/hipchat/src/test/java/org/elasticsearch/smoketest/WatcherHipchatYamlTestSuiteIT.java diff --git a/qa/third-party/hipchat/src/test/resources/rest-api-spec/test/hipchat/10_hipchat.yml b/x-pack/qa/third-party/hipchat/src/test/resources/rest-api-spec/test/hipchat/10_hipchat.yml similarity index 100% rename from qa/third-party/hipchat/src/test/resources/rest-api-spec/test/hipchat/10_hipchat.yml rename to x-pack/qa/third-party/hipchat/src/test/resources/rest-api-spec/test/hipchat/10_hipchat.yml diff --git a/qa/third-party/jira/build.gradle b/x-pack/qa/third-party/jira/build.gradle similarity index 100% rename from qa/third-party/jira/build.gradle rename to x-pack/qa/third-party/jira/build.gradle diff --git a/qa/third-party/jira/src/test/java/org/elasticsearch/smoketest/WatcherJiraYamlTestSuiteIT.java b/x-pack/qa/third-party/jira/src/test/java/org/elasticsearch/smoketest/WatcherJiraYamlTestSuiteIT.java similarity index 100% rename from qa/third-party/jira/src/test/java/org/elasticsearch/smoketest/WatcherJiraYamlTestSuiteIT.java rename to x-pack/qa/third-party/jira/src/test/java/org/elasticsearch/smoketest/WatcherJiraYamlTestSuiteIT.java diff --git a/qa/third-party/jira/src/test/resources/rest-api-spec/test/jira/10_jira.yml b/x-pack/qa/third-party/jira/src/test/resources/rest-api-spec/test/jira/10_jira.yml similarity index 100% rename from qa/third-party/jira/src/test/resources/rest-api-spec/test/jira/10_jira.yml rename to x-pack/qa/third-party/jira/src/test/resources/rest-api-spec/test/jira/10_jira.yml diff --git a/qa/third-party/pagerduty/build.gradle b/x-pack/qa/third-party/pagerduty/build.gradle similarity index 100% rename from qa/third-party/pagerduty/build.gradle rename to x-pack/qa/third-party/pagerduty/build.gradle diff --git a/qa/third-party/pagerduty/src/test/java/org/elasticsearch/smoketest/WatcherPagerDutyYamlTestSuiteIT.java b/x-pack/qa/third-party/pagerduty/src/test/java/org/elasticsearch/smoketest/WatcherPagerDutyYamlTestSuiteIT.java similarity index 100% rename from qa/third-party/pagerduty/src/test/java/org/elasticsearch/smoketest/WatcherPagerDutyYamlTestSuiteIT.java rename to x-pack/qa/third-party/pagerduty/src/test/java/org/elasticsearch/smoketest/WatcherPagerDutyYamlTestSuiteIT.java diff --git a/qa/third-party/pagerduty/src/test/resources/rest-api-spec/test/pagerduty/10_pagerduty.yml b/x-pack/qa/third-party/pagerduty/src/test/resources/rest-api-spec/test/pagerduty/10_pagerduty.yml similarity index 100% rename from qa/third-party/pagerduty/src/test/resources/rest-api-spec/test/pagerduty/10_pagerduty.yml rename to x-pack/qa/third-party/pagerduty/src/test/resources/rest-api-spec/test/pagerduty/10_pagerduty.yml diff --git a/qa/third-party/slack/build.gradle b/x-pack/qa/third-party/slack/build.gradle similarity index 100% rename from qa/third-party/slack/build.gradle rename to x-pack/qa/third-party/slack/build.gradle diff --git a/qa/third-party/slack/src/test/java/org/elasticsearch/smoketest/WatcherSlackYamlTestSuiteIT.java b/x-pack/qa/third-party/slack/src/test/java/org/elasticsearch/smoketest/WatcherSlackYamlTestSuiteIT.java similarity index 100% rename from qa/third-party/slack/src/test/java/org/elasticsearch/smoketest/WatcherSlackYamlTestSuiteIT.java rename to x-pack/qa/third-party/slack/src/test/java/org/elasticsearch/smoketest/WatcherSlackYamlTestSuiteIT.java diff --git a/qa/third-party/slack/src/test/resources/rest-api-spec/test/slack/10_slack.yml b/x-pack/qa/third-party/slack/src/test/resources/rest-api-spec/test/slack/10_slack.yml similarity index 100% rename from qa/third-party/slack/src/test/resources/rest-api-spec/test/slack/10_slack.yml rename to x-pack/qa/third-party/slack/src/test/resources/rest-api-spec/test/slack/10_slack.yml diff --git a/qa/transport-client-tests/build.gradle b/x-pack/qa/transport-client-tests/build.gradle similarity index 100% rename from qa/transport-client-tests/build.gradle rename to x-pack/qa/transport-client-tests/build.gradle diff --git a/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/ESXPackSmokeClientTestCase.java b/x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/ESXPackSmokeClientTestCase.java similarity index 100% rename from qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/ESXPackSmokeClientTestCase.java rename to x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/ESXPackSmokeClientTestCase.java diff --git a/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/MLTransportClientIT.java b/x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/MLTransportClientIT.java similarity index 100% rename from qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/MLTransportClientIT.java rename to x-pack/qa/transport-client-tests/src/test/java/org/elasticsearch/xpack/ml/client/MLTransportClientIT.java diff --git a/qa/vagrant/build.gradle b/x-pack/qa/vagrant/build.gradle similarity index 100% rename from qa/vagrant/build.gradle rename to x-pack/qa/vagrant/build.gradle diff --git a/qa/vagrant/src/test/resources/packaging/tests/10_basic.bats b/x-pack/qa/vagrant/src/test/resources/packaging/tests/10_basic.bats similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/10_basic.bats rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/10_basic.bats diff --git a/qa/vagrant/src/test/resources/packaging/tests/20_tar_bootstrap_password.bats b/x-pack/qa/vagrant/src/test/resources/packaging/tests/20_tar_bootstrap_password.bats similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/20_tar_bootstrap_password.bats rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/20_tar_bootstrap_password.bats diff --git a/qa/vagrant/src/test/resources/packaging/tests/25_package_bootstrap_password.bats b/x-pack/qa/vagrant/src/test/resources/packaging/tests/25_package_bootstrap_password.bats similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/25_package_bootstrap_password.bats rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/25_package_bootstrap_password.bats diff --git a/qa/vagrant/src/test/resources/packaging/tests/30_tar_setup_passwords.bats b/x-pack/qa/vagrant/src/test/resources/packaging/tests/30_tar_setup_passwords.bats similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/30_tar_setup_passwords.bats rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/30_tar_setup_passwords.bats diff --git a/qa/vagrant/src/test/resources/packaging/tests/35_package_setup_passwords.bats b/x-pack/qa/vagrant/src/test/resources/packaging/tests/35_package_setup_passwords.bats similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/35_package_setup_passwords.bats rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/35_package_setup_passwords.bats diff --git a/qa/vagrant/src/test/resources/packaging/tests/40_tar_certgen.bats b/x-pack/qa/vagrant/src/test/resources/packaging/tests/40_tar_certgen.bats similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/40_tar_certgen.bats rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/40_tar_certgen.bats diff --git a/qa/vagrant/src/test/resources/packaging/tests/45_package_certgen.bats b/x-pack/qa/vagrant/src/test/resources/packaging/tests/45_package_certgen.bats similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/45_package_certgen.bats rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/45_package_certgen.bats diff --git a/qa/vagrant/src/test/resources/packaging/tests/bootstrap_password.bash b/x-pack/qa/vagrant/src/test/resources/packaging/tests/bootstrap_password.bash similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/bootstrap_password.bash rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/bootstrap_password.bash diff --git a/qa/vagrant/src/test/resources/packaging/tests/certgen.bash b/x-pack/qa/vagrant/src/test/resources/packaging/tests/certgen.bash similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/certgen.bash rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/certgen.bash diff --git a/qa/vagrant/src/test/resources/packaging/tests/setup_passwords.bash b/x-pack/qa/vagrant/src/test/resources/packaging/tests/setup_passwords.bash similarity index 100% rename from qa/vagrant/src/test/resources/packaging/tests/setup_passwords.bash rename to x-pack/qa/vagrant/src/test/resources/packaging/tests/setup_passwords.bash diff --git a/qa/vagrant/src/test/resources/packaging/utils/xpack.bash b/x-pack/qa/vagrant/src/test/resources/packaging/utils/xpack.bash similarity index 100% rename from qa/vagrant/src/test/resources/packaging/utils/xpack.bash rename to x-pack/qa/vagrant/src/test/resources/packaging/utils/xpack.bash diff --git a/settings.gradle b/x-pack/settings.gradle similarity index 100% rename from settings.gradle rename to x-pack/settings.gradle diff --git a/test/build.gradle b/x-pack/test/build.gradle similarity index 100% rename from test/build.gradle rename to x-pack/test/build.gradle diff --git a/test/idp-fixture/.gitignore b/x-pack/test/idp-fixture/.gitignore similarity index 100% rename from test/idp-fixture/.gitignore rename to x-pack/test/idp-fixture/.gitignore diff --git a/test/idp-fixture/README.txt b/x-pack/test/idp-fixture/README.txt similarity index 100% rename from test/idp-fixture/README.txt rename to x-pack/test/idp-fixture/README.txt diff --git a/test/idp-fixture/Vagrantfile b/x-pack/test/idp-fixture/Vagrantfile similarity index 100% rename from test/idp-fixture/Vagrantfile rename to x-pack/test/idp-fixture/Vagrantfile diff --git a/test/idp-fixture/build.gradle b/x-pack/test/idp-fixture/build.gradle similarity index 100% rename from test/idp-fixture/build.gradle rename to x-pack/test/idp-fixture/build.gradle diff --git a/test/idp-fixture/src/main/resources/certs/README.txt b/x-pack/test/idp-fixture/src/main/resources/certs/README.txt similarity index 100% rename from test/idp-fixture/src/main/resources/certs/README.txt rename to x-pack/test/idp-fixture/src/main/resources/certs/README.txt diff --git a/test/idp-fixture/src/main/resources/certs/ca.crt b/x-pack/test/idp-fixture/src/main/resources/certs/ca.crt similarity index 100% rename from test/idp-fixture/src/main/resources/certs/ca.crt rename to x-pack/test/idp-fixture/src/main/resources/certs/ca.crt diff --git a/test/idp-fixture/src/main/resources/certs/ca.key b/x-pack/test/idp-fixture/src/main/resources/certs/ca.key similarity index 100% rename from test/idp-fixture/src/main/resources/certs/ca.key rename to x-pack/test/idp-fixture/src/main/resources/certs/ca.key diff --git a/test/idp-fixture/src/main/resources/certs/idptrust.jks b/x-pack/test/idp-fixture/src/main/resources/certs/idptrust.jks similarity index 100% rename from test/idp-fixture/src/main/resources/certs/idptrust.jks rename to x-pack/test/idp-fixture/src/main/resources/certs/idptrust.jks diff --git a/test/idp-fixture/src/main/resources/provision/playbook.yml b/x-pack/test/idp-fixture/src/main/resources/provision/playbook.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/playbook.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/playbook.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/certs/README b/x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/README similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/certs/README rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/README diff --git a/test/idp-fixture/src/main/resources/provision/roles/certs/files/ca_server.conf b/x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/files/ca_server.conf similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/certs/files/ca_server.conf rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/files/ca_server.conf diff --git a/test/idp-fixture/src/main/resources/provision/roles/certs/tasks/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/tasks/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/certs/tasks/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/tasks/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/certs/templates/cert_server.conf.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/templates/cert_server.conf.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/certs/templates/cert_server.conf.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/templates/cert_server.conf.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/certs/templates/keystore_server.conf.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/templates/keystore_server.conf.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/certs/templates/keystore_server.conf.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/templates/keystore_server.conf.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/certs/vars/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/vars/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/certs/vars/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/certs/vars/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/java-8-openjdk/tasks/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/java-8-openjdk/tasks/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/java-8-openjdk/tasks/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/java-8-openjdk/tasks/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/handlers/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/handlers/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/handlers/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/handlers/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/configure.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/configure.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/configure.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/configure.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/install.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/install.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/install.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/install.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/populate.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/populate.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/populate.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/populate.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/provision_deps.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/provision_deps.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/provision_deps.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/tasks/provision_deps.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/ldap.conf.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/ldap.conf.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/templates/ldap.conf.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/ldap.conf.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/slapd.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/slapd.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/templates/slapd.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/slapd.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_add.ldif.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_add.ldif.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_add.ldif.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_add.ldif.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_replace.ldif.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_replace.ldif.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_replace.ldif.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/templates/tls_replace.ldif.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/openldap/vars/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/vars/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/openldap/vars/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/openldap/vars/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-filter.xml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-filter.xml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-filter.xml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-filter.xml diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-resolver.xml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-resolver.xml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-resolver.xml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/attribute-resolver.xml diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/relying-party.xml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/relying-party.xml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/relying-party.xml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/files/relying-party.xml diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/handlers/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/handlers/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/handlers/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/handlers/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/tasks/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/tasks/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/tasks/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/tasks/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.properties.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.properties.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.properties.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.properties.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.silent.params.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.silent.params.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.silent.params.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.silent.params.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.xml.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.xml.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.xml.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/idp.xml.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/ldap.properties.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/ldap.properties.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/ldap.properties.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/shibboleth/templates/ldap.properties.j2 diff --git a/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/handlers/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/handlers/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/tomcat-8/handlers/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/handlers/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/tasks/main.yml b/x-pack/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/tasks/main.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/tomcat-8/tasks/main.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/tasks/main.yml diff --git a/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/templates/server.xml.j2 b/x-pack/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/templates/server.xml.j2 similarity index 100% rename from test/idp-fixture/src/main/resources/provision/roles/tomcat-8/templates/server.xml.j2 rename to x-pack/test/idp-fixture/src/main/resources/provision/roles/tomcat-8/templates/server.xml.j2 diff --git a/test/idp-fixture/src/main/resources/provision/vars/default.yml b/x-pack/test/idp-fixture/src/main/resources/provision/vars/default.yml similarity index 100% rename from test/idp-fixture/src/main/resources/provision/vars/default.yml rename to x-pack/test/idp-fixture/src/main/resources/provision/vars/default.yml diff --git a/test/smb-fixture/Vagrantfile b/x-pack/test/smb-fixture/Vagrantfile similarity index 100% rename from test/smb-fixture/Vagrantfile rename to x-pack/test/smb-fixture/Vagrantfile diff --git a/test/smb-fixture/build.gradle b/x-pack/test/smb-fixture/build.gradle similarity index 100% rename from test/smb-fixture/build.gradle rename to x-pack/test/smb-fixture/build.gradle diff --git a/test/smb-fixture/src/main/resources/certs/ca.key b/x-pack/test/smb-fixture/src/main/resources/certs/ca.key similarity index 100% rename from test/smb-fixture/src/main/resources/certs/ca.key rename to x-pack/test/smb-fixture/src/main/resources/certs/ca.key diff --git a/test/smb-fixture/src/main/resources/certs/ca.pem b/x-pack/test/smb-fixture/src/main/resources/certs/ca.pem similarity index 100% rename from test/smb-fixture/src/main/resources/certs/ca.pem rename to x-pack/test/smb-fixture/src/main/resources/certs/ca.pem diff --git a/test/smb-fixture/src/main/resources/certs/cert.pem b/x-pack/test/smb-fixture/src/main/resources/certs/cert.pem similarity index 100% rename from test/smb-fixture/src/main/resources/certs/cert.pem rename to x-pack/test/smb-fixture/src/main/resources/certs/cert.pem diff --git a/test/smb-fixture/src/main/resources/certs/key.pem b/x-pack/test/smb-fixture/src/main/resources/certs/key.pem similarity index 100% rename from test/smb-fixture/src/main/resources/certs/key.pem rename to x-pack/test/smb-fixture/src/main/resources/certs/key.pem diff --git a/test/smb-fixture/src/main/resources/provision/installsmb.sh b/x-pack/test/smb-fixture/src/main/resources/provision/installsmb.sh similarity index 100% rename from test/smb-fixture/src/main/resources/provision/installsmb.sh rename to x-pack/test/smb-fixture/src/main/resources/provision/installsmb.sh diff --git a/transport-client/build.gradle b/x-pack/transport-client/build.gradle similarity index 100% rename from transport-client/build.gradle rename to x-pack/transport-client/build.gradle diff --git a/transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java b/x-pack/transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java similarity index 100% rename from transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java rename to x-pack/transport-client/src/main/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClient.java diff --git a/transport-client/src/test/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClientTests.java b/x-pack/transport-client/src/test/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClientTests.java similarity index 100% rename from transport-client/src/test/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClientTests.java rename to x-pack/transport-client/src/test/java/org/elasticsearch/xpack/client/PreBuiltXPackTransportClientTests.java