diff options
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/kotlin/dev/dnpm/etl/processor/monitoring/ReportService.kt | 1 | ||||
| -rw-r--r-- | src/main/resources/templates/report.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ReportService.kt b/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ReportService.kt index ccbbe1c..97ecd05 100644 --- a/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ReportService.kt +++ b/src/main/kotlin/dev/dnpm/etl/processor/monitoring/ReportService.kt @@ -57,6 +57,7 @@ class ReportService( data class Issue(val severity: Severity, val message: String) enum class Severity(@JsonValue val value: String) { + FATAL("fatal"), ERROR("error"), WARNING("warning"), INFO("info") diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html index 6f89345..07f987c 100644 --- a/src/main/resources/templates/report.html +++ b/src/main/resources/templates/report.html @@ -55,6 +55,7 @@ <td th:if="${issue.severity.value == 'info'}" class="bg-blue"><small>[[ ${issue.severity} ]]</small></td> <td th:if="${issue.severity.value == 'warning'}" class="bg-yellow"><small>[[ ${issue.severity} ]]</small></td> <td th:if="${issue.severity.value == 'error'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td> + <td th:if="${issue.severity.value == 'fatal'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td> <td>[[ ${issue.message} ]]</td> </tr> </tbody> |
