2020-01-31 15:14:27 -05:00
|
|
|
import org.elasticsearch.gradle.info.BuildParams
|
|
|
|
|
2020-01-03 14:14:41 -05:00
|
|
|
apply plugin: 'elasticsearch.testclusters'
|
|
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
|
|
|
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
|
2020-02-26 09:13:41 -05:00
|
|
|
restResources {
|
|
|
|
restApi {
|
2020-03-19 13:28:59 -04:00
|
|
|
includeCore '_common', 'bulk'
|
2020-02-26 09:13:41 -05:00
|
|
|
includeXpack 'eql'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-03 14:14:41 -05:00
|
|
|
dependencies {
|
|
|
|
testCompile project(path: xpackModule('eql'), configuration: 'runtime')
|
|
|
|
testCompile project(path: xpackModule('eql:qa:common'), configuration: 'runtime')
|
|
|
|
}
|
|
|
|
|
|
|
|
testClusters.integTest {
|
|
|
|
testDistribution = 'DEFAULT'
|
2020-01-31 15:14:27 -05:00
|
|
|
if (BuildParams.isSnapshotBuild()) {
|
|
|
|
setting 'xpack.eql.enabled', 'true'
|
|
|
|
}
|
2020-01-03 14:14:41 -05:00
|
|
|
setting 'xpack.license.self_generated.type', 'basic'
|
|
|
|
setting 'xpack.monitoring.collection.enabled', 'true'
|
|
|
|
}
|