feat: Build comprehensive webhook notification system for event-driven integrations#435
Open
kokobutter-web wants to merge 1 commit into
Open
Conversation
…grations - Add delivery analytics (success rate, avg latency, avg payload size) - Add per-endpoint rate limiting with configurable quotas - Add webhook testing endpoint with sample payloads (payment.completed/failed/disputed) - Add GET /analytics, POST /test, GET /rate-limits routes - Update frontend webhooks page with analytics dashboard and Send Test dialog - Update frontend API client with analytics, test, and rate-limit methods Closes Smartdevs17#337
|
Someone is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #337 - Build comprehensive webhook notification system for event-driven integrations
Changes
Backend - Delivery Analytics
getWebhookAnalytics()tobackend/src/services/webhooks.tscomputing success rate, average latency, average payload size, and per-status breakdowns from delivery logs.GET /webhooks/analyticsroute.Backend - Webhook Testing Endpoint
sendWebhookTest()andgetSamplePayloads()functions with sample payloads forpayment.completed,payment.failed, andpayment.disputedevents.POST /webhooks/testandGET /webhooks/test/payloadsroutes.Backend - Per-endpoint Rate Limiting
enqueueWebhookEvent().GET /webhooks/rate-limitsroute exposing current rate limit status.Frontend
frontend/app/dashboard/webhooks/page.tsxshowing success rate, avg latency, delivered count, avg payload size, and pending/failed/dead-letter counts.getAnalytics,sendTest,getSamplePayloads, andgetRateLimitsmethods to the frontend API client.Acceptance Criteria Coverage