Add comprehensive smoke and feature tests for Gateway API
- Introduced LtdFeatureTests to validate BACnet and OPC UA point updates, trend logging, and alarm rule functionality. - Added OpcUaClientTests to ensure proper OPC UA client configuration, point value synchronization, and session management. - Created OpcUaFeatureTests to test OPC UA server capabilities, including browsing, reading, writing, and subscription notifications. - Implemented native_bacnet_test.py for isolated BACnet wire testing, covering discovery, read/write operations, and command processing. - Added ui-theme-tabs.test.cjs to verify theme switching, tab interactions, and protocol form accessibility in the UI.
This commit is contained in:
1 parent
d9165a60ff
commit
98c48d9d78
80 files changed
+11120
-315
No files matched your search
@@ -0,0 +1,11 @@
|
||||
namespace Gateway.Api.Domain;
|
||||
|
||||
public enum NotificationChannel { Mail, WhatsApp, Ntfy }
|
||||
public enum AlarmCondition { Active, Inactive, Above, Below }
|
||||
public sealed record NotificationIntegration(NotificationChannel Channel, string Endpoint, bool HasApiKey);
|
||||
public sealed record UpdateNotificationKeyRequest(string? ApiKey, bool ClearApiKey = false);
|
||||
public sealed record AlarmDestination(NotificationChannel Channel, string Recipient, string Template = "stoerung", string PersonName = "SE-Inno", int Priority = 0, string Tags = "alarm");
|
||||
public sealed record AlarmRule(Guid Id, string Name, Guid PointId, AlarmCondition Condition, double Threshold,
|
||||
double Hysteresis, bool Enabled, bool NotifyRecovery, string Message, IReadOnlyList<AlarmDestination> Destinations);
|
||||
public sealed record NotificationDelivery(long Id, Guid RuleId, string Title, string Message,
|
||||
AlarmDestination Destination, string State, DateTimeOffset CreatedAtUtc, string? Result);
|
||||
Reference in new issue
Block a user