FINERACT-2181: Batch Api - Add Interest pause API support
This commit is contained in:
+3
-3
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user