21 lines
880 B
Groovy
21 lines
880 B
Groovy
apply plugin: 'elasticsearch.testclusters'
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
|
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
dependencies {
|
|
testImplementation project(path: xpackModule('enrich'))
|
|
testImplementation project(path: xpackModule('core'))
|
|
testImplementation project(path: xpackModule('enrich:qa:common'))
|
|
}
|
|
|
|
testClusters.integTest {
|
|
testDistribution = 'DEFAULT'
|
|
extraConfigFile 'roles.yml', file('roles.yml')
|
|
user username: "test_admin", password: "x-pack-test-password", role: "superuser"
|
|
user username: "test_enrich", password: "x-pack-test-password", role: "enrich_user,integ_test_role"
|
|
user username: "test_enrich_no_privs", password: "x-pack-test-password", role: "enrich_no_privs"
|
|
setting 'xpack.license.self_generated.type', 'basic'
|
|
setting 'xpack.security.enabled', 'true'
|
|
setting 'xpack.monitoring.collection.enabled', 'true'
|
|
}
|