Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Update JobSchedulerPlugin to conform with changes to ExtensiblePlugin interface in Elasticsearch 7.9.0 #67

Merged
merged 4 commits into from
Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

buildscript {
ext {
es_version = System.getProperty("es.version", "7.8.0")
es_version = System.getProperty("es.version", "7.9.0")
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# permissions and limitations under the License.
#

version = 1.9.0
version = 1.10.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## 2020-08-18, version 1.10.0.0

### New Features
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peter created a standard guideline for release note. pls have a check. I remember we don't use "New Features" for upstream upgrade.

Copy link
Author

@ftianli-amzn ftianli-amzn Aug 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I will apply the unified format and automated script for the release notes asap.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have modified the format, and I will address the format of past release notes in another PR.

* Adds support for Elasticsearch 7.9.0 - [PR #67](https://github.com/opendistro-for-elasticsearch/job-scheduler/pull/67)
dbbaughe marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.ServiceLoader;
import java.util.Set;
import java.util.function.Supplier;

Expand Down Expand Up @@ -124,9 +123,9 @@ public void onIndexModule(IndexModule indexModule) {
}

@Override
public void reloadSPI(ClassLoader loader) {
public void loadExtensions(ExtensionLoader loader) {

for (JobSchedulerExtension extension : ServiceLoader.load(JobSchedulerExtension.class, loader)) {
for (JobSchedulerExtension extension : loader.loadExtensions(JobSchedulerExtension.class)) {
String jobType = extension.getJobType();
String jobIndexName = extension.getJobIndex();
ScheduledJobParser jobParser = extension.getJobParser();
Expand Down