OpenSearch/x-pack/plugin/eql/qa/rest/build.gradle

26 lines
689 B
Groovy

import org.elasticsearch.gradle.info.BuildParams
apply plugin: 'elasticsearch.testclusters'
apply plugin: 'elasticsearch.standalone-rest-test'
apply plugin: 'elasticsearch.rest-test'
apply plugin: 'elasticsearch.rest-resources'
restResources {
restApi {
includeCore '_common', 'bulk', 'indices'
includeXpack 'eql', 'indices'
}
}
dependencies {
testImplementation project(path: xpackModule('eql'))
testImplementation project(path: xpackModule('eql:qa:common'))
}
testClusters.integTest {
testDistribution = 'DEFAULT'
setting 'xpack.eql.enabled', 'true'
setting 'xpack.license.self_generated.type', 'basic'
setting 'xpack.monitoring.collection.enabled', 'true'
}