diff --git a/modules/aggs-matrix-stats/build.gradle b/modules/aggs-matrix-stats/build.gradle index 89b0fc89780..07ebf595044 100644 --- a/modules/aggs-matrix-stats/build.gradle +++ b/modules/aggs-matrix-stats/build.gradle @@ -22,3 +22,9 @@ esplugin { classname 'org.elasticsearch.search.aggregations.matrix.MatrixAggregationPlugin' hasClientJar = true } + +restResources { + restApi { + includeCore '_common', 'indices', 'cluster', 'index', 'search', 'nodes' + } +} diff --git a/modules/analysis-common/build.gradle b/modules/analysis-common/build.gradle index 773c645f698..24e6e651c3f 100644 --- a/modules/analysis-common/build.gradle +++ b/modules/analysis-common/build.gradle @@ -23,6 +23,12 @@ esplugin { extendedPlugins = ['lang-painless'] } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'cluster', 'search', 'nodes', 'bulk', 'termvectors', 'explain', 'count' + } +} + dependencies { compileOnly project(':modules:lang-painless') } diff --git a/modules/ingest-common/build.gradle b/modules/ingest-common/build.gradle index 6590bdc1c52..2ff50f1543e 100644 --- a/modules/ingest-common/build.gradle +++ b/modules/ingest-common/build.gradle @@ -29,6 +29,12 @@ dependencies { compile project(':libs:elasticsearch-dissect') } +restResources { + restApi { + includeCore '_common', 'ingest', 'cluster', 'indices', 'index', 'bulk', 'nodes', 'get', 'update', 'cat', 'mget' + } +} + testClusters.integTest { // Needed in order to test ingest pipeline templating: // (this is because the integTest node is not using default distribution, but only the minimal number of required modules) diff --git a/modules/ingest-geoip/build.gradle b/modules/ingest-geoip/build.gradle index 944b3d55a11..60df6626c1e 100644 --- a/modules/ingest-geoip/build.gradle +++ b/modules/ingest-geoip/build.gradle @@ -34,6 +34,12 @@ dependencies { testCompile 'org.elasticsearch:geolite2-databases:20191119' } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'cluster', 'nodes', 'get', 'ingest' + } +} + task copyDefaultGeoIp2DatabaseFiles(type: Copy) { from { zipTree(configurations.testCompile.files.find { it.name.contains('geolite2-databases') }) } into "${project.buildDir}/ingest-geoip" diff --git a/modules/ingest-user-agent/build.gradle b/modules/ingest-user-agent/build.gradle index b3e17d58360..d45b30c9f1d 100644 --- a/modules/ingest-user-agent/build.gradle +++ b/modules/ingest-user-agent/build.gradle @@ -22,6 +22,12 @@ esplugin { classname 'org.elasticsearch.ingest.useragent.IngestUserAgentPlugin' } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'cluster', 'nodes', 'get', 'ingest' + } +} + testClusters.integTest { extraConfigFile 'ingest-user-agent/test-regexes.yml', file('src/test/test-regexes.yml') } diff --git a/modules/lang-expression/build.gradle b/modules/lang-expression/build.gradle index 2fd6e53effa..d3a165c13b9 100644 --- a/modules/lang-expression/build.gradle +++ b/modules/lang-expression/build.gradle @@ -29,6 +29,11 @@ dependencies { compile 'org.ow2.asm:asm-commons:5.0.4' compile 'org.ow2.asm:asm-tree:5.0.4' } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'cluster', 'nodes', 'search' + } +} dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' diff --git a/modules/lang-mustache/build.gradle b/modules/lang-mustache/build.gradle index 486793ab561..dd29def8a98 100644 --- a/modules/lang-mustache/build.gradle +++ b/modules/lang-mustache/build.gradle @@ -27,3 +27,9 @@ dependencies { compile "com.github.spullara.mustache.java:compiler:0.9.6" } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'bulk', + 'put_script', 'render_search_template', 'search_template', 'msearch_template', 'lang_mustache' + } +} diff --git a/modules/lang-painless/build.gradle b/modules/lang-painless/build.gradle index 75e41dcf2e2..68a990a3dda 100644 --- a/modules/lang-painless/build.gradle +++ b/modules/lang-painless/build.gradle @@ -44,6 +44,13 @@ dependencyLicenses { mapping from: /asm-.*/, to: 'asm' } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'search', 'get', 'bulk', 'update', + 'scripts_painless_execute', 'put_script', 'delete_script' + } +} + test { // in WhenThingsGoWrongTests we intentionally generate an out of memory error, this prevents the heap from being dumped to disk jvmArgs '-XX:-OmitStackTraceInFastThrow', '-XX:-HeapDumpOnOutOfMemoryError' diff --git a/modules/mapper-extras/build.gradle b/modules/mapper-extras/build.gradle index 983aa475fd1..ccc2d2c2398 100644 --- a/modules/mapper-extras/build.gradle +++ b/modules/mapper-extras/build.gradle @@ -22,3 +22,9 @@ esplugin { classname 'org.elasticsearch.index.mapper.MapperExtrasPlugin' hasClientJar = true } + +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'search', 'get' + } +} diff --git a/modules/parent-join/build.gradle b/modules/parent-join/build.gradle index 67bcc9d54e8..28f2c1823a1 100644 --- a/modules/parent-join/build.gradle +++ b/modules/parent-join/build.gradle @@ -22,3 +22,9 @@ esplugin { classname 'org.elasticsearch.join.ParentJoinPlugin' hasClientJar = true } + +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'search' + } +} diff --git a/modules/percolator/build.gradle b/modules/percolator/build.gradle index 05fbd652e55..7aec920d6b0 100644 --- a/modules/percolator/build.gradle +++ b/modules/percolator/build.gradle @@ -27,6 +27,11 @@ dependencies { testCompile project(path: ':modules:parent-join', configuration: 'runtime') } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search', 'msearch' + } +} dependencyLicenses { // Don't check the client's license. We know it. dependencies = project.configurations.runtime.fileCollection { diff --git a/modules/rank-eval/build.gradle b/modules/rank-eval/build.gradle index 48396cc0a7f..5bc7506a594 100644 --- a/modules/rank-eval/build.gradle +++ b/modules/rank-eval/build.gradle @@ -23,6 +23,12 @@ esplugin { hasClientJar = true } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'rank_eval' + } +} + testClusters.integTest { // Modules who's integration is explicitly tested in integration tests module file(project(':modules:lang-mustache').tasks.bundlePlugin.archiveFile) diff --git a/modules/reindex/build.gradle b/modules/reindex/build.gradle index 5e500de1b7c..dae1b3baa5f 100644 --- a/modules/reindex/build.gradle +++ b/modules/reindex/build.gradle @@ -56,6 +56,13 @@ dependencies { testCompile project(path: ':modules:parent-join', configuration: 'runtime') } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'get', 'search', 'mget', 'count', + 'update_by_query', 'delete_by_query', 'reindex_rethrottle', 'tasks', 'reindex', 'put_script' + } +} + thirdPartyAudit.ignoreMissingClasses( // Commons logging 'javax.servlet.ServletContextEvent', diff --git a/modules/repository-url/build.gradle b/modules/repository-url/build.gradle index 31fba2964f0..cec28b1d00f 100644 --- a/modules/repository-url/build.gradle +++ b/modules/repository-url/build.gradle @@ -26,7 +26,13 @@ esplugin { classname 'org.elasticsearch.plugin.repository.url.URLRepositoryPlugin' } -// This directory is shared between two URL repositories and one FS repository in YAML integration tests +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'bulk', 'count', 'snapshot' + } +} + + // This directory is shared between two URL repositories and one FS repository in YAML integration tests File repositoryDir = new File(project.buildDir, "shared-repository") /** A task to start the URLFixture which exposes the repositoryDir over HTTP **/ diff --git a/modules/transport-netty4/build.gradle b/modules/transport-netty4/build.gradle index 99461b10590..ea6c749adb6 100644 --- a/modules/transport-netty4/build.gradle +++ b/modules/transport-netty4/build.gradle @@ -44,6 +44,12 @@ dependencies { compile "io.netty:netty-transport:${versions.netty}" } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} + dependencyLicenses { mapping from: /netty-.*/, to: 'netty' } diff --git a/plugins/analysis-icu/build.gradle b/plugins/analysis-icu/build.gradle index 19e484c0d21..419f0bebbac 100644 --- a/plugins/analysis-icu/build.gradle +++ b/plugins/analysis-icu/build.gradle @@ -36,6 +36,12 @@ dependencies { compile "com.ibm.icu:icu4j:${versions.icu4j}" } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} + dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' } diff --git a/plugins/analysis-kuromoji/build.gradle b/plugins/analysis-kuromoji/build.gradle index 333818a8d61..85c8b472ace 100644 --- a/plugins/analysis-kuromoji/build.gradle +++ b/plugins/analysis-kuromoji/build.gradle @@ -26,6 +26,12 @@ dependencies { compile "org.apache.lucene:lucene-analyzers-kuromoji:${versions.lucene}" } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} + dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' } diff --git a/plugins/analysis-nori/build.gradle b/plugins/analysis-nori/build.gradle index a9d3a1126dc..c732ec9037d 100644 --- a/plugins/analysis-nori/build.gradle +++ b/plugins/analysis-nori/build.gradle @@ -26,6 +26,11 @@ dependencies { compile "org.apache.lucene:lucene-analyzers-nori:${versions.lucene}" } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' } diff --git a/plugins/analysis-phonetic/build.gradle b/plugins/analysis-phonetic/build.gradle index 61c4fdbd583..82091b91d9e 100644 --- a/plugins/analysis-phonetic/build.gradle +++ b/plugins/analysis-phonetic/build.gradle @@ -27,6 +27,12 @@ dependencies { compile "commons-codec:commons-codec:${versions.commonscodec}" } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} + dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' } diff --git a/plugins/analysis-smartcn/build.gradle b/plugins/analysis-smartcn/build.gradle index ebe44850d00..a6d287ef690 100644 --- a/plugins/analysis-smartcn/build.gradle +++ b/plugins/analysis-smartcn/build.gradle @@ -26,6 +26,12 @@ dependencies { compile "org.apache.lucene:lucene-analyzers-smartcn:${versions.lucene}" } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} + dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' } diff --git a/plugins/analysis-stempel/build.gradle b/plugins/analysis-stempel/build.gradle index 488e99ec912..7f90e108173 100644 --- a/plugins/analysis-stempel/build.gradle +++ b/plugins/analysis-stempel/build.gradle @@ -26,6 +26,12 @@ dependencies { compile "org.apache.lucene:lucene-analyzers-stempel:${versions.lucene}" } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} + dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' } diff --git a/plugins/analysis-ukrainian/build.gradle b/plugins/analysis-ukrainian/build.gradle index 0e254e5f050..cec538d7d79 100644 --- a/plugins/analysis-ukrainian/build.gradle +++ b/plugins/analysis-ukrainian/build.gradle @@ -29,6 +29,12 @@ dependencies { compile "ua.net.nlp:morfologik-ukrainian-search:3.7.5" } +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} + dependencyLicenses { mapping from: /lucene-.*/, to: 'lucene' mapping from: /morfologik-.*/, to: 'lucene' diff --git a/plugins/discovery-azure-classic/build.gradle b/plugins/discovery-azure-classic/build.gradle index 3dfeef72fb9..196a60ef83d 100644 --- a/plugins/discovery-azure-classic/build.gradle +++ b/plugins/discovery-azure-classic/build.gradle @@ -57,6 +57,11 @@ dependencies { compile 'javax.xml.bind:jaxb-api:2.2.2' } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} // needed to be consistent with ssl host checking String host = InetAddress.getLoopbackAddress().getHostAddress() diff --git a/plugins/discovery-ec2/build.gradle b/plugins/discovery-ec2/build.gradle index 401a204b3ea..a4e7453b353 100644 --- a/plugins/discovery-ec2/build.gradle +++ b/plugins/discovery-ec2/build.gradle @@ -40,6 +40,12 @@ dependencies { compile "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}" } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} + dependencyLicenses { mapping from: /aws-java-sdk-.*/, to: 'aws-java-sdk' mapping from: /jackson-.*/, to: 'jackson' diff --git a/plugins/discovery-ec2/qa/amazon-ec2/build.gradle b/plugins/discovery-ec2/qa/amazon-ec2/build.gradle index 023c864d62e..a10d9feccfd 100644 --- a/plugins/discovery-ec2/qa/amazon-ec2/build.gradle +++ b/plugins/discovery-ec2/qa/amazon-ec2/build.gradle @@ -32,6 +32,12 @@ dependencies { testCompile project(path: ':plugins:discovery-ec2', configuration: 'runtime') } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} + final int ec2NumberOfNodes = 3 Map expansions = [ diff --git a/plugins/discovery-gce/build.gradle b/plugins/discovery-gce/build.gradle index 7e5c29ff5c3..275eb9312a3 100644 --- a/plugins/discovery-gce/build.gradle +++ b/plugins/discovery-gce/build.gradle @@ -21,6 +21,12 @@ dependencies { compile "commons-codec:commons-codec:${versions.commonscodec}" } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} + dependencyLicenses { mapping from: /google-.*/, to: 'google' } diff --git a/plugins/discovery-gce/qa/gce/build.gradle b/plugins/discovery-gce/qa/gce/build.gradle index 3a5bf84c7ba..7eb2fe13aae 100644 --- a/plugins/discovery-gce/qa/gce/build.gradle +++ b/plugins/discovery-gce/qa/gce/build.gradle @@ -33,6 +33,12 @@ dependencies { testCompile project(path: ':plugins:discovery-gce', configuration: 'runtime') } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} + /** A task to start the GCEFixture which emulates a GCE service **/ task gceFixture(type: AntFixture) { dependsOn compileTestJava diff --git a/plugins/ingest-attachment/build.gradle b/plugins/ingest-attachment/build.gradle index d5f0928fb7d..283893ffd39 100644 --- a/plugins/ingest-attachment/build.gradle +++ b/plugins/ingest-attachment/build.gradle @@ -72,6 +72,12 @@ dependencies { compile 'org.apache.commons:commons-lang3:3.9' } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'ingest', 'index', 'get' + } +} + dependencyLicenses { mapping from: /apache-mime4j-.*/, to: 'apache-mime4j' } diff --git a/plugins/mapper-annotated-text/build.gradle b/plugins/mapper-annotated-text/build.gradle index 8ce1ca2a416..2ae9a9278b0 100644 --- a/plugins/mapper-annotated-text/build.gradle +++ b/plugins/mapper-annotated-text/build.gradle @@ -21,3 +21,9 @@ esplugin { description 'The Mapper Annotated_text plugin adds support for text fields with markup used to inject annotation tokens into the index.' classname 'org.elasticsearch.plugin.mapper.AnnotatedTextPlugin' } + +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} diff --git a/plugins/mapper-murmur3/build.gradle b/plugins/mapper-murmur3/build.gradle index 5b985d9138f..f556e82db38 100644 --- a/plugins/mapper-murmur3/build.gradle +++ b/plugins/mapper-murmur3/build.gradle @@ -21,3 +21,9 @@ esplugin { description 'The Mapper Murmur3 plugin allows to compute hashes of a field\'s values at index-time and to store them in the index.' classname 'org.elasticsearch.plugin.mapper.MapperMurmur3Plugin' } + +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'search' + } +} diff --git a/plugins/mapper-size/build.gradle b/plugins/mapper-size/build.gradle index 5a49ce5d04b..0c757b4966b 100644 --- a/plugins/mapper-size/build.gradle +++ b/plugins/mapper-size/build.gradle @@ -21,3 +21,9 @@ esplugin { description 'The Mapper Size plugin allows document to record their uncompressed size at index time.' classname 'org.elasticsearch.plugin.mapper.MapperSizePlugin' } + +restResources { + restApi { + includeCore '_common', 'indices', 'index', 'get' + } +} diff --git a/plugins/repository-azure/build.gradle b/plugins/repository-azure/build.gradle index 4cc45d52a9c..0f338d2580e 100644 --- a/plugins/repository-azure/build.gradle +++ b/plugins/repository-azure/build.gradle @@ -32,6 +32,12 @@ dependencies { testCompile project(':test:fixtures:azure-fixture') } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} + dependencyLicenses { mapping from: /azure-.*/, to: 'azure' mapping from: /jackson-.*/, to: 'jackson' diff --git a/plugins/repository-azure/qa/microsoft-azure-storage/build.gradle b/plugins/repository-azure/qa/microsoft-azure-storage/build.gradle index 529ee899fc8..b594ff3b172 100644 --- a/plugins/repository-azure/qa/microsoft-azure-storage/build.gradle +++ b/plugins/repository-azure/qa/microsoft-azure-storage/build.gradle @@ -29,6 +29,12 @@ apply plugin: 'elasticsearch.standalone-rest-test' apply plugin: 'elasticsearch.rest-test' apply plugin: 'elasticsearch.test.fixtures' +restResources { + restApi { + includeCore '_common', 'snapshot', 'bulk', 'count', 'indices' + } +} + testFixtures.useFixture ":test:fixtures:azure-fixture", "azure-fixture" boolean useFixture = false diff --git a/plugins/repository-gcs/build.gradle b/plugins/repository-gcs/build.gradle index 3713dbb752c..12788d45b45 100644 --- a/plugins/repository-gcs/build.gradle +++ b/plugins/repository-gcs/build.gradle @@ -58,6 +58,12 @@ dependencies { testCompile project(':test:fixtures:gcs-fixture') } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes' + } +} + dependencyLicenses { mapping from: /google-cloud-.*/, to: 'google-cloud' mapping from: /google-auth-.*/, to: 'google-auth' diff --git a/plugins/repository-gcs/qa/google-cloud-storage/build.gradle b/plugins/repository-gcs/qa/google-cloud-storage/build.gradle index 751589caea8..2cf4ae5456e 100644 --- a/plugins/repository-gcs/qa/google-cloud-storage/build.gradle +++ b/plugins/repository-gcs/qa/google-cloud-storage/build.gradle @@ -36,6 +36,12 @@ dependencies { testCompile project(path: ':plugins:repository-gcs') } +restResources { + restApi { + includeCore '_common', 'snapshot','indices', 'index', 'bulk', 'count' + } +} + testFixtures.useFixture(':test:fixtures:gcs-fixture') boolean useFixture = false diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle index e6ae2e8c9de..1c78f6ad059 100644 --- a/plugins/repository-hdfs/build.gradle +++ b/plugins/repository-hdfs/build.gradle @@ -74,6 +74,12 @@ dependencies { } } +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'snapshot' + } +} + normalization { runtimeClasspath { // ignore generated keytab files for the purposes of build avoidance diff --git a/plugins/store-smb/build.gradle b/plugins/store-smb/build.gradle index f2238e0a49c..87aad3e5976 100644 --- a/plugins/store-smb/build.gradle +++ b/plugins/store-smb/build.gradle @@ -21,4 +21,8 @@ esplugin { description 'The Store SMB plugin adds support for SMB stores.' classname 'org.elasticsearch.plugin.store.smb.SMBStorePlugin' } - +restResources { + restApi { + includeCore '_common', 'cluster', 'nodes', 'index', 'indices', 'get' + } +} diff --git a/x-pack/plugin/autoscaling/qa/rest/build.gradle b/x-pack/plugin/autoscaling/qa/rest/build.gradle index 631c6e950ee..d7d66eeffc2 100644 --- a/x-pack/plugin/autoscaling/qa/rest/build.gradle +++ b/x-pack/plugin/autoscaling/qa/rest/build.gradle @@ -11,6 +11,7 @@ dependencies { restResources { restApi { + includeCore '_common' includeXpack 'autoscaling' } } diff --git a/x-pack/plugin/ccr/qa/rest/build.gradle b/x-pack/plugin/ccr/qa/rest/build.gradle index d95ac271df5..fd16660178c 100644 --- a/x-pack/plugin/ccr/qa/rest/build.gradle +++ b/x-pack/plugin/ccr/qa/rest/build.gradle @@ -5,8 +5,9 @@ apply plugin: 'elasticsearch.standalone-test' restResources { restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'info' includeXpack 'ccr' - } + } } dependencies { diff --git a/x-pack/plugin/enrich/qa/rest/build.gradle b/x-pack/plugin/enrich/qa/rest/build.gradle index 209154dd448..93441347417 100644 --- a/x-pack/plugin/enrich/qa/rest/build.gradle +++ b/x-pack/plugin/enrich/qa/rest/build.gradle @@ -4,6 +4,7 @@ apply plugin: 'elasticsearch.rest-test' restResources { restApi { + includeCore '_common', 'indices', 'index' includeXpack 'enrich' } } diff --git a/x-pack/plugin/eql/qa/rest/build.gradle b/x-pack/plugin/eql/qa/rest/build.gradle index a7e94fcba6d..43077d1d5c5 100644 --- a/x-pack/plugin/eql/qa/rest/build.gradle +++ b/x-pack/plugin/eql/qa/rest/build.gradle @@ -6,6 +6,7 @@ apply plugin: 'elasticsearch.rest-test' restResources { restApi { + includeCore '_common', 'bulk' includeXpack 'eql' } } diff --git a/x-pack/plugin/graph/qa/with-security/build.gradle b/x-pack/plugin/graph/qa/with-security/build.gradle index 869e926102d..2f0461dd3f1 100644 --- a/x-pack/plugin/graph/qa/with-security/build.gradle +++ b/x-pack/plugin/graph/qa/with-security/build.gradle @@ -9,6 +9,7 @@ dependencies { // bring in graph rest test suite restResources { restApi { + includeCore '_common', 'cluster', 'indices', 'index' includeXpack 'graph' } restTests { diff --git a/x-pack/plugin/ilm/qa/rest/build.gradle b/x-pack/plugin/ilm/qa/rest/build.gradle index 5893b56bde6..c217af251ee 100644 --- a/x-pack/plugin/ilm/qa/rest/build.gradle +++ b/x-pack/plugin/ilm/qa/rest/build.gradle @@ -10,6 +10,7 @@ dependencies { restResources { restApi { + includeCore '_common', 'cluster', 'indices', 'index', 'snapshot' includeXpack 'ilm', 'slm' } } diff --git a/x-pack/plugin/ml/qa/ml-with-security/build.gradle b/x-pack/plugin/ml/qa/ml-with-security/build.gradle index 516e5c626fc..1146db74510 100644 --- a/x-pack/plugin/ml/qa/ml-with-security/build.gradle +++ b/x-pack/plugin/ml/qa/ml-with-security/build.gradle @@ -11,6 +11,7 @@ dependencies { // bring in machine learning rest test suite restResources { restApi { + includeCore '_common', 'cluster', 'nodes', 'indices', 'index', 'search', 'get', 'count', 'ingest' includeXpack 'ml', 'cat' } restTests { diff --git a/x-pack/plugin/watcher/qa/rest/build.gradle b/x-pack/plugin/watcher/qa/rest/build.gradle index df648262e99..4d0ad83d7c9 100644 --- a/x-pack/plugin/watcher/qa/rest/build.gradle +++ b/x-pack/plugin/watcher/qa/rest/build.gradle @@ -21,6 +21,8 @@ artifacts { restResources { restApi { + includeCore '_common', 'cluster', 'nodes', 'search', 'get', 'indices', + 'index', 'put_script', 'ingest', 'count' includeXpack 'watcher', 'xpack' } }