-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature/Extensions] Profile detector #882
[Feature/Extensions] Profile detector #882
Conversation
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
…oject/anomaly-detection into feature/extensions
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## feature/extensions #882 +/- ##
========================================================
- Coverage 34.95% 34.50% -0.45%
+ Complexity 1888 1867 -21
========================================================
Files 300 300
Lines 17863 17875 +12
Branches 1862 1862
========================================================
- Hits 6244 6168 -76
- Misses 11171 11260 +89
+ Partials 448 447 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…oject/anomaly-detection into feature/extensions
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
src/main/java/org/opensearch/ad/transport/RCFPollingTransportAction.java
Show resolved
Hide resolved
src/main/java/org/opensearch/ad/transport/RCFPollingTransportAction.java
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.
I'm curious where these routes were previously defined?
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
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.
Will wait for @vibrantvarun to paste the API response of all the profile detector APIs on the issue
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!
All Api's are tested and responses has been added in the comments of the issue. |
…oject/anomaly-detection into feature/extensions
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
import org.opensearch.ad.transport.StopDetectorTransportAction; | ||
import org.opensearch.ad.transport.ValidateAnomalyDetectorAction; | ||
import org.opensearch.ad.transport.ValidateAnomalyDetectorTransportAction; | ||
import org.opensearch.ad.transport.*; |
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.
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.
Took care off
new ArrayList<>(List.of(new ADTaskProfileNodeResponse(sdkClusterService.localNode(), adTaskProfile, remoteAdVersion))), | ||
new ArrayList<>() | ||
) | ||
); |
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 see these new changes are added now and were not there before because all of the APIs of profile detectors were not tested. Let's test all the APIs from next time to avoid such misses.
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.
Yes, I acknowledge that.
Signed-off-by: Varun Jain <[email protected]>
Description
Profile Detector API's for extensions
Issues Resolved
381
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.