-
Notifications
You must be signed in to change notification settings - Fork 36
Odfe 1.4.0 #43
Odfe 1.4.0 #43
Conversation
src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADStatsRequest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADStatsResponse.java
Show resolved
Hide resolved
isSnapshot = "true" == System.getProperty("build.snapshot", "true") | ||
} | ||
|
||
version = "${opendistroVersion}.0-alpha" | ||
version = "${opendistroVersion}.0" |
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 are still doing an alpha release, not official release, right?
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.
I think this is for 7.4 release.
@@ -258,6 +258,9 @@ List<String> jacocoExclusions = [ | |||
'com.amazon.opendistroforelasticsearch.ad.transport.StopDetectorRequest', | |||
'com.amazon.opendistroforelasticsearch.ad.transport.StopDetectorResponse', | |||
'com.amazon.opendistroforelasticsearch.ad.transport.StopDetectorTransportAction', | |||
'com.amazon.opendistroforelasticsearch.ad.transport.ADStatsAction', |
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.
Why do we add those exclusions?
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.
To speed up 7.4 release, I excluded them since UT coverage is below the threshold.
@@ -54,9 +57,7 @@ public ADStatsRequest getADStatsRequest() { | |||
return request; | |||
} | |||
|
|||
@Override | |||
public void readFrom(StreamInput in) throws IOException { |
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.
Do we still need this method since you have added a new constructor taking StreamInput as input?
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.
I saw there is still reference to this function, so I kept it.
src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADStatsNodeResponse.java
Outdated
Show resolved
Hide resolved
@@ -79,9 +85,7 @@ public void clear() { | |||
return statsToBeRetrieved; | |||
} | |||
|
|||
@Override | |||
public void readFrom(StreamInput in) throws IOException { |
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.
Do we still need this method since you have added a new constructor taking StreamInput as input?
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.
I still see a reference to this function. I don't want to touch too much code which is not related to build against 7.4.
src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/DeleteModelNodeRequest.java
Outdated
Show resolved
Hide resolved
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!
#42
Build against ES 7.4.2.