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

Allow detectors to be stopped if underlying workflow is deleted. Don't allow them to then be started/edited (#810) #958

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

engechas
Copy link
Collaborator

@engechas engechas commented Apr 3, 2024

Description

Manual backport of #810 to 2.10

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

…t allow them to then be started/editted (opensearch-project#810)

* Allow detectors to be stopped if underlying workflow is deleted. Don't allow them to then be started

Signed-off-by: Chase Engelbrecht <[email protected]>

* Add copyright headers

Signed-off-by: Chase Engelbrecht <[email protected]>

---------

Signed-off-by: Chase Engelbrecht <[email protected]>
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Attention: Patch coverage is 41.46341% with 24 lines in your changes are missing coverage. Please review.

Project coverage is 25.03%. Comparing base (a76a0fa) to head (4c2c19a).

Files Patch % Lines
...lytics/transport/TransportIndexDetectorAction.java 0.00% 14 Missing ⚠️
...ytics/transport/TransportDeleteDetectorAction.java 0.00% 8 Missing ⚠️
...g/opensearch/securityanalytics/model/Detector.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.10     #958      +/-   ##
============================================
+ Coverage     24.95%   25.03%   +0.08%     
- Complexity      940      951      +11     
============================================
  Files           255      257       +2     
  Lines         11124    11151      +27     
  Branches       1241     1239       -2     
============================================
+ Hits           2776     2792      +16     
- Misses         8098     8109      +11     
  Partials        250      250              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@engechas engechas merged commit d23ab35 into opensearch-project:2.10 Apr 4, 2024
14 of 15 checks passed
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.

3 participants