Skip to content

Commit

Permalink
Bump log4j to 2.16 and plugin to 1.2.2 (#338)
Browse files Browse the repository at this point in the history
* Bump log4j to 2.16 and plugin to 1.2.2

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Add release notes

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Bump bwc to 1.2.2-SNAPSHOT

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Use opensearch_version for bwc

Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 authored Dec 15, 2021
1 parent 1dfaa1b commit 106dae5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sql-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: SQL Java CI
on: [push, pull_request]

env:
OPENSEARCH_VERSION: '1.2.1-SNAPSHOT'
OPENSEARCH_VERSION: '1.2.2-SNAPSHOT'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

buildscript {
ext {
opensearch_version = System.getProperty("opensearch.version", "1.2.1-SNAPSHOT")
opensearch_version = System.getProperty("opensearch.version", "1.2.2-SNAPSHOT")
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies {
compile "org.antlr:antlr4-runtime:4.7.1"
// https://github.com/google/guava/wiki/CVE-2018-10237
compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.15.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.16.0'

testCompile group: 'junit', name: 'junit', version: '4.12'
}
4 changes: 2 additions & 2 deletions integ-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dependencies {
testCompile group: 'org.opensearch.client', name: 'opensearch-rest-high-level-client', version: "${opensearch_version}"
testCompile group: 'org.opensearch.client', name: 'opensearch-rest-client', version: "${opensearch_version}"
testCompile group: 'org.hamcrest', name: 'hamcrest', version: '2.1'
testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.15.0'
testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.16.0'
testCompile project(':plugin')
testCompile project(':legacy')
testImplementation('org.junit.jupiter:junit-jupiter-api:5.6.2')
Expand Down Expand Up @@ -212,7 +212,7 @@ String bwcFilePath = "src/test/resources/bwc/"
testClusters {
"${baseName}$i" {
testDistribution = "ARCHIVE"
versions = ["7.10.2", "1.2.1-SNAPSHOT"]
versions = ["7.10.2", opensearch_version]
numberOfNodes = 3
plugin(provider(new Callable<RegularFile>() {
@Override
Expand Down
2 changes: 1 addition & 1 deletion ppl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies {
compile group: 'org.json', name: 'json', version: '20180813'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.5.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.5.RELEASE'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.15.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.16.0'
compile project(':common')
compile project(':core')
compile project(':protocol')
Expand Down
6 changes: 6 additions & 0 deletions release-notes/opensearch-sql.release-notes-1.2.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### Version 1.2.2.0 Release Notes
Compatible with OpenSearch and OpenSearch Dashboards Version 1.2.2

### Bug fixes

* Bump log4j to 2.16 and plugin to 1.2.2 ([#338](https://github.com/opensearch-project/sql/pull/338))

0 comments on commit 106dae5

Please sign in to comment.