-
Notifications
You must be signed in to change notification settings - Fork 36
Support ES 7.10.0 #313
Support ES 7.10.0 #313
Conversation
Codecov Report
@@ Coverage Diff @@
## master #313 +/- ##
============================================
+ Coverage 72.14% 72.19% +0.05%
Complexity 1990 1990
============================================
Files 201 201
Lines 9567 9570 +3
Branches 849 850 +1
============================================
+ Hits 6902 6909 +7
+ Misses 2252 2248 -4
Partials 413 413
Flags with carried forward coverage won't be shown. Click here to find out more.
|
src/main/java/com/amazon/opendistroforelasticsearch/ad/cluster/MasterEventListener.java
Show resolved
Hide resolved
src/main/java/com/amazon/opendistroforelasticsearch/ad/indices/AnomalyDetectionIndices.java
Show resolved
Hide resolved
src/main/java/com/amazon/opendistroforelasticsearch/ad/model/AnomalyDetector.java
Outdated
Show resolved
Hide resolved
src/test/java/com/amazon/opendistroforelasticsearch/ad/ODFERestTestCase.java
Outdated
Show resolved
Hide resolved
src/test/java/com/amazon/opendistroforelasticsearch/ad/rest/AnomalyDetectorRestApiIT.java
Outdated
Show resolved
Hide resolved
release-notes/opendistro-for-elasticsearch-anomaly-detection.release-notes-1.12.0.0.md
Outdated
Show resolved
Hide resolved
src/main/java/com/amazon/opendistroforelasticsearch/ad/cluster/MasterEventListener.java
Show resolved
Hide resolved
… note; remove the readable name for AD
Have you tried installing the built artifact to ES 7.10 cluster ? I think it should work, but better to test. |
Yes, already tested. it works well |
else | ||
echo "Security plugin is NOT available" | ||
./gradlew :integTestRunner --tests "com.amazon.opendistroforelasticsearch.ad.rest.*IT" --tests "com.amazon.opendistroforelasticsearch.ad.e2e.*IT" -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" -PnumNodes=2 | ||
./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ES7.10 doesn't support PnumNodes
? How to test cluster with multiple nodes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PnumNodes is used for local test, not for remote cluster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need add new task for local testing with multi nodes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it never worked. I commented in the issue: #194. Let's use that to track the multi node testing changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, let's fix in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the change!
Issue #, if available:
Description of changes:
Support ES 7.10.0
Testing:
./gradlew build
./gradlew integTest
and/gradlew build
./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="elasticsearch"
./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="elasticsearch" -Dhttps=true -Duser=admin -Dpassword=admin
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.