Skip to content

Commit

Permalink
Generalized version numbers to a variable
Browse files Browse the repository at this point in the history
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
  • Loading branch information
owaiskazi19 committed Nov 4, 2022
1 parent 138dba7 commit 5309b2c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
20 changes: 12 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,29 @@ configurations {
}

dependencies {
implementation "org.opensearch:opensearch:3.0.0-SNAPSHOT"
implementation "org.opensearch.plugin:transport-netty4-client:3.0.0-SNAPSHOT"

def jacksonDatabindVersion = "2.12.6.1"
def opensearchVersion = "3.0.0-SNAPSHOT"

implementation("org.opensearch:opensearch:${opensearchVersion}")
implementation("org.opensearch.plugin:transport-netty4-client:${opensearchVersion}")
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.1'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.19.0'
implementation 'org.opensearch.client:opensearch-rest-client:3.0.0-SNAPSHOT'
implementation 'org.opensearch.client:opensearch-java:3.0.0-SNAPSHOT'
implementation("org.opensearch.client:opensearch-rest-client:${opensearchVersion}")
implementation("org.opensearch.client:opensearch-java:${opensearchVersion}")
implementation "io.netty:netty-all:4.1.73.Final"
implementation "org.apache.lucene:lucene-core:9.4.0-snapshot-ddf0d0a"
testCompileOnly ("junit:junit:4.13.2") {
exclude module : 'hamcrest'
exclude module : 'hamcrest-core'
}
implementation 'javax.xml.bind:jaxb-api:2.2.2'
implementation 'com.fasterxml.jackson.core:jackson-databind: 2.12.6.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml: 2.12.6.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310: 2.12.6.1'
implementation("com.fasterxml.jackson.core:jackson-databind:${jacksonDatabindVersion}")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonDatabindVersion}")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonDatabindVersion}")
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation "org.opensearch.test:framework:3.0.0-SNAPSHOT"
testImplementation("org.opensearch.test:framework:${opensearchVersion}")
requireJavadoc "org.plumelib:require-javadoc:1.0.4"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public ClusterStateResponse read(StreamInput in) throws IOException {
/**
* Invokes await on the ClusterStateResponseHandler count down latch
* @throws InterruptedException
* if await returns an exception
* if the response times out
*/
public void awaitResponse() throws InterruptedException {
inProgressLatch.await(ExtensionsOrchestrator.EXTENSION_REQUEST_WAIT_TIMEOUT, TimeUnit.SECONDS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public EnvironmentSettingsResponse read(StreamInput in) throws IOException {
/**
* Invokes await on the EnvironmentSettingsResponseHandler count down latch
* @throws InterruptedException
* if await returns an exception
* if the response times out
*/
public void awaitResponse() throws InterruptedException {
inProgressLatch.await(ExtensionsOrchestrator.EXTENSION_REQUEST_WAIT_TIMEOUT, TimeUnit.SECONDS);
Expand Down

0 comments on commit 5309b2c

Please sign in to comment.