Skip to content

Commit

Permalink
* added support for mustache scripting of rollup.target_index field
Browse files Browse the repository at this point in the history
* defekt fixes
* tests
* small refactor/improvements
* added wildcard check when creating rollup job; removed resolving targetIndex on Rollup init; added test for wildcards
* lint fixes
* moved target_index validation in getRollup resp handler
* added using toMap()
* exception fix
* linter fix
* fixed IT fail
* added Exception catch block

Signed-off-by: Petar Dzepina <[email protected]>
  • Loading branch information
petardz committed Aug 10, 2022
1 parent 7ca8c83 commit 8b9a825
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ class RollupFieldValueExpressionResolverTests : OpenSearchTestCase() {
private val scriptService: ScriptService = mock()
private val clusterService: ClusterService = mock()
private val indexAliasUtils: RollupFieldValueExpressionResolver.IndexAliasUtils = mock()

@Before
fun settings() {
RollupFieldValueExpressionResolver.registerServices(scriptService, clusterService)
clusterService.state()
}

fun `test resolving no alias successfully`() {
Expand Down

0 comments on commit 8b9a825

Please sign in to comment.