Allow detectors to be stopped if underlying workflow is deleted. Don't allow them to then be started/edited (#810) #958
41.46% of diff hit (target 24.95%)
View this Pull Request on Codecov
41.46% of diff hit (target 24.95%)
Annotations
Check warning on line 573 in src/main/java/org/opensearch/securityanalytics/model/Detector.java
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/model/Detector.java#L572-L573
Added lines #L572 - L573 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#L199
Added line #L199 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L625
Added line #L625 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L687-L693
Added lines #L687 - L693 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L696-L697
Added lines #L696 - L697 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java#L699
Added line #L699 was not covered by tests