Skip to content

Commit

Permalink
adapt to OpenSearch 2.x
Browse files Browse the repository at this point in the history
resolves opensearch-project#66

Signed-off-by: Ralph Ursprung <[email protected]>
  • Loading branch information
rursprung committed Jun 5, 2024
1 parent d5f3c83 commit 486c74e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
if: matrix.os != 'windows-latest'
run: |
# Task to auto update version to the next development iteration
./gradlew updateVersion -DnewVersion=2.1.0-SNAPSHOT
./gradlew updateVersion -DnewVersion=2.15.0-SNAPSHOT
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ validateNebulaPom.enabled = false

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

repositories {
Expand Down Expand Up @@ -114,6 +114,8 @@ run {
useCluster testClusters.integTest
}

dependencyLicenses.enabled = false

// updateVersion: Task to auto update version to the next development iteration
task updateVersion {
onlyIf { System.getProperty('newVersion') }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
package org.opensearch.path.to.plugin;

import com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope;
import org.apache.hc.core5.http.ParseException;
import org.apache.hc.core5.http.io.entity.EntityUtils;
import org.apache.http.ParseException;
import org.apache.http.util.EntityUtils;
import org.opensearch.client.Request;
import org.opensearch.client.Response;
import org.opensearch.plugins.Plugin;
Expand Down

0 comments on commit 486c74e

Please sign in to comment.