diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4e0547b4..157acb5a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -31,7 +31,7 @@ jobs: run: ./gradlew publishToMavenLocal - name: Build PA gradle using the new RCA jar working-directory: ./tmp/pa - run: rm -f licenses/performanceanalyzer-rca-1.0.0.0-rc1.jar.sha1 + run: rm -f licenses/performanceanalyzer-rca-1.0.0.0.jar.sha1 - name: Update SHA working-directory: ./tmp/pa run: ./gradlew updateShas diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6d623342..f9f5581f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -3,10 +3,10 @@ name: Java CI on: push: branches: - - main + - "*" pull_request: branches: - - main + - "*" jobs: build_rca_pkg: @@ -45,10 +45,10 @@ jobs: ref: '1.0' - name: Build OpenSearch working-directory: ./OpenSearch - run: ./gradlew publishToMavenLocal -Dbuild.version_qualifier=rc1 -Dbuild.snapshot=false + run: ./gradlew publishToMavenLocal -Dbuild.snapshot=false - name: Build PA gradle using the new RCA jar working-directory: ./tmp/pa - run: rm -f licenses/performanceanalyzer-rca-1.0.0.0-rc1.jar.sha1 + run: rm -f licenses/performanceanalyzer-rca-1.0.0.0.jar.sha1 - name: Update SHA working-directory: ./tmp/pa run: ./gradlew updateShas diff --git a/build.gradle b/build.gradle index c3c9d017..bb64a147 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ buildscript { ext { - opensearch_version = System.getProperty("opensearch.version", "1.0.0-rc1") + opensearch_version = System.getProperty("opensearch.version", "1.0.0") } // This isn't applying from repositories.gradle so repeating it here repositories { @@ -72,7 +72,7 @@ ext { } group = "org.opensearch" -version = "${opensearchVersion}.0-rc1" +version = "${opensearchVersion}.0" if (isSnapshot) { version += "-SNAPSHOT" } @@ -249,7 +249,7 @@ dependencies { compile 'org.apache.commons:commons-lang3:3.9' compile 'org.bouncycastle:bcprov-jdk15on:1.68' compile 'org.bouncycastle:bcpkix-jdk15on:1.68' - compile 'org.opensearch:performanceanalyzer-rca:1.0.0.0-rc1' + compile 'org.opensearch:performanceanalyzer-rca:1.0.0.0' compile "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}" compile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" compile "com.fasterxml.jackson.module:jackson-module-paranamer:${jacksonVersion}" @@ -341,7 +341,7 @@ task buildRca() { exec { def licenseDir = "$projectDir/licenses" workingDir("$licenseDir") - commandLine 'rm', "performanceanalyzer-rca-1.0.0.0-rc1.jar.sha1" + commandLine 'rm', "performanceanalyzer-rca-1.0.0.0.jar.sha1" } exec { workingDir("$projectDir") diff --git a/licenses/performanceanalyzer-rca-1.0.0.0-rc1.jar.sha1 b/licenses/performanceanalyzer-rca-1.0.0.0-rc1.jar.sha1 deleted file mode 100644 index 099877b0..00000000 --- a/licenses/performanceanalyzer-rca-1.0.0.0-rc1.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -9e27f4c98c6e0b90ef744d430465f68b48ffca1b \ No newline at end of file diff --git a/licenses/performanceanalyzer-rca-1.0.0.0.jar.sha1 b/licenses/performanceanalyzer-rca-1.0.0.0.jar.sha1 new file mode 100644 index 00000000..b566ec42 --- /dev/null +++ b/licenses/performanceanalyzer-rca-1.0.0.0.jar.sha1 @@ -0,0 +1 @@ +75e6a3096819bbb7fa68b04556be165ce9c7cd5a \ No newline at end of file diff --git a/release-notes/opensearch-performance-analyzer.release-notes-1.0.0.0.md b/release-notes/opensearch-performance-analyzer.release-notes-1.0.0.0.md new file mode 100644 index 00000000..51ff79e6 --- /dev/null +++ b/release-notes/opensearch-performance-analyzer.release-notes-1.0.0.0.md @@ -0,0 +1,43 @@ +## Version 1.0.0.0 Release Notes + +Compatible with OpenSearch 1.0.0 + +### Enhancements + +* Add CONFIG_DIR_NOT_FOUND in StatExceptionCode ([#11](https://github.com/opensearch-project/performance-analyzer-rca/pull/11)) + +### Bug fixes + +* Create conf directory if not exist to avoid NoSuchFile exceptions ([#9](https://github.com/opensearch-project/performance-analyzer/pull/9)) +* Update docker artifact link ([#9](https://github.com/opensearch-project/performance-analyzer-rca/pull/9)) +* Modify JVM gen tuning policy and update the Unit test ([#12](https://github.com/opensearch-project/performance-analyzer-rca/pull/12)) +* Fix actions by legacy cluster endpoints ([#21](https://github.com/opensearch-project/performance-analyzer/pull/21)) + +### Infrastructure + +* Upgrade Jackson version to 2.11.4 ([#13](https://github.com/opensearch-project/performance-analyzer/pull/13)) +* Upgrade Jackson version to 2.11.4 ([#15](https://github.com/opensearch-project/performance-analyzer-rca/pull/15)) +* Update version to rc1 ([#16](https://github.com/opensearch-project/performance-analyzer/pull/16)) +* Update to rc1 version and opendistro links ([#17](https://github.com/opensearch-project/performance-analyzer-rca/pull/17)) +* Enabled automated license header checks ([#22](https://github.com/opensearch-project/performance-analyzer/pull/22)) +* Standardize processes across all plugins - Checklist items ([#26](https://github.com/opensearch-project/performance-analyzer/pull/26)) +* Standardize processes across all plugins - Checklist items ([#22](https://github.com/opensearch-project/performance-analyzer-rca/pull/22)) + +### Maintenance + +* Modify printing stacktrace to logger instead of stdout ([#10](https://github.com/opensearch-project/performance-analyzer-rca/pull/10)) +* Modify namespace from opendistro to opensearch ([#12](https://github.com/opensearch-project/performance-analyzer/pull/12)) +* Modify namespace to opensearch ([#14](https://github.com/opensearch-project/performance-analyzer-rca/pull/14)) +* Update REST resources to follow new OpenSearch naming convention ([#14](https://github.com/opensearch-project/performance-analyzer/pull/14)) +* Replace references to /_opendistro with /_plugins ([#16](https://github.com/opensearch-project/performance-analyzer-rca/pull/16)) +* Add legacy REST endpoints to integration tests ([#17](https://github.com/opensearch-project/performance-analyzer/pull/17)) +* Create HTTP contexts for legacy resource name ([#18](https://github.com/opensearch-project/performance-analyzer-rca/pull/18)) +* Add backward compatible resource names to RcaController ([#19](https://github.com/opensearch-project/performance-analyzer-rca/pull/19)) +* Update licenses sha and add release notes ([#18](https://github.com/opensearch-project/performance-analyzer/pull/18)) +* Update upstream dependency and README ([#21](https://github.com/opensearch-project/performance-analyzer-rca/pull/21)) +* Update version from 1.0.0.0-rc1 to 1.0.0.0 ([#24](https://github.com/opensearch-project/performance-analyzer-rca/pull/24)) +* Update OS upstream version and add release notes for 1.0.0.0 release ([#32](https://github.com/opensearch-project/performance-analyzer/pull/32)) + +### Documentation + +* Update rest endpoint names in README ([#15](https://github.com/opensearch-project/performance-analyzer/pull/15)) diff --git a/src/main/resources/plugin-descriptor.properties b/src/main/resources/plugin-descriptor.properties index 9104e3fc..2ed54905 100644 --- a/src/main/resources/plugin-descriptor.properties +++ b/src/main/resources/plugin-descriptor.properties @@ -27,7 +27,7 @@ description=Performance Analyzer Plugin # # 'version': plugin's version -version=1.0.0.0-rc1 +version=1.0.0.0 # # 'name': the plugin name name=performance-analyzer @@ -42,4 +42,4 @@ classname=org.opensearch.performanceanalyzer.PerformanceAnalyzerPlugin java.version=1.8 # # 'opensearch.version' version of opensearch compiled against -opensearch.version=1.0.0-rc1 +opensearch.version=1.0.0