FINEREACT-2404: Improved extensibility and cleanup
This commit is contained in:
+4
@@ -32,4 +32,8 @@ public class MDCWrapper {
|
||||
public void remove(String key) {
|
||||
MDC.remove(key);
|
||||
}
|
||||
|
||||
public String get(String key) {
|
||||
return MDC.get(key);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@ public class SendAsynchronousEventsTasklet implements Tasklet {
|
||||
return RepeatStatus.FINISHED;
|
||||
}
|
||||
|
||||
private boolean isDownstreamChannelEnabled() {
|
||||
protected boolean isDownstreamChannelEnabled() {
|
||||
return fineractProperties.getEvents().getExternal().getProducer().getJms().isEnabled()
|
||||
|| fineractProperties.getEvents().getExternal().getProducer().getKafka().isEnabled();
|
||||
}
|
||||
|
||||
+2
-2
@@ -53,7 +53,7 @@ import org.springframework.util.CollectionUtils;
|
||||
*/
|
||||
@Getter
|
||||
@JsonLocalDateArrayFormat
|
||||
public final class SavingsAccountTransactionData implements Serializable {
|
||||
public class SavingsAccountTransactionData implements Serializable {
|
||||
|
||||
private Long id;
|
||||
private final SavingsAccountTransactionEnumData transactionType;
|
||||
@@ -110,7 +110,7 @@ public final class SavingsAccountTransactionData implements Serializable {
|
||||
private Long accountCredit;
|
||||
private Long accountDebit;
|
||||
|
||||
private SavingsAccountTransactionData(final Long id, final SavingsAccountTransactionEnumData transactionType,
|
||||
protected SavingsAccountTransactionData(final Long id, final SavingsAccountTransactionEnumData transactionType,
|
||||
final PaymentDetailData paymentDetailData, final Long savingsId, final String savingsAccountNo, final LocalDate transactionDate,
|
||||
final CurrencyData currency, final BigDecimal amount, final BigDecimal outstandingChargeAmount, final BigDecimal runningBalance,
|
||||
final boolean reversed, final AccountTransferData transfer, final Collection<PaymentTypeData> paymentTypeOptions,
|
||||
|
||||
Reference in New Issue
Block a user