Skip to content

Commit

Permalink
JarHell caused by latest software.amazon.awssdk 2.20.141
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Sep 6, 2023
1 parent 301687d commit 6ab8a31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Removed

### Fixed
- [BUG] JarHell caused by latest software.amazon.awssdk 2.20.141 ([#616](https://github.com/opensearch-project/opensearch-java/pull/616))

### Security

Expand Down
6 changes: 6 additions & 0 deletions java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ plugins {
}
apply(plugin = "opensearch.repositories")

configurations {
all {
exclude(group = "software.amazon.awssdk", module = "third-party-jackson-core")
}
}

checkstyle {
toolVersion = "10.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public void testCatPitSegments() throws Exception {

assertNotNull("PitSegmentsResponse.segments() is null", PitSegmentsResponse.valueBody());
assertTrue("PitSegmentsResponse.segments().size() == 0",
PitSegmentsResponse.valueBody().size() > 0);
PitSegmentsResponse.valueBody().isEmpty());
}

private void createIndex(String indexName) throws Exception {
Expand Down

0 comments on commit 6ab8a31

Please sign in to comment.