2019-06-13 02:46:55 -04:00
|
|
|
apply plugin: 'elasticsearch.testclusters'
|
2017-01-04 14:27:53 -05:00
|
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
2015-12-10 09:34:30 -05:00
|
|
|
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
|
|
|
|
dependencies {
|
2019-06-04 16:50:23 -04:00
|
|
|
testCompile project(":x-pack:plugin:core")
|
2015-12-10 09:34:30 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// bring in graph rest test suite
|
2020-02-26 09:13:41 -05:00
|
|
|
restResources {
|
|
|
|
restApi {
|
2020-03-19 13:28:59 -04:00
|
|
|
includeCore '_common', 'cluster', 'indices', 'index'
|
2020-02-26 09:13:41 -05:00
|
|
|
includeXpack 'graph'
|
|
|
|
}
|
|
|
|
restTests {
|
|
|
|
includeXpack 'graph'
|
|
|
|
}
|
2015-12-10 09:34:30 -05:00
|
|
|
}
|
|
|
|
|
2019-06-13 02:46:55 -04:00
|
|
|
testClusters.integTest {
|
2019-07-15 20:53:05 -04:00
|
|
|
testDistribution = 'DEFAULT'
|
2018-03-21 23:09:44 -04:00
|
|
|
setting 'xpack.security.enabled', 'true'
|
2019-06-13 02:46:55 -04:00
|
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
|
|
|
|
|
|
|
extraConfigFile 'roles.yml', file('roles.yml')
|
|
|
|
user username: 'test_admin', password: 'x-pack-test-password'
|
|
|
|
user username: 'graph_explorer', password: 'x-pack-test-password', role: 'graph_explorer'
|
|
|
|
user username: 'no_graph_explorer', password: 'x-pack-test-password', role: 'no_graph_explorer'
|
2015-12-10 09:34:30 -05:00
|
|
|
}
|