2017-12-01 07:20:05 -05:00
|
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
|
|
|
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
|
|
|
|
dependencies {
|
2018-01-27 00:48:30 -05:00
|
|
|
testCompile project(path: xpackModule('core'))
|
|
|
|
testCompile project(path: xpackModule('watcher'))
|
|
|
|
testCompile project(path: xpackModule('monitoring'))
|
2017-12-01 07:20:05 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
integTestCluster {
|
2018-01-27 00:48:30 -05:00
|
|
|
plugin xpackProject('plugin').path
|
2017-12-01 07:20:05 -05:00
|
|
|
setting 'xpack.monitoring.enabled', 'true'
|
|
|
|
setting 'xpack.watcher.enabled', 'true'
|
|
|
|
setting 'xpack.security.enabled', 'false'
|
|
|
|
setting 'xpack.ml.enabled', 'false'
|
|
|
|
|
|
|
|
// exporter settings are configured dynamically in our tests
|
|
|
|
// configure a local exporter, the HTTP exporter is configured via dynamic settings change
|
|
|
|
//setting 'xpack.monitoring.exporters.my_local.type', 'local'
|
|
|
|
//setting 'xpack.monitoring.exporters.my_local.index.name.time_format', 'YYYY'
|
|
|
|
//setting 'xpack.monitoring.exporters.my_http.type', 'http'
|
|
|
|
//setting 'xpack.monitoring.exporters.my_http.host', 'http'
|
|
|
|
//setting 'xpack.monitoring.exporters.my_http.index.name.time_format', 'YYYY-MM'
|
|
|
|
// one of the exporters should configure cluster alerts
|
|
|
|
// setting 'xpack.monitoring.exporters.my_http.cluster_alerts.management.enabled', 'true'
|
|
|
|
}
|
|
|
|
|