[
https://issues.apache.org/jira/browse/FINERACT-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy updated FINERACT-2652:
---------------------------------
Labels: Improvement Refactoring beginner beginner-friendly technical-debt
(was: Improvement Refactoring technical-debt)
> Extract process orchestration out of the domain entity into dedicated services
> ------------------------------------------------------------------------------
>
> Key: FINERACT-2652
> URL: https://issues.apache.org/jira/browse/FINERACT-2652
> Project: Apache Fineract
> Issue Type: New Feature
> Reporter: Jose Alberto Hernandez
> Priority: Minor
> Labels: Improvement, Refactoring, beginner, beginner-friendly,
> technical-debt
>
> The JPA entity carried a large amount of process-orchestration logic directly
> on the domain object. In particular:
> Keeping this orchestration on the entity blurs the line between the domain
> model and the application/service layer, makes the entity hard to test in
> isolation, and forces deposit subclasses to override broad behaviour just to
> tweak one date.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)