FINERACT-1744 - Idempotency support
- [x] Idempotency write move to filters - [x] Idempotency integration test with success and failure - [x] Added response status code to database - [x] SynchronousCommandProcessingService not generate the command, just marked to the filter - [x] IdempotencyStoreFilter store the command request if available. - [x] Removed JpaExceptionHandler.java
This commit is contained in:
committed by
Arnold Gálovics
parent
25c0b6a08d
commit
5210bf7412
@@ -304,7 +304,7 @@ CREATE TABLE `m_portfolio_command_source` (
|
||||
`made_on_date` datetime NOT NULL,
|
||||
`checker_id` BIGINT DEFAULT NULL,
|
||||
`checked_on_date` datetime DEFAULT NULL,
|
||||
`processing_result_enum` SMALLINT NOT NULL,
|
||||
`status` SMALLINT NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `FK_m_maker_m_appuser` (`maker_id`),
|
||||
KEY `FK_m_checker_m_appuser` (`checker_id`),
|
||||
@@ -312,7 +312,7 @@ CREATE TABLE `m_portfolio_command_source` (
|
||||
KEY `entity_name` (`entity_name`,`resource_id`),
|
||||
KEY `made_on_date` (`made_on_date`),
|
||||
KEY `checked_on_date` (`checked_on_date`),
|
||||
KEY `processing_result_enum` (`processing_result_enum`),
|
||||
KEY `status` (`status`),
|
||||
KEY `office_id` (`office_id`),
|
||||
KEY `group_id` (`office_id`),
|
||||
KEY `client_id` (`office_id`),
|
||||
|
||||
@@ -47,10 +47,12 @@ VALUES
|
||||
('loan_transaction_strategy_id',2,'heavensfamily-strategy','Heavensfamily'),
|
||||
('loan_transaction_strategy_id',3,'creocore-strategy','Creocore'),
|
||||
('loan_transaction_strategy_id',4,'rbi-india-strategy','RBI (India)'),
|
||||
('processing_result_enum',0,'invalid','Invalid'),
|
||||
('processing_result_enum',1,'processed','Processed'),
|
||||
('processing_result_enum',2,'awaiting.approval','Awaiting Approval'),
|
||||
('processing_result_enum',3,'rejected','Rejected'),
|
||||
('status',0,'invalid','Invalid'),
|
||||
('status',1,'processed','Processed'),
|
||||
('status',2,'awaiting.approval','Awaiting Approval'),
|
||||
('status',3,'rejected','Rejected'),
|
||||
('status',4,'underProcessing','Under Processing'),
|
||||
('status',5,'error','Error'),
|
||||
('repayment_period_frequency_enum',0,'Days','Days'),
|
||||
('repayment_period_frequency_enum',1,'Weeks','Weeks'),
|
||||
('repayment_period_frequency_enum',2,'Months','Months'),
|
||||
|
||||
Reference in New Issue
Block a user