KRYSTALM7 opened a new pull request, #6:
URL: https://github.com/apache/fineract-loan-origination/pull/6

   ## FINERACT-2442 — Loan Origination POC: Initial Project Scaffold
   
   ### What this PR does
   Establishes the foundational project structure for the standalone external 
   Loan Origination Service (LOS) as described in the GSoC 2026 proposal for 
   FINERACT-2442.
   
   
   
   ### What is included
   - Spring Boot 3 / Java 21 Maven project under org.apache.fineract.los
   - package structure following Fineract conventions:
     - domain/ — JPA entities and enums
     - api/ — REST controllers (ApiResource naming convention)
     - service/ — business logic layer
     - repository/ — Spring Data JPA repositories
     - statemachine/ — loan application lifecycle enforcement
     - scoring/ — pluggable CreditScoringStrategy interface
     - workflow/ — configurable multi-stage approval engine
     - bridge/ — FineractIntegrationPort with real and mock adapters
     - config/ — Spring Security, Swagger, JPA, multi-tenancy
     - exception/ — centralised GlobalExceptionHandler
     - dto/request + dto/response — clean API contract layer
     - mapper/ — entity-DTO conversion layer
   - Docker Compose with dedicated PostgreSQL instance
   - Flyway migration setup (V1–V5 placeholders)
   - application.yml with dev and prod profiles
   - CI pipeline scaffold (.github/workflows/ci.yml)
   - docs/survey/LOS-Survey.md — D1 survey findings
   - docs/adr/ — ADR-001, ADR-002, ADR-003
   
   ### What is NOT included yet
   - Entity implementations 
   - State machine logic 
   - REST API implementation
   
   ### Follows Fineract conventions
   - Package root: org.apache.fineract.los
   - Controller naming: *ApiResource
   - Apache 2.0 license headers on all files
   - Lombok usage per Fineract guidelines (@Getter/@Setter on entities, 
     @RequiredArgsConstructor on services, @Slf4j for logging)
   
   ### Related
   - JIRA: 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]

Reply via email to