Skip to content

Commit 60add96

Browse files
authored
Merge branch 'opensearch-project:main' into nishcha-dev
2 parents cfa5ae4 + 0ef2c0b commit 60add96

8 files changed

Lines changed: 62 additions & 55 deletions

File tree

.github/workflows/delete_backport_branch.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ on:
77
jobs:
88
delete-branch:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
1012
if: startsWith(github.event.pull_request.head.ref,'backport/')
1113
steps:
12-
- name: Delete merged branch
13-
uses: SvanBoxel/delete-merged-branch@main
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
- name: Delete merged branch
15+
uses: actions/github-script@v7
16+
with:
17+
script: |
18+
github.rest.git.deleteRef({
19+
owner: context.repo.owner,
20+
repo: context.repo.repo,
21+
ref: `heads/${context.payload.pull_request.head.ref}`,
22+
})

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
java:
1616
- 21
17-
- 23
17+
- 24
1818
fail-fast: false
1919
runs-on: [ubuntu-latest]
2020
name: Building PA package

build.gradle

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
buildscript {
77

88
ext {
9-
opensearch_version = System.getProperty("opensearch.version", "3.1.0-SNAPSHOT")
9+
opensearch_version = System.getProperty("opensearch.version", "3.2.0-SNAPSHOT")
1010
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
1111
buildVersionQualifier = System.getProperty("build.version_qualifier", "")
1212

@@ -48,8 +48,8 @@ buildscript {
4848

4949
plugins {
5050
id 'java'
51-
id 'com.netflix.nebula.ospackage' version "11.6.0"
52-
id 'com.github.spotbugs' version '6.0.7'
51+
id 'com.netflix.nebula.ospackage' version "12.0.0"
52+
id 'com.github.spotbugs' version '6.2.2'
5353
id 'jacoco'
5454
id 'com.diffplug.spotless' version '6.25.0'
5555
id 'checkstyle'
@@ -59,7 +59,7 @@ plugins {
5959
}
6060

6161
checkstyle {
62-
toolVersion = '10.12.1'
62+
toolVersion = '10.26.1'
6363
configFile file("checkstyle/checkstyle.xml")
6464
}
6565

@@ -91,24 +91,6 @@ ext {
9191
rcaProjectDir = System.getProperty("performance-analyzer-rca.path", "../performance-analyzer-rca")
9292
}
9393

94-
// Fix for CVE-2025-27820
95-
configurations.all {
96-
resolutionStrategy {
97-
force("org.apache.httpcomponents.client5:httpclient5:5.4.4")
98-
force("org.apache.httpcomponents:httpcore:5.3.4")
99-
force("org.apache.httpcomponents.core5:httpcore5-h2:5.3.4")
100-
force("org.apache.httpcomponents.core5:httpcore5:5.3.4")
101-
102-
103-
// Alternatively, you can use this approach
104-
eachDependency { DependencyResolveDetails details ->
105-
if (details.requested.group == 'org.apache.httpcomponents.client5' &&
106-
details.requested.name == 'httpclient5') {
107-
details.useVersion "${versions.httpclient5}"
108-
}
109-
}
110-
}
111-
}
11294

11395
allprojects {
11496
group = "org.opensearch"
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-all.zip
4-
validateDistributionUrl=true
3+
distributionSha256Sum=ed1a8d686605fd7c23bdf62c7fc7add1c5b23b2bbc3721e661934ef4a4911d7c
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
55
networkTimeout=10000
6+
validateDistributionUrl=true
67
zipStoreBase=GRADLE_USER_HOME
78
zipStorePath=wrapper/dists

gradlew

Lines changed: 19 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Version 3.2.0 Release Notes
2+
3+
Compatible with OpenSearch and OpenSearch Dashboards version 3.2.0
4+
5+
### Infrastructure
6+
* Bump gradle to 8.14, fix backport-deletion and support JDK24 ([#831](https://github.com/opensearch-project/performance-analyzer/pull/831))
7+
8+
### Maintenance
9+
* Bump spotbug to 6.2.2 and checkstyle 10.26.1 ([#826](https://github.com/opensearch-project/performance-analyzer/pull/826))
10+
* Increment version to 3.2.0-SNAPSHOT ([#823](https://github.com/opensearch-project/performance-analyzer/pull/823))

src/main/resources/plugin-descriptor.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
description=Performance Analyzer Plugin
2828
#
2929
# 'version': plugin's version
30-
version=3.1.0.0
30+
version=3.2.0.0
3131
#
3232
# 'name': the plugin name
3333
name=performance-analyzer
@@ -42,4 +42,4 @@ classname=org.opensearch.performanceanalyzer.PerformanceAnalyzerPlugin
4242
java.version=1.8
4343
#
4444
# 'opensearch.version' version of opensearch compiled against
45-
opensearch.version=3.1.0
45+
opensearch.version=3.2.0

0 commit comments

Comments
 (0)