29 lines
873 B
Groovy
29 lines
873 B
Groovy
apply plugin: 'elasticsearch.yaml-rest-test'
|
|
apply plugin: 'elasticsearch.java-rest-test'
|
|
|
|
dependencies {
|
|
yamlRestTestImplementation project(path: ':x-pack:plugin:watcher:qa:common')
|
|
javaRestTestImplementation project(path: ':x-pack:plugin:watcher:qa:common')
|
|
javaRestTestImplementation project(':x-pack:qa')
|
|
}
|
|
|
|
artifacts {
|
|
restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
|
|
}
|
|
|
|
restResources {
|
|
restApi {
|
|
includeCore '_common', 'cluster', 'nodes', 'search', 'get', 'indices',
|
|
'index', 'put_script', 'ingest', 'count'
|
|
includeXpack 'watcher', 'xpack'
|
|
}
|
|
}
|
|
|
|
testClusters.all {
|
|
testDistribution = 'DEFAULT'
|
|
setting 'xpack.security.enabled', 'false'
|
|
setting 'xpack.ml.enabled', 'false'
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
|
setting 'logger.org.elasticsearch.xpack.watcher', 'DEBUG'
|
|
}
|