FINERACT-1694-Regular-Event-Purging
This commit is contained in:
committed by
Arnold Gálovics
parent
93481bde6f
commit
0ae8445f07
+1
-1
@@ -4783,7 +4783,7 @@ public class ClientLoanIntegrationTest {
|
||||
.withInterestCalculationPeriodTypeAsDays() //
|
||||
.withExpectedDisbursementDate(disbursementDate) //
|
||||
.withSubmittedOnDate(disbursementDate) //
|
||||
.withwithRepaymentStrategy(repaymentStrategy).withRepaymentFrequencyTypeAsMonths()//
|
||||
.withRepaymentStrategy(repaymentStrategy).withRepaymentFrequencyTypeAsMonths()//
|
||||
.withFirstRepaymentDate(firstRepaymentDate).withCollaterals(collaterals)
|
||||
.build(clientID.toString(), loanProductID.toString(), null);
|
||||
return this.loanTransactionHelper.getLoanId(loanApplicationJSON);
|
||||
|
||||
+10
-2
@@ -99,8 +99,8 @@ public class GlobalConfigurationHelper {
|
||||
ArrayList<HashMap> actualGlobalConfigurations = getAllGlobalConfigurations(requestSpec, responseSpec);
|
||||
|
||||
// There are currently 37 global configurations.
|
||||
Assertions.assertEquals(41, expectedGlobalConfigurations.size());
|
||||
Assertions.assertEquals(41, actualGlobalConfigurations.size());
|
||||
Assertions.assertEquals(42, expectedGlobalConfigurations.size());
|
||||
Assertions.assertEquals(42, actualGlobalConfigurations.size());
|
||||
|
||||
for (int i = 0; i < expectedGlobalConfigurations.size(); i++) {
|
||||
|
||||
@@ -464,6 +464,14 @@ public class GlobalConfigurationHelper {
|
||||
isReversalTransactionAllowed.put("trapDoor", false);
|
||||
defaults.add(isReversalTransactionAllowed);
|
||||
|
||||
HashMap<String, Object> purgeExternalEventsOlderThanDaysDefault = new HashMap<>();
|
||||
purgeExternalEventsOlderThanDaysDefault.put("id", 47);
|
||||
purgeExternalEventsOlderThanDaysDefault.put("name", "purge-external-events-older-than-days");
|
||||
purgeExternalEventsOlderThanDaysDefault.put("value", 30);
|
||||
purgeExternalEventsOlderThanDaysDefault.put("enabled", false);
|
||||
purgeExternalEventsOlderThanDaysDefault.put("trapDoor", false);
|
||||
defaults.add(purgeExternalEventsOlderThanDaysDefault);
|
||||
|
||||
return defaults;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user