Backport 585 and 582 to 2.5 #613
59.09% of diff hit (target 73.02%)
View this Pull Request on Codecov
59.09% of diff hit (target 73.02%)
Annotations
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/aggregation/bucketselectorext/BucketSelectorExtAggregator.kt#L132-L135
Added lines #L132 - L135 were not covered by tests
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/AggregationResultBucket.kt#L62-L65
Added lines #L62 - L65 were not covered by tests
Check warning on line 47 in src/main/kotlin/org/opensearch/commons/alerting/model/Alert.kt
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/Alert.kt#L47
Added line #L47 was not covered by tests
Check warning on line 145 in src/main/kotlin/org/opensearch/commons/alerting/model/Alert.kt
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/Alert.kt#L145
Added line #L145 was not covered by tests
Check warning on line 91 in src/main/kotlin/org/opensearch/commons/alerting/model/DataSources.kt
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/DataSources.kt#L91
Added line #L91 was not covered by tests
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/DocLevelMonitorInput.kt#L68
Added line #L68 was not covered by tests
Check warning on line 98 in src/main/kotlin/org/opensearch/commons/alerting/model/Monitor.kt
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/Monitor.kt#L98
Added line #L98 was not covered by tests
Check warning on line 189 in src/main/kotlin/org/opensearch/commons/alerting/model/Monitor.kt
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/Monitor.kt#L189
Added line #L189 was not covered by tests
Check warning on line 301 in src/main/kotlin/org/opensearch/commons/alerting/model/Monitor.kt
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/Monitor.kt#L301
Added line #L301 was not covered by tests
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/QueryLevelTrigger.kt#L60-L62
Added lines #L60 - L62 were not covered by tests
Check warning on line 134 in src/main/kotlin/org/opensearch/commons/alerting/model/action/Action.kt
codecov / codecov/patch
src/main/kotlin/org/opensearch/commons/alerting/model/action/Action.kt#L134
Added line #L134 was not covered by tests