Skip to content

Commit

Permalink
Update 2.1 release version (#232)
Browse files Browse the repository at this point in the history
* Adding _agent to uri path for PerformanceAnalyzerRCAHealthCheckIT (#225)

Signed-off-by: Ankit Jain <[email protected]>

* Update 2.1 release version

Signed-off-by: sruti1312 <[email protected]>

* Update gradle version

Signed-off-by: sruti1312 <[email protected]>

Co-authored-by: Ankit Jain <[email protected]>
  • Loading branch information
sruti1312 and jainankitk authored Jun 24, 2022
1 parent e5cfc3d commit 11546c5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
buildscript {

ext {
opensearch_version = System.getProperty("opensearch.version", "2.0.1-SNAPSHOT")
opensearch_version = System.getProperty("opensearch.version", "2.1.0-SNAPSHOT")
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
buildVersionQualifier = System.getProperty("build.version_qualifier", "")

// 2.0.1-SNAPSHOT -> 2.0.1.0-SNAPSHOT
// 2.1.0-SNAPSHOT -> 2.1.0.0-SNAPSHOT
version_tokens = opensearch_version.tokenize('-')
opensearch_build = version_tokens[0] + '.0'
if (buildVersionQualifier) {
Expand Down Expand Up @@ -63,9 +63,9 @@ spotbugsTest {
}

ext {
// The RCA branch that will be built. Default branch is 2.0.
// The RCA branch that will be built. Default branch is 2.1.
rcaProjectRepo = System.getProperty("performance-analyzer-rca.repo", "https://github.com/opensearch-project/performance-analyzer-rca.git")
rcaProjectBranch = System.getProperty("performance-analyzer-rca.branch", "2.0")
rcaProjectBranch = System.getProperty("performance-analyzer-rca.branch", "2.1")

// If true, then the build will clone the RCA Project into $rcaProjectDir
cloneRcaProject = "true" == System.getProperty("performance-analyzer-rca.build", "true")
Expand Down
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-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

This file was deleted.

1 change: 1 addition & 0 deletions licenses/performanceanalyzer-rca-2.1.0.0-SNAPSHOT.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3d56acab29397385232ab7720921f0328a2468b4
8 changes: 4 additions & 4 deletions src/main/resources/plugin-descriptor.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#
# classname=foo.bar.BazPlugin
# description=My cool plugin
# version=2.0
# opensearch.version=2.0
# version=2.1
# opensearch.version=2.1
# java.version=1.7
#
### mandatory elements for all plugins:
Expand All @@ -27,7 +27,7 @@
description=Performance Analyzer Plugin
#
# 'version': plugin's version
version=2.0.1.0
version=2.1.0.0
#
# 'name': the plugin name
name=performance-analyzer
Expand All @@ -42,4 +42,4 @@ classname=org.opensearch.performanceanalyzer.PerformanceAnalyzerPlugin
java.version=1.8
#
# 'opensearch.version' version of opensearch compiled against
opensearch.version=2.0.1
opensearch.version=2.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void checkMetrics(String paBaseUri) throws Exception {
new Request(
"GET",
paBaseUri
+ "/metrics/?metrics=Disk_Utilization&agg=max&dim=&nodes=all");
+ "/_agent/metrics/?metrics=Disk_Utilization&agg=max&dim=&nodes=all");
Response resp = paClient.performRequest(request);
Assert.assertEquals(HttpStatus.SC_OK, resp.getStatusLine().getStatusCode());
jsonString[0] = EntityUtils.toString(resp.getEntity());
Expand Down

0 comments on commit 11546c5

Please sign in to comment.