Skip to content

Commit

Permalink
Increment version to 1.2.2 and backport log4j upgrade to 2.16. (#1728)
Browse files Browse the repository at this point in the history
* Increment version to 1.2.2.

Signed-off-by: dblock <[email protected]>

* Upgrade to log4j 2.16.0 (#1721) (#1723)

Signed-off-by: Andriy Redko <[email protected]>

* Moving DCO to workflows (#1458)

Signed-off-by: CEHENKLE <[email protected]>

Co-authored-by: Andriy Redko <[email protected]>
Co-authored-by: CEHENKLE <[email protected]>
  • Loading branch information
3 people authored Dec 15, 2021
1 parent e3a44fa commit 123d41c
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 11 deletions.
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ BWC_VERSION:
- "1.1.0"
- "1.1.1"
- "1.2.0"
- "1.2.1"
18 changes: 18 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Developer Certificate of Origin Check

on: [pull_request]

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
uses: tim-actions/[email protected]
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
4 changes: 2 additions & 2 deletions buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
opensearch = 1.2.1
opensearch = 1.2.2
lucene = 8.10.1

bundled_jdk_vendor = adoptopenjdk
Expand All @@ -13,7 +13,7 @@ jackson = 2.12.5
snakeyaml = 1.26
icu4j = 62.1
supercsv = 2.4.0
log4j = 2.15.0
log4j = 2.16.0
slf4j = 1.6.2

# when updating the JNA version, also update the version in buildSrc/build.gradle
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecbcfa4162e35b831705e97bbee546f81280ee6f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecbcfa4162e35b831705e97bbee546f81280ee6f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecbcfa4162e35b831705e97bbee546f81280ee6f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecbcfa4162e35b831705e97bbee546f81280ee6f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4cc7712ebb4744681db815679248e4312f61b32

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecbcfa4162e35b831705e97bbee546f81280ee6f
1 change: 0 additions & 1 deletion server/licenses/log4j-api-2.15.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions server/licenses/log4j-api-2.16.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4727d93a76616ffc4149dffac5801827c0f4ac71
1 change: 0 additions & 1 deletion server/licenses/log4j-core-2.15.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions server/licenses/log4j-core-2.16.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ca12fb3902ecfcba1e1357ebfc55407acec30ede
3 changes: 2 additions & 1 deletion server/src/main/java/org/opensearch/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
public static final Version V_1_1_1 = new Version(1010199, org.apache.lucene.util.Version.LUCENE_8_9_0);
public static final Version V_1_2_0 = new Version(1020099, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version V_1_2_1 = new Version(1020199, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version CURRENT = V_1_2_1;
public static final Version V_1_2_2 = new Version(1020299, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version CURRENT = V_1_2_2;

public static Version readVersion(StreamInput in) throws IOException {
return fromId(in.readVInt());
Expand Down

0 comments on commit 123d41c

Please sign in to comment.