Implemented caching for cohort def list, concept set list, permissions.
Implementation uses ehCache 3.9.
Added test for CohortDefinitionService caching.
Notes:
This implementation diverges from the sandbox: I decided to leverage @CacheEvict on methods instead of JPA Entity Listeners to simplify the implementation.
Currently getting cache info is unprotected, but cache/clear is protected.
Implemented caching for cohort def list, concept set list, permissions. Implementation uses ehCache 3.9. Added test for CohortDefinitionService caching.
Notes: This implementation diverges from the sandbox: I decided to leverage
@CacheEvict
on methods instead of JPA Entity Listeners to simplify the implementation.Currently getting cache info is unprotected, but cache/clear is protected.