mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
The lang-mustache module has been extended to meet Watcher's needs: * The ability to refer the specific slots in arrays. * An `content_type` option controls whether json string escaping is used. Otherwise there is no escaping. Closes elastic/elasticsearch#1116 Other changes: * I changed tests that were just using mustache just because it was around to not use mustache * I moved tests to `test-xpack-with-mustache` module that were testing mustache with Watcher * added smoke test for watcher and mustache * moved some tests around * instead of using DefaultTextTemplateEngine in watcher tests use MockTextTemplateEngine * added a mock mustache script engine * Cleanup some messy tests to not rely on mustache and move them back into xpack module * moved array access test to smoke test watcher with mustache module * test: simplified the condition search test to take the time component out of it, while still simulation a condition * removed the mustache dependency in the messy-test-watcher-with-groovy module Original commit: elastic/x-pack-elasticsearch@6a2a4e885f
16 lines
460 B
Groovy
16 lines
460 B
Groovy
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
dependencies {
|
|
testCompile project(path: ':x-plugins:elasticsearch:x-pack', configuration: 'runtime')
|
|
testCompile project(path: ':modules:lang-mustache', configuration: 'runtime')
|
|
}
|
|
|
|
integTest {
|
|
cluster {
|
|
plugin 'x-pack', project(':x-plugins:elasticsearch:x-pack')
|
|
systemProperty 'es.shield.enabled', 'false'
|
|
systemProperty 'es.marvel.enabled', 'false'
|
|
systemProperty 'es.http.port', '9400'
|
|
}
|
|
}
|