Task #1976
closedDisplaying cache usage and add possibility to clean it.
100%
Description
Create a new FE agenda which is able to show usage of IdM cache (number of files/memory size) and possibility to clean it.
- New CacheManager will be created - will be reusing Spring cache manager abstraction.
- New Dto representing cache will be created
- New FE agenda will be created (Setting > Modules > Cache) - e.g. Setting > Modules > Backend modules for inspiration. Columns with cache name and size will be shown. Filter is not needed right now.
- Cache can be evicted.
Related issues
Updated by Radek Tomiška almost 5 years ago
- Description updated (diff)
- Category set to Cache
- Assignee changed from Ondrej Husník to Peter Štrunc
- Target version set to 10.1.0
- Estimated time set to 24.00 h
Updated by Peter Štrunc almost 5 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
Created FE agenda and BE for this feature. Basic functionality is working (displaying caches and ability to clean them).
TODO:- Finish tests
- Cleanup code
- Documentation
Code is in pstrunc/1976-cache-agenda
Updated by Peter Štrunc almost 5 years ago
This looks promising https://micrometer.io/docs/ref/cache. What do you think guys? @tomiskar @svandav
Updated by Peter Štrunc almost 5 years ago
- % Done changed from 30 to 60
Done cleaning up the code. Added javadoc and messages to FE. I also wrote some tests to cover new functionality.
Code is again pushed in pstrunc/1976-cache-agenda
TODO:- wiki documentation
Updated by Peter Štrunc almost 5 years ago
Added "evict all" button and refresh button + test
Updated by Radek Tomiška almost 5 years ago
- Related to Task #2016: Use Idm cache manager in all places in application added
Updated by Peter Štrunc almost 5 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Peter Štrunc to Radek Tomiška
- % Done changed from 60 to 80
Documentation is here https://wiki.czechidm.com/devel/documentation/caching
@tomiskar would you please review this ticket?
Updated by Radek Tomiška almost 5 years ago
- Related to Task #2024: Configure cluster friendly cache manager for distributed cache added
Updated by Radek Tomiška almost 5 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Peter Štrunc
- % Done changed from 80 to 100
I did test and code review, new agenda and documentation is awesome, thx! I merged it into develop.
I found just minor notes, will be included here #2016.
Updated by Radek Tomiška almost 5 years ago
- Status changed from Resolved to Closed