Skip to content

Commit

Permalink
version upgrade to 2.1.0 (#389)
Browse files Browse the repository at this point in the history
* version upgrade to 2.1.0

Signed-off-by: Rupanshi Sharma <[email protected]>

* Renames master/Master to clusterManager/ClusterManager as mentioned here: opensearch-project/OpenSearch#3542

Signed-off-by: Rupanshi Sharma <[email protected]>

* Change XContentType.fromMediaTypeOrFormat to XContentType.fromMediaType in a test class to fix the unresolved method name error

Signed-off-by: Rupanshi Sharma <[email protected]>

* Upgrade gradle jar

Signed-off-by: Rupanshi Sharma <[email protected]>

* Revert "Renames master/Master to clusterManager/ClusterManager as mentioned here: opensearch-project/OpenSearch#3542"

This reverts commit 01dd024.

Signed-off-by: Rupanshi Sharma <[email protected]>

Co-authored-by: Rupanshi Sharma <[email protected]>
  • Loading branch information
rupanshisharma and Rupanshi Sharma authored Jun 24, 2022
1 parent ef0e360 commit 824105d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import java.util.function.Predicate
buildscript {
ext {
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
opensearch_version = System.getProperty("opensearch.version", "2.0.0-SNAPSHOT")
opensearch_version = System.getProperty("opensearch.version", "2.1.0-SNAPSHOT")
buildVersionQualifier = System.getProperty("build.version_qualifier", "")
// 2.0.0-SNAPSHOT -> 2.0.0.0-SNAPSHOT
version_tokens = opensearch_version.tokenize('-')
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ abstract class ODFERestTestCase : OpenSearchRestTestCase() {
waitFor {
val response = client().performRequest(Request("GET", "/_cat/thread_pool?format=json"))

val xContentType = XContentType.fromMediaTypeOrFormat(response.entity.contentType.value)
val xContentType = XContentType.fromMediaType(response.entity.contentType.value)
xContentType.xContent().createParser(
NamedXContentRegistry.EMPTY, DeprecationHandler.THROW_UNSUPPORTED_OPERATION,
response.entity.content
Expand Down Expand Up @@ -108,7 +108,7 @@ abstract class ODFERestTestCase : OpenSearchRestTestCase() {
// Delete all indices
val response = client().performRequest(Request("GET", "/_cat/indices?format=json&expand_wildcards=all"))

val xContentType = XContentType.fromMediaTypeOrFormat(response.entity.contentType.value)
val xContentType = XContentType.fromMediaType(response.entity.contentType.value)
xContentType.xContent().createParser(
NamedXContentRegistry.EMPTY, DeprecationHandler.THROW_UNSUPPORTED_OPERATION,
response.entity.content
Expand Down

0 comments on commit 824105d

Please sign in to comment.