- Added a new endpoint for simulating rules based on sample messages, allowing users to test rule conditions and actions. - Enhanced webhook management with versioning, preview capabilities, and improved validation for webhook requests. - Updated service interfaces to support new functionalities, including max retries for webhooks and signing secrets. - Implemented observability metrics for webhook retries and dead-letter tracking, improving error handling and monitoring. - Enhanced unit tests to cover new simulation and webhook features, ensuring robust functionality and validation.
27 lines
661 B
SQL
27 lines
661 B
SQL
DROP INDEX IF EXISTS idx_webhook_dead_letters_template;
|
|
|
|
DROP TABLE IF EXISTS webhook_dead_letters;
|
|
|
|
ALTER TABLE webhook_logs
|
|
DROP COLUMN IF EXISTS payload_truncated;
|
|
|
|
ALTER TABLE webhook_logs
|
|
DROP COLUMN IF EXISTS payload_preview;
|
|
|
|
ALTER TABLE webhook_logs
|
|
DROP COLUMN IF EXISTS attempt_count;
|
|
|
|
DROP TABLE IF EXISTS webhook_template_versions;
|
|
|
|
ALTER TABLE webhook_templates
|
|
DROP CONSTRAINT IF EXISTS webhook_templates_max_retries_chk;
|
|
|
|
ALTER TABLE webhook_templates
|
|
DROP COLUMN IF EXISTS max_retries;
|
|
|
|
ALTER TABLE webhook_templates
|
|
DROP COLUMN IF EXISTS signing_secret;
|
|
|
|
ALTER TABLE webhook_templates
|
|
DROP COLUMN IF EXISTS version;
|