Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,16 @@ private async Task ProcessEvent(MessageParsedEvent webhookEvent)
webhookEvent.DateTime = date;
}

_logger.LogTrace("Begin processing parsed message for {ServerId}", webhookEvent.ServerId);
_logger.LogTrace("Begin processing parsed message for ServerId: {ServerId} SubaccountId: {SubaccountId} IpPoolId: {IpPoolId}",
webhookEvent.ServerId, webhookEvent.SubaccountId, webhookEvent.IpPoolId);
await _parsedMessagesEventHandler.ProcessAsync(webhookEvent);
}

private async Task ProcessEvent(ValidationEvent webhookEvent)
{
webhookEvent.Type = "Validation";
_logger.LogTrace("Begin processing validation message for {ServerId}", webhookEvent.ServerId);
_logger.LogTrace("Begin processing validation message for ServerId: {ServerId} SubaccountId: {SubaccountId} IpPoolId: {IpPoolId}",
webhookEvent.ServerId, webhookEvent.SubaccountId, webhookEvent.IpPoolId);
await _parsedMessagesEventHandler.ProcessAsync(webhookEvent);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public abstract class WebhookEventBase
public string? MessageId { get; set; }
public string? Address { get; set; }
public int ServerId { get; set; }
public int SubaccountId { get; set; }
public int IpPoolId { get; set; }
public string? SecretKey { get; set; }
public Data? Data { get; set; }
public string? WebhookEndpointName { get; set; }
Expand Down