Skip to content

Commit 97e3191

Browse files
authored
Bump com.github.spullara.mustache.java:compiler from 0.9.10 to 0.9.11 (opensearch-project#13329)
* Bump com.github.spullara.mustache.java:compiler from 0.9.10 to 0.9.11 Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> * Fix error in yamlRestTest Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com>
1 parent ab7e914 commit 97e3191

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4242
- Update google dependencies in repository-gcs and discovery-gce ([#13213](https://github.com/opensearch-project/OpenSearch/pull/13213))
4343
- Bump `com.google.apis:google-api-services-compute` from v1-rev235-1.25.0 to v1-rev20240407-2.0.0 ([#13333](https://github.com/opensearch-project/OpenSearch/pull/13333))
4444
- Bump `commons-cli:commons-cli` from 1.6.0 to 1.7.0 ([#13331](https://github.com/opensearch-project/OpenSearch/pull/13331))
45+
- Bump `com.github.spullara.mustache.java:compiler` from 0.9.10 to 0.9.11 ([#13329](https://github.com/opensearch-project/OpenSearch/pull/13329))
4546

4647
### Changed
4748
- [BWC and API enforcement] Enforcing the presence of API annotations at build time ([#12872](https://github.com/opensearch-project/OpenSearch/pull/12872))

modules/lang-mustache/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ opensearchplugin {
3838
}
3939

4040
dependencies {
41-
api "com.github.spullara.mustache.java:compiler:0.9.10"
41+
api "com.github.spullara.mustache.java:compiler:0.9.11"
4242
}
4343

4444
restResources {

modules/lang-mustache/licenses/compiler-0.9.10.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1bce858aca4f0ce93fdb939de8c8474431c06322

modules/lang-mustache/src/yamlRestTest/resources/rest-api-spec/test/lang_mustache/20_render_search_template.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
- match: { template_output.aggs.my_terms.terms.field: "my_other_field" }
4848

4949
- do:
50-
catch: /Improperly.closed.variable.in.query-template/
50+
catch: /Improperly.closed.variable:.my_value.in.query-template/
5151
render_search_template:
5252
body: { "source": { "query": { "match": { "text": "{{{my_value}}" } }, "aggs": { "my_terms": { "terms": { "field": "{{my_field}}" } } } }, "params": { "my_value": "bar", "my_field": "field1" } }
5353
---
@@ -99,7 +99,7 @@
9999
- match: { template_output.size: 100 }
100100

101101
- do:
102-
catch: /Improperly.closed.variable.in.query-template/
102+
catch: /Improperly.closed.variable:.my_value.in.query-template/
103103
render_search_template:
104104
body: { "source": "{ \"query\": { \"match\": { \"text\": \"{{{my_value}}\" } }, \"size\": {{my_size}} }", "params": { "my_value": "bar", "my_size": 100 } }
105105

0 commit comments

Comments
 (0)