KRYSTALM7 opened a new pull request, #93:
URL: https://github.com/apache/fineract-loan-origination/pull/93
## Summary
Completes the end-to-end loan origination lifecycle for FINERACT-2442,
including mock Fineract disbursement, approval workflow improvements,
authentication/security enhancements, and comprehensive frontend test coverage.
## Changes
### Loan Lifecycle
- Completed the end-to-end loan application lifecycle.
- Improved application and staff workflow handling.
- Added support for loan disbursement through the Fineract bridge using the
mock Fineract adapter.
- Improved lazy loading for end-user application views.
### Approval Workflow
- Added support for Refer Back decisions in the approval workflow.
- Allows an officer to review and act on an application again after it has
been referred back.
- Updated approval workflow tests to reflect the revised lifecycle behavior.
- Preserved role and approval-stage validation.
### Authentication & Security
- Improved customer and staff authentication handling.
- Hardened Spring Security configuration.
- Improved Fineract credential validation.
- Updated customer and staff credential handling.
- Improved tenant-aware request handling and security configuration.
### Frontend
- Improved customer and staff loan application services.
- Updated staff application details, application lists, and dashboard
behavior.
- Updated production environment configuration.
- Added comprehensive Angular unit test coverage for:
- Authentication services
- Staff authentication
- Authentication guards
- Staff authentication guards
- Authentication interceptors
- Staff authentication interceptors
- Customer loan application service
- Staff loan application service
## Testing
### Frontend
- `npm ci` — PASS
- `npm run lint` — PASS
- `npm run format:check` — PASS
- `npm run build` — PASS
- 67 frontend tests — PASS
- 0 frontend test failures
### Backend
- `./mvnw clean verify` — PASS
- Spotless checks — PASS
- Apache RAT — PASS
- Existing Cucumber test suite — PASS
## Notes
The implementation uses the existing mock Fineract adapter for automated
disbursement testing and does not require an external Fineract instance.
The approval workflow tests were updated to reflect the intended Refer Back
behavior, where an officer can review an application again after it has been
referred back.
## Issue
**JIRA:**
[FINERACT-2442](https://issues.apache.org/jira/browse/FINERACT-2442)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]