73 Commits

Author SHA1 Message Date
bb80471b2a Update payments table constraints and remove indexes 2025-08-17 04:30:45 -04:00
95af8deae8 Use query to insert payment and handle conflicts 2025-08-17 04:30:39 -04:00
b7ebc29af4 Increase payment processor concurrency and add error logging 2025-08-17 04:30:34 -04:00
8ab96b8292 Handle duplicate payment and log processor errors 2025-08-17 04:30:30 -04:00
7d1d01310a Increase payment job attempts and backoff delay 2025-08-17 04:30:26 -04:00
ac1dcc2a6b Add api3 service and update resource limits and restarts 2025-08-17 04:30:20 -04:00
4ee047fb9b Refactor Docker configuration and SQL initialization for improved resource management and table structure 2025-08-12 09:09:53 -04:00
5d268e8a5d Refactor payment processing services to use CreatePaymentDto and simplify job handling 2025-08-12 09:09:43 -04:00
96b1e8cd80 Refactor payment processing services to use CreatePaymentDto and simplify job handling 2025-08-12 09:09:37 -04:00
434f03f6c6 Refactor payment processors to use CreatePaymentDto and streamline payment execution logic 2025-08-12 09:09:31 -04:00
3c2c43106a Refactor payment entity to use correlationId as primary key and remove unused fields 2025-08-12 09:09:25 -04:00
4c8b331be0 Refactor database module to disable synchronization in production 2025-08-12 09:09:19 -04:00
44d21423db Add partial results JSON file with payment processing metrics and descriptions 2025-08-11 23:54:35 -04:00
8dde9b96e3 Refactor docker-compose.yml to update resource limits for services 2025-08-11 23:54:14 -04:00
ddaa57d96d Refactor app module to remove unused HealthModule import 2025-08-11 23:54:09 -04:00
68fc4c2f99 Refactor payments module to remove unused imports and streamline dependencies 2025-08-11 23:54:04 -04:00
7773a4f45e Refactor payment processing to utilize PaymentJobData and streamline execution logic 2025-08-11 23:53:58 -04:00
d28c9897da Refactor payment storage to remove unnecessary status assignment and include creation timestamp 2025-08-11 23:53:53 -04:00
bad88f2016 Refactor payment execution to use PaymentJobData for improved data handling 2025-08-11 23:53:45 -04:00
2ab9284c85 Refactor payment processors to improve concurrency and streamline payment execution 2025-08-11 23:53:12 -04:00
7d5827871d Refactor payment job handling to simplify retry logic and update job parameters 2025-08-11 23:53:04 -04:00
b2273181b9 Refactor payment job handling to simplify retry logic and update job parameters 2025-08-11 23:52:50 -04:00
717046120c Update README.md to reflect project name and features 2025-08-11 23:52:39 -04:00
b233069ffb Update README.md to reflect project name and features 2025-08-11 13:38:24 -04:00
0bea9a93d8 Add initial setup guide, test scripts, and configuration files 2025-08-11 13:38:15 -04:00
4e5350faab Update docker-compose configuration for resource limits and image usage 2025-08-11 13:14:48 -04:00
3bad475df6 Add attempts column to payment table for tracking retries 2025-08-10 21:07:34 -04:00
471fb2328d Reduce test payment iterations from 1000 to 100 for performance improvement 2025-08-10 21:07:26 -04:00
f0c7df6f6e Simplify nginx configuration by removing unused directives and reducing complexity 2025-08-10 21:07:16 -04:00
2bb71ef5a1 Update payment status and increment attempts on processing error 2025-08-10 21:06:27 -04:00
397fc866ec Refactor payment processor type checks to use enum values 2025-08-10 21:06:11 -04:00
474dc1af56 Remove logging for payment processor error responses 2025-08-10 21:03:52 -04:00
43391fc938 Remove logging for payment processing attempts in payment processor 2025-08-10 21:03:20 -04:00
4d061dab3e Add attempts column to payment entity for tracking payment attempts 2025-08-10 21:03:14 -04:00
012563f252 Filter payments by attempts in PaymentsCron service 2025-08-10 21:03:07 -04:00
081cbb3410 Reduce health check timeout and remove logging for health check status 2025-08-10 21:02:58 -04:00
ebe84fc757 Add error handling for payment processor response in MakePaymentToProcessorService 2025-08-10 01:44:10 -04:00
6b5bdf1448 Add PaymentsCron service to handle periodic payment processing 2025-08-10 00:56:05 -04:00
d0d58e220d Refactor PaymentFallbackProcessor to utilize MakePaymentToProcessorService for payment execution 2025-08-10 00:56:01 -04:00
f0c95308b0 Refactor PaymentDefaultProcessor to use MakePaymentToProcessorService for payment processing 2025-08-10 00:55:56 -04:00
507c774b23 Add PaymentsSummaryService and MakePaymentToProcessorService to PaymentsModule 2025-08-10 00:55:48 -04:00
7f9b03aafa Add PaymentsSummary endpoint to PaymentsController for retrieving payment summaries 2025-08-10 00:55:43 -04:00
1ebfc609f7 Refactor ProcessPaymentService to remove RetryPaymentService dependency and streamline payment processing logic 2025-08-10 00:55:37 -04:00
ebf16c1c24 Refactor ProcessPaymentService to remove RetryPaymentService dependency and streamline payment processing logic 2025-08-10 00:55:31 -04:00
a961414e93 Add PaymentsSummaryService for summarizing payment data 2025-08-10 00:55:28 -04:00
b5d6b4b605 Add blank line for improved readability in docker-compose.yml 2025-08-10 00:55:17 -04:00
051fabf5bb Add test-payments.sh script for simulating payment requests 2025-08-10 00:55:12 -04:00
439ce1bff3 Add MakePaymentToProcessorService for handling payment processing 2025-08-10 00:55:09 -04:00
2bd2d6a5cc Add @nestjs/schedule package and update dependencies in package.json and yarn.lock 2025-08-09 22:37:34 -04:00
2ff84a8450 Add HealthModule to the application module 2025-08-09 22:37:29 -04:00