Allow detectors to be stopped if underlying workflow is deleted. Don't allow them to then be started/editted #810
41.46% of diff hit (target 24.68%)
View this Pull Request on Codecov
41.46% of diff hit (target 24.68%)
Annotations
Check warning on line 587 in src/main/java/org/opensearch/securityanalytics/model/Detector.java
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/model/Detector.java#L586-L587
Added lines #L586 - L587 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportDeleteDetectorAction.java#L66
Added line #L66 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportDeleteDetectorAction.java#L114
Added line #L114 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportDeleteDetectorAction.java#L220
Added line #L220 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportDeleteDetectorAction.java#L260
Added line #L260 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportDeleteDetectorAction.java#L325
Added line #L325 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportDeleteDetectorAction.java#L327
Added line #L327 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L209
Added line #L209 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L729
Added line #L729 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L791-L797
Added lines #L791 - L797 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L800-L801
Added lines #L800 - L801 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L803
Added line #L803 was not covered by tests