Skip to content

Commit

Permalink
Update plugin install name (#9)
Browse files Browse the repository at this point in the history
* update plugin install name

Signed-off-by: Ashish Agrawal <[email protected]>
  • Loading branch information
lezzago authored Apr 26, 2021
1 parent 0b2f593 commit c73abbb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions alerting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ if (isSnapshot) {
}

opensearchplugin {
name 'opendistro-alerting'
description 'Amazon OpenDistro alerting plugin'
name 'opensearch-alerting'
description 'Amazon OpenSearch alerting plugin'
classname 'com.amazon.opendistroforelasticsearch.alerting.AlertingPlugin'
extendedPlugins = ['lang-painless']
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class MonitorRestApiIT : AlertingRestTestCase() {
for (nodeInfo in nodesInfo.values) {
val plugins = nodeInfo["plugins"] as List<Map<String, Any>>
for (plugin in plugins) {
if (plugin["name"] == "opendistro-alerting") {
if (plugin["name"] == "opensearch-alerting") {
return
}
}
Expand Down
4 changes: 2 additions & 2 deletions build-tools/pkgbuild.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'nebula.ospackage'
// This is afterEvaluate because the bundlePlugin ZIP task is updated afterEvaluate and changes the ZIP name to match the plugin name
afterEvaluate {
ospackage {
packageName = "opendistro-${name}"
packageName = "opensearch-${name}"
release = isSnapshot ? "0.1" : '1'
version = "${project.version}" - "-SNAPSHOT"

Expand All @@ -27,7 +27,7 @@ afterEvaluate {
maintainer 'OpenDistro for Elasticsearch Team <[email protected]>'
url 'https://opendistro.github.io/for-elasticsearch/downloads.html'
summary '''
Open Distro for Elasticsearch Alerting.
OpenSearch Alerting.
Reference documentation can be found at https://opendistro.github.io/for-elasticsearch-docs/.
'''.stripIndent().replace('\n', ' ').trim()
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ allprojects {
group = "com.amazon.opendistroforelasticsearch"
// Increment the final digit when there's a new plugin versions for the same opendistro version
// Reset the final digit to 0 when upgrading to a new opendistro version
version = "${opendistroVersion}.0"
version = "${opendistroVersion}.0-beta1"

apply from: "$rootDir/build-tools/repositories.gradle"

Expand Down

0 comments on commit c73abbb

Please sign in to comment.