2018-01-22 08:52:22 -05:00
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
[7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
async-search, autoscaling, ccr, enrich, eql, frozen-indicies,
data-streams, graph, ilm, mapper-constant-keyword, mapper-flattened, ml
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
A follow up PR will address the remaining x-pack plugins (this PR is big enough as-is).
related: #61802
related: #56841
related: #59939
related: #55896
2020-09-02 12:19:24 -04:00
|
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
2018-05-17 09:17:15 -04:00
|
|
|
|
2018-01-22 08:52:22 -05:00
|
|
|
esplugin {
|
2019-11-14 06:01:23 -05:00
|
|
|
name 'x-pack-ilm'
|
|
|
|
description 'Elasticsearch Expanded Pack Plugin - Index Lifecycle Management'
|
|
|
|
classname 'org.elasticsearch.xpack.ilm.IndexLifecycle'
|
|
|
|
extendedPlugins = ['x-pack-core']
|
|
|
|
hasNativeController false
|
|
|
|
requiresKeystore true
|
2018-01-22 08:52:22 -05:00
|
|
|
}
|
2018-08-02 13:05:11 -04:00
|
|
|
archivesBaseName = 'x-pack-ilm'
|
2018-01-03 07:03:54 -05:00
|
|
|
|
|
|
|
dependencies {
|
2019-11-14 06:01:23 -05:00
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
2020-06-14 16:30:44 -04:00
|
|
|
testImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
|
2018-01-03 07:03:54 -05:00
|
|
|
}
|
|
|
|
|
2018-10-31 14:49:29 -04:00
|
|
|
// add all sub-projects of the qa sub-project
|
|
|
|
gradle.projectsEvaluated {
|
2019-11-14 06:01:23 -05:00
|
|
|
project.subprojects
|
|
|
|
.find { it.path == project.path + ":qa" }
|
|
|
|
.subprojects
|
|
|
|
.findAll { it.path.startsWith(project.path + ":qa") }
|
|
|
|
.each { check.dependsOn it.check }
|
2018-10-31 14:49:29 -04:00
|
|
|
}
|
2018-08-09 19:09:20 -04:00
|
|
|
|