2018-04-25 12:23:21 -07:00
|
|
|
evaluationDependsOn(xpackModule('core'))
|
|
|
|
|
2018-01-22 13:52:22 +00:00
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
2018-05-17 06:17:15 -07:00
|
|
|
|
2018-01-22 13:52:22 +00:00
|
|
|
esplugin {
|
2018-08-02 13:05:11 -04:00
|
|
|
name 'x-pack-ilm'
|
|
|
|
description 'Elasticsearch Expanded Pack Plugin - Index Lifecycle Management'
|
2018-01-22 13:52:22 +00:00
|
|
|
classname 'org.elasticsearch.xpack.indexlifecycle.IndexLifecycle'
|
2018-04-25 12:23:21 -07:00
|
|
|
extendedPlugins = ['x-pack-core']
|
2018-01-22 13:52:22 +00:00
|
|
|
hasNativeController false
|
|
|
|
requiresKeystore true
|
|
|
|
}
|
2018-08-02 13:05:11 -04:00
|
|
|
archivesBaseName = 'x-pack-ilm'
|
2018-01-03 12:03:54 +00:00
|
|
|
|
|
|
|
dependencies {
|
2018-07-25 13:05:35 -04:00
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'shadow')
|
2018-02-12 14:17:24 -08:00
|
|
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
2018-01-03 12:03:54 +00:00
|
|
|
}
|
|
|
|
|
2018-05-17 06:17:15 -07:00
|
|
|
integTestCluster {
|
|
|
|
numNodes = 2
|
2018-08-02 13:05:11 -04:00
|
|
|
clusterName = 'ilm'
|
2018-05-17 06:17:15 -07:00
|
|
|
setting 'xpack.security.enabled', 'false'
|
|
|
|
setting 'xpack.watcher.enabled', 'false'
|
|
|
|
setting 'xpack.monitoring.enabled', 'false'
|
|
|
|
setting 'xpack.ml.enabled', 'false'
|
2018-08-02 13:05:11 -04:00
|
|
|
setting 'xpack.ilm.enabled', 'true'
|
2018-05-17 06:17:15 -07:00
|
|
|
setting 'indices.lifecycle.poll_interval', '500ms'
|
|
|
|
module project(xpackModule('core'))
|
|
|
|
}
|
|
|
|
|
2018-01-22 13:52:22 +00:00
|
|
|
run {
|
2018-04-25 12:23:21 -07:00
|
|
|
plugin xpackModule('core')
|
2018-01-03 12:03:54 +00:00
|
|
|
}
|