Files
sientia-dataops-orchestrato…/email.html
vitor-aignosi 6f6094b2ce SIENTIAPDE-1172
feat: enhance email notifications and orchestrator activities for reports

- Updated email HTML structure to clearly present errors, warnings, and info notifications.
- Introduced a new method in the Formatters class to filter notification reports based on group configurations.
- Enhanced the Reports workflow to integrate the new filtering functionality and manage notification packages effectively.
- Adjusted SlotManager to store timestamps with mail type specificity for better tracking.
- Improved test coverage for the new filtering functionality in the Formatters class.
2025-07-29 11:42:05 -03:00

267 lines
6.5 KiB
HTML

<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SIENTIA™ Report</title>
<style>
body { font-family: Arial, sans-serif; margin: 0; padding: 20px; }
h1, h2 { color: #333; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: left; }
th { background-color: #f4f4f4; }
</style>
</head>
<body>
<h1>SIENTIA™ Alerts</h1>
<h3>Errors detected:</h3>
<h4>Model: <span>ipsum et</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>TAG_node34:tag_8_LISTENNING_STOPPED</td>
<td>adipiscing_eiusmod_do</td>
<td>dolor_labore_consectetur_ipsum</td>
<td>2025-07-29 14:39:52.952316+00:00</td>
<td>sed elit dolore incididunt incididunt aliqua</td>
</tr>
</tbody>
</table>
<h4>Model: <span>incididunt et do</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>OPC_LISTENNING_STOPPED__server_5</td>
<td>eiusmod_adipiscing_dolore_ipsum_incididunt_incididunt</td>
<td>aliqua_dolore</td>
<td>2025-07-29 14:39:52.952579+00:00</td>
<td>dolor elit do ipsum consectetur amet ut do amet et</td>
</tr>
</tbody>
</table>
<h4>Model: <span>magna adipiscing aliqua</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>REPORT_PARTITION_MANAGER</td>
<td>do_dolore_ut_amet</td>
<td>et_eiusmod</td>
<td>2025-07-29 14:39:52.952688+00:00</td>
<td>incididunt lorem eiusmod do et ipsum et ut</td>
</tr>
</tbody>
</table>
<h3>Warnings detected:</h3>
<h4>Model: <span>adipiscing magna lorem</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>REPORT_PARTITION_MANAGER</td>
<td>ipsum_et_incididunt_do</td>
<td>ut_sed_incididunt</td>
<td>2025-07-29 14:39:52.952121+00:00</td>
<td>aliqua tempor aliqua sit ipsum amet elit ipsum</td>
</tr>
</tbody>
</table>
<h4>Model: <span>sed amet adipiscing incididunt</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>ALIQUA_SIT_INCIDIDUNT_EIUSMOD</td>
<td>consectetur_dolore_sit_sed_sed</td>
<td>dolore_ipsum</td>
<td>2025-07-29 14:39:52.952259+00:00</td>
<td>do aliqua ut incididunt consectetur consectetur sed et labore</td>
</tr>
</tbody>
</table>
<h4>Model: <span>ipsum ipsum amet tempor</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>OPC_LISTENNING_STOPPED__server_6</td>
<td>sit_labore_sed_dolor_et_elit</td>
<td>dolor_do_magna_et</td>
<td>2025-07-29 14:39:52.952376+00:00</td>
<td>magna consectetur do et dolor aliqua</td>
</tr>
</tbody>
</table>
<h4>Model: <span>sed ut</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>REPORT_PARTITION_MANAGER</td>
<td>elit_et_ipsum_dolore</td>
<td>sed_ipsum</td>
<td>2025-07-29 14:39:52.952426+00:00</td>
<td>elit dolor dolore dolor eiusmod</td>
</tr>
</tbody>
</table>
<h4>Model: <span>eiusmod labore</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>OPC_CONNECTION_RETRY__server_3</td>
<td>dolor_ut_dolor_sit_adipiscing_incididunt</td>
<td>sit_tempor_dolore</td>
<td>2025-07-29 14:39:52.952483+00:00</td>
<td>ipsum consectetur magna elit dolore</td>
</tr>
</tbody>
</table>
<h4>Model: <span>do dolor tempor amet</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>REPORT_PARTITION_MANAGER</td>
<td>sed_sit_do_tempor_ut</td>
<td>eiusmod_adipiscing</td>
<td>2025-07-29 14:39:52.952637+00:00</td>
<td>incididunt do do adipiscing dolore ut ut elit sit labore</td>
</tr>
</tbody>
</table>
<h3>Infos detected:</h3>
<h4>Model: <span>sed consectetur ut</span></h4>
<table>
<thead>
<tr>
<th>Notification ID</th>
<th>Schedule</th>
<th>Block</th>
<th>Timestamp</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>TEMPOR_DO_DOLOR_TEMPOR_DOLOR</td>
<td>elit_tempor_dolore_consectetur_dolore_adipiscing</td>
<td>magna_labore_lorem</td>
<td>2025-07-29 14:39:52.952199+00:00</td>
<td>et et adipiscing lorem magna eiusmod labore do</td>
</tr>
</tbody>
</table>
</body>
</html>