FINERACT-2181: Batch API - Add interest pause API
This commit is contained in:
+16
@@ -227,6 +227,22 @@ public class CommandStrategyProvider {
|
||||
commandStrategies.put(CommandContext
|
||||
.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");
|
||||
commandStrategies.put(CommandContext.resource("v1\\/loans\\/" + NUMBER_REGEX + "\\/interest-pauses").method(POST).build(),
|
||||
"createLoanInterestPauseByExternalIdCommandStrategy");
|
||||
commandStrategies.put(
|
||||
CommandContext.resource("v1\\/loans\\/" + NUMBER_REGEX + "\\/interest-pauses\\/" + NUMBER_REGEX).method(PUT).build(),
|
||||
"updateLoanInterestPauseByExternalIdCommandStrategy");
|
||||
commandStrategies.put(
|
||||
CommandContext.resource("v1\\/loans\\/external-id\\/" + UUID_PARAM_REGEX + "\\/interest-pauses").method(GET).build(),
|
||||
"getLoanInterestPausesByExternalIdCommandStrategy");
|
||||
commandStrategies.put(
|
||||
CommandContext.resource("v1\\/loans\\/external-id\\/" + UUID_PARAM_REGEX + "\\/interest-pauses").method(POST).build(),
|
||||
"createLoanInterestPauseByExternalIdCommandStrategy");
|
||||
commandStrategies.put(CommandContext
|
||||
.resource("v1\\/loans\\/external-id\\/" + UUID_PARAM_REGEX + "\\/interest-pauses\\/" + NUMBER_REGEX).method(PUT).build(),
|
||||
"updateLoanInterestPauseByExternalIdCommandStrategy");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user