Skip to content

Commit

Permalink
Bump com.github.spullara.mustache.java:compiler from 0.9.10 to 0.9.11 (
Browse files Browse the repository at this point in the history
…#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>
  • Loading branch information
cwperks committed Apr 23, 2024
1 parent ab7e914 commit 97e3191
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Update google dependencies in repository-gcs and discovery-gce ([#13213](https://github.com/opensearch-project/OpenSearch/pull/13213))
- 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))
- Bump `commons-cli:commons-cli` from 1.6.0 to 1.7.0 ([#13331](https://github.com/opensearch-project/OpenSearch/pull/13331))
- Bump `com.github.spullara.mustache.java:compiler` from 0.9.10 to 0.9.11 ([#13329](https://github.com/opensearch-project/OpenSearch/pull/13329))

### Changed
- [BWC and API enforcement] Enforcing the presence of API annotations at build time ([#12872](https://github.com/opensearch-project/OpenSearch/pull/12872))
Expand Down
2 changes: 1 addition & 1 deletion modules/lang-mustache/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ opensearchplugin {
}

dependencies {
api "com.github.spullara.mustache.java:compiler:0.9.10"
api "com.github.spullara.mustache.java:compiler:0.9.11"
}

restResources {
Expand Down
1 change: 0 additions & 1 deletion modules/lang-mustache/licenses/compiler-0.9.10.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions modules/lang-mustache/licenses/compiler-0.9.11.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1bce858aca4f0ce93fdb939de8c8474431c06322
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
- match: { template_output.aggs.my_terms.terms.field: "my_other_field" }

- do:
catch: /Improperly.closed.variable.in.query-template/
catch: /Improperly.closed.variable:.my_value.in.query-template/
render_search_template:
body: { "source": { "query": { "match": { "text": "{{{my_value}}" } }, "aggs": { "my_terms": { "terms": { "field": "{{my_field}}" } } } }, "params": { "my_value": "bar", "my_field": "field1" } }
---
Expand Down Expand Up @@ -99,7 +99,7 @@
- match: { template_output.size: 100 }

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

Expand Down

0 comments on commit 97e3191

Please sign in to comment.