diff --git a/build.gradle b/build.gradle index d90764e7..432fc5f9 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ buildscript { ext { - es_version = System.getProperty("es.version", "7.7.0") + es_version = System.getProperty("es.version", "7.8.0") } // This isn't applying from repositories.gradle so repeating it here repositories { @@ -34,7 +34,7 @@ plugins { } ext { - opendistroVersion = '1.8.0' + opendistroVersion = '1.9.0' isSnapshot = "true" == System.getProperty("build.snapshot", "true") } @@ -56,6 +56,7 @@ test { } licenseHeaders.enabled = false +validateNebulaPom.enabled = false esplugin { name 'opendistro_performance_analyzer' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fd0c5a38..186b7155 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/release-notes/opendistro-for-elasticsearch.performance-analyzer.release-notes-1.8.0.md b/release-notes/opendistro-for-elasticsearch.performance-analyzer.release-notes-1.8.0.md index 76c2596d..ec7da6fc 100644 --- a/release-notes/opendistro-for-elasticsearch.performance-analyzer.release-notes-1.8.0.md +++ b/release-notes/opendistro-for-elasticsearch.performance-analyzer.release-notes-1.8.0.md @@ -1,4 +1,4 @@ -## Version 1.8.0 (Current) +## Version 1.8.0 Version compatible with elasticsearch 7.7.0 diff --git a/release-notes/opendistro-for-elasticsearch.performance-analyzer.release-notes-1.9.0.md b/release-notes/opendistro-for-elasticsearch.performance-analyzer.release-notes-1.9.0.md new file mode 100644 index 00000000..505ee633 --- /dev/null +++ b/release-notes/opendistro-for-elasticsearch.performance-analyzer.release-notes-1.9.0.md @@ -0,0 +1,8 @@ +## Version 1.9.0 (Current) + +Version compatible with elasticsearch 7.8.0 + +### New Features + +This is the release of the Open Distro Performance Analyzer that will work with elasticsearch 7.8.0 + diff --git a/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/PerformanceAnalyzerPlugin.java b/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/PerformanceAnalyzerPlugin.java index 6b924684..d738209d 100644 --- a/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/PerformanceAnalyzerPlugin.java +++ b/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/PerformanceAnalyzerPlugin.java @@ -69,6 +69,7 @@ import org.elasticsearch.plugins.NetworkPlugin; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.plugins.SearchPlugin; +import org.elasticsearch.repositories.RepositoriesService; import org.elasticsearch.rest.RestController; import org.elasticsearch.script.ScriptService; import org.elasticsearch.threadpool.ThreadPool; @@ -197,7 +198,8 @@ public Collection createComponents(Client client, ClusterService cluster ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, - IndexNameExpressionResolver indexNameExpressionResolver) { + IndexNameExpressionResolver indexNameExpressionResolver, + Supplier repositoriesServiceSupplier) { ESResources.INSTANCE.setClusterService(clusterService); ESResources.INSTANCE.setThreadPool(threadPool); ESResources.INSTANCE.setEnvironment(environment); @@ -218,3 +220,4 @@ public Map> getTransports(Settings settings, ThreadP } +