FINERACT-2181: Batch Api - Add Interest pause API support

This commit is contained in:
Adam Saghy
2025-07-21 12:26:03 +02:00
parent 46e1bd0492
commit 81d6d2e54e
11 changed files with 645 additions and 7 deletions
@@ -228,12 +228,12 @@ public class CommandStrategyProvider {
.resource("v1\\/datatables\\/" + ALPHANUMBERIC_WITH_UNDERSCORE_REGEX + "\\/query" + MANDATORY_QUERY_PARAM_REGEX).method(GET)
.build(), "getDatatableEntryByQueryCommandStrategy");
commandStrategies.put(CommandContext.resource("v1\\/loans\\/" + NUMBER_REGEX + "\\/interest-pauses").method(GET).build(),
"getLoanInterestPausesByExternalIdCommandStrategy");
"getLoanInterestPausesByLoanIdCommandStrategy");
commandStrategies.put(CommandContext.resource("v1\\/loans\\/" + NUMBER_REGEX + "\\/interest-pauses").method(POST).build(),
"createLoanInterestPauseByExternalIdCommandStrategy");
"createLoanInterestPauseByLoanIdCommandStrategy");
commandStrategies.put(
CommandContext.resource("v1\\/loans\\/" + NUMBER_REGEX + "\\/interest-pauses\\/" + NUMBER_REGEX).method(PUT).build(),
"updateLoanInterestPauseByExternalIdCommandStrategy");
"updateLoanInterestPauseByLoanIdCommandStrategy");
commandStrategies.put(
CommandContext.resource("v1\\/loans\\/external-id\\/" + UUID_PARAM_REGEX + "\\/interest-pauses").method(GET).build(),
"getLoanInterestPausesByExternalIdCommandStrategy");