[
https://issues.apache.org/jira/browse/FINERACT-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy updated FINERACT-1797:
---------------------------------
Fix Version/s: (was: 1.11.0)
> Remove tenant references from cache annotations
> -----------------------------------------------
>
> Key: FINERACT-1797
> URL: https://issues.apache.org/jira/browse/FINERACT-1797
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: Aleksandar Vidakovic
> Assignee: Aleksandar Vidakovic
> Priority: Major
>
> At the moment pretty much all "@Cache" annotations contain a reference to "
> org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil" to
> keep the cache separated by tenant. This makes the code quite unreadable, but
> spreads the use of this util class all over the place and makes it quite
> impossible to refactor the tenant mechanics.
> As a preparation for this (=simplifying the tenant mechanics) the thread
> context utility class will be removed from the cache annotations and replaced
> with a central Spring Java config. This should also make it easier to split
> up the code base into separate modules (one less dependency).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)