Skip to content

Commit

Permalink
[1.2] Bump log4j to 2.15 and bump plugin to 1.2.1 (#325)
Browse files Browse the repository at this point in the history
* Pick log4j version bump

Signed-off-by: Joshua Li <[email protected]>

* Update release notes

Signed-off-by: Joshua Li <[email protected]>

* Revert version bump for workbench

Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 authored Dec 11, 2021
1 parent a675eac commit 89f4642
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/sql-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: SQL Java CI

on: [push, pull_request]

env:
OPENSEARCH_VERSION: '1.2.1-SNAPSHOT'

jobs:
build:

Expand All @@ -16,7 +19,7 @@ jobs:
java-version: 1.14

- name: Build with Gradle
run: ./gradlew build assemble -Dopensearch.version=1.2.0-SNAPSHOT
run: ./gradlew build assemble -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}

- name: Create Artifact Path
run: |
Expand All @@ -27,6 +30,7 @@ jobs:
- name: Upload SQL Coverage Report
uses: codecov/codecov-action@v1
with:
flags: sql-engine
token: ${{ secrets.CODECOV_TOKEN }}

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

buildscript {
ext {
opensearch_version = System.getProperty("opensearch.version", "1.2.0-SNAPSHOT")
opensearch_version = System.getProperty("opensearch.version", "1.2.1-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 @@ -41,7 +41,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.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.15.0'

testCompile group: 'junit', name: 'junit', version: '4.12'
}
2 changes: 1 addition & 1 deletion integ-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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.11.1'
testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.15.0'
testCompile project(':plugin')
testCompile project(':legacy')
testImplementation('org.junit.jupiter:junit-jupiter-api:5.6.2')
Expand Down
2 changes: 1 addition & 1 deletion ppl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,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.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.15.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.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### 2021-12-10 Version 1.2.1.0 Release Notes
Compatible with OpenSearch and OpenSearch Dashboards Version 1.2.1

### Bug fixes

* Bumping log4j to 2.15.0 ([#324](https://github.com/opensearch-project/sql/pull/324))

0 comments on commit 89f4642

Please sign in to comment.