Skip to content
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

[Extensions] Migrates Delete Detector Results #881

Conversation

owaiskazi19
Copy link
Member

@owaiskazi19 owaiskazi19 commented Apr 27, 2023

Description

Note: opensearch-project/opensearch-sdk-java#713 needs to be merged for build to pass.

This PR migrates Delete Detector Results to extension for DELETE request.

  • DELETE _extensions/_ad-extension/detectors/results

Issues Resolved

Fixes opensearch-project/opensearch-sdk-java#378

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.

@owaiskazi19 owaiskazi19 requested a review from a team April 27, 2023 21:09
@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2023

Codecov Report

Merging #881 (0ff87e8) into feature/extensions (cf70e72) will increase coverage by 0.02%.
The diff coverage is 0.00%.

📣 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

Impacted file tree graph

@@                   Coverage Diff                    @@
##             feature/extensions     #881      +/-   ##
========================================================
+ Coverage                 34.94%   34.96%   +0.02%     
+ Complexity                 1895     1888       -7     
========================================================
  Files                       300      300              
  Lines                     17915    17856      -59     
  Branches                   1869     1862       -7     
========================================================
- Hits                       6261     6244      -17     
+ Misses                    11201    11164      -37     
+ Partials                    453      448       -5     
Flag Coverage Δ
plugin 34.96% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...va/org/opensearch/ad/AnomalyDetectorExtension.java 0.00% <0.00%> (ø)
...search/ad/rest/RestDeleteAnomalyResultsAction.java 0.00% <0.00%> (ø)
...transport/DeleteAnomalyResultsTransportAction.java 0.00% <0.00%> (ø)

... and 9 files with indirect coverage changes

Copy link
Member

@vibrantvarun vibrantvarun left a comment

Choose a reason for hiding this comment

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

Added some comments

@owaiskazi19 owaiskazi19 force-pushed the delete-detector-results branch from 6f6ac55 to 0ff87e8 Compare May 1, 2023 18:44
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

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

One variable naming nit, otherwise LGTM!

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
@owaiskazi19 owaiskazi19 force-pushed the delete-detector-results branch from 0ff87e8 to aeba9fa Compare May 1, 2023 20:10
@owaiskazi19 owaiskazi19 requested a review from dbwiddis May 1, 2023 20:16
@dbwiddis dbwiddis merged commit 697b9b7 into opensearch-project:feature/extensions May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants