mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
feat: implement actual webhook delivery
Implement full webhook delivery functionality:
- Create SendWebhookJob to handle HTTP POST requests
- Update WebhookChannel to dispatch webhook jobs
- Configure retry logic (5 attempts, 10s backoff)
- Update Test notification payload with success/message structure
Webhook payload structure:
{
"success": true/false,
"message": "notification message",
"event": "event_type",
"url": "coolify_dashboard_url"
}
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
729c891542
commit
413dee5d8c
3 files changed
+50
-12
No files matched your search
@@ -116,8 +116,9 @@ class Test extends Notification implements ShouldQueue
|
||||
public function toWebhook(): array
|
||||
{
|
||||
return [
|
||||
'event' => 'test',
|
||||
'success' => true,
|
||||
'message' => 'This is a test webhook notification from Coolify.',
|
||||
'event' => 'test',
|
||||
'url' => base_url(),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user