Package org.apache.fineract.cob.api
Class InternalCOBApiResource
java.lang.Object
org.apache.fineract.cob.api.InternalCOBApiResource
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Profile("test")
@Component
@Path("/v1/internal/cob")
public class InternalCOBApiResource
extends Object
implements org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetCobPartitions(jakarta.ws.rs.core.UriInfo uriInfo, int partitionSize) voidloanReprocess(jakarta.ws.rs.core.UriInfo uriInfo, long loanId) voidupdateLoanCobLastDate(jakarta.ws.rs.core.UriInfo uriInfo, long loanId, String jsonBody)
-
Field Details
-
dateTimeFormatter
-
-
Constructor Details
-
InternalCOBApiResource
public InternalCOBApiResource()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getCobPartitions
@GET @Consumes("application/json") @Produces("application/json") @Path("partitions/{partitionSize}") public String getCobPartitions(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("partitionSize") int partitionSize) -
updateLoanCobLastDate
@POST @Consumes("application/json") @Path("fast-forward-cob-date-of-loan/{loanId}") public void updateLoanCobLastDate(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("loanId") long loanId, String jsonBody) -
loanReprocess
@POST @Consumes("application/json") @Path("loan-reprocess/{loanId}") public void loanReprocess(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("loanId") long loanId)
-