feat: subscription locking, DB encryption, API key rotation, and payment gateway adapter#647
Open
samsonmbah002 wants to merge 1 commit into
Open
Conversation
…key rotation, and payment gateway adapter - Issue Smartdevs17#610: Advisory lock service with retry/deadlock detection, integrated into billing and subscription operations - Issue Smartdevs17#604: Column-level AES-256-GCM encryption with envelope key management (KMS/Vault providers), CMK config API - Issue Smartdevs17#603: Automated API key rotation with configurable interval, grace period overlap, rotation history, and cron job - Issue Smartdevs17#581: Payment gateway adapter pattern with Stripe/Circle/Stellar implementations, fallback chain routing - Add database migrations for encrypted columns, API key rotation, and merchant gateway config tables - Add Prometheus-compatible lock contention and timeout metrics - Update IoC container and barrel exports for all new services
|
@samsonmbah002 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
This PR implements four major features addressing subscription billing race conditions, column-level encryption, API key rotation, and payment gateway extensibility.
Issues
Closes #610
Closes #604
Closes #603
Closes #581
#610 — Subscription Billing Race Condition Handling (Pessimistic Locking)
#604 — Database Encryption at Rest with Customer-Managed Keys
#603 — API Key Rotation Automation
#581 — Payment Gateway Adapter Pattern
Technical Details