Skip to content

Commit

Permalink
Opensearch version set to 2.17.1
Browse files Browse the repository at this point in the history
Signed-off-by: pusranja <[email protected]>
  • Loading branch information
pushp-ranja committed Jan 28, 2025
1 parent fccb710 commit 9f65be8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@ repositories {
}

allprojects {
version = '3.0.0-SNAPSHOT'

version = '2.17.1-SNAPSHOT'
// Force using a newer version, due to guava vulnerability CVE-2023-2976. Remove after Gradle upgrades its default version.
checkstyle {
toolVersion = "10.12.3"
}

java {
targetCompatibility = JavaVersion.VERSION_21
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
}
}

Expand All @@ -40,9 +39,9 @@ subprojects {
apply plugin: 'com.diffplug.spotless'

ext {
opensearch_version = System.getProperty("opensearch.version", "3.0.0-SNAPSHOT")
opensearch_version = System.getProperty("opensearch.version", "2.17.1-SNAPSHOT")
sdk_version = "3.24.0"
jackson_version = "2.18.2"
jackson_version = "2.17.2"
}

repositories {
Expand Down Expand Up @@ -76,7 +75,7 @@ subprojects {
force "org.bouncycastle:bcutil-jdk15to18:1.78.1"
}
}

dependencies {
// Test dependencies
testImplementation 'org.assertj:assertj-core:3.18.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import org.opensearch.plugins.Plugin;
import org.opensearch.search.builder.SearchSourceBuilder;
import org.opensearch.test.OpenSearchIntegTestCase;
import org.opensearch.transport.Netty4ModulePlugin;
import org.opensearch.transport.Netty4Plugin;

import java.io.ByteArrayInputStream;
import java.io.IOException;
Expand Down Expand Up @@ -62,7 +62,7 @@ protected boolean addMockHttpTransport() {
@Override
protected Collection<Class<? extends Plugin>> nodePlugins() {
return Collections.unmodifiableCollection(
Lists.newArrayList(Netty4ModulePlugin.class, OciObjectStoragePlugin.class));
Lists.newArrayList(Netty4Plugin.class, OciObjectStoragePlugin.class));
}
/** ******************************* */
@Test
Expand Down

0 comments on commit 9f65be8

Please sign in to comment.