2019-09-11 05:39:58 -04:00
|
|
|
apply plugin: 'elasticsearch.testclusters'
|
|
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
|
|
|
apply plugin: 'elasticsearch.rest-test'
|
2019-06-24 11:39:59 -04:00
|
|
|
|
|
|
|
dependencies {
|
2019-11-14 06:01:23 -05:00
|
|
|
testCompile project(path: xpackModule('enrich'), configuration: 'runtime')
|
|
|
|
testCompile project(path: xpackModule('core'), configuration: 'runtime')
|
|
|
|
testCompile project(path: xpackModule('enrich:qa:common'), configuration: 'runtime')
|
|
|
|
}
|
2019-06-24 11:39:59 -04:00
|
|
|
|
2019-11-14 06:01:23 -05:00
|
|
|
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'
|
2019-06-24 11:39:59 -04:00
|
|
|
}
|