This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-loan-origination.git
from ca73ffe Merge pull request #23 from
apache/dependabot/github_actions/github/codeql-action-4.36.2
add 2763130 FINERACT-2442: Add loan origination state machine
add eb7777c FINERACT-2442: Extract error codes and constants
add 7446605 FINERACT-2442: Fix Spotless formatting
new 4a7e67d Merge pull request #22 from
KRYSTALM7/feature/FINERACT-2442-state-machine
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../fineract/los/exception/LosErrorConstants.java | 81 ++++
.../statemachine/LoanOriginationStateMachine.java | 205 ++++++++++
.../statemachine/LoanStateTransitionException.java | 75 ++++
.../statemachine/LoanStateTransitionValidator.java | 125 ++++++
.../LoanOriginationStateMachineTest.java | 421 +++++++++++++++++++++
.../LoanStateTransitionValidatorTest.java | 101 +++++
6 files changed, 1008 insertions(+)
create mode 100644
src/main/java/org/apache/fineract/los/exception/LosErrorConstants.java
create mode 100644
src/main/java/org/apache/fineract/los/statemachine/LoanOriginationStateMachine.java
create mode 100644
src/main/java/org/apache/fineract/los/statemachine/LoanStateTransitionException.java
create mode 100644
src/main/java/org/apache/fineract/los/statemachine/LoanStateTransitionValidator.java
create mode 100644
src/test/java/org/apache/fineract/los/statemachine/LoanOriginationStateMachineTest.java
create mode 100644
src/test/java/org/apache/fineract/los/statemachine/LoanStateTransitionValidatorTest.java