[KULRICE-5967] Investigate whether we should publish methods on services to flush caches Created: 14/Nov/11  Updated: 23/Feb/12  Resolved: 05/Jan/12

Status: Closed
Project: Kuali Rice Development
Component/s: Development, Version Compatibility
Affects Version/s: 2.0.0-b1
Fix Version/s: 2.0.0-b6, 2.0
Security Level: Public (Public: Anyone can view)

Type: Task Priority: Critical
Reporter: Jeremy Hanson Assignee: Jeremy Hanson
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Similar issues:
KULRICE-5942See if we can improve our cache flushing with new Spring cache annotations
KULRICE-2812Review services we are publishing as SOAP services, ensure we have everything we need published
KULRICE-12457KRMS error and cache flush messages not appearing right
KULRICE-6533Rename cache service endpoints to "cache admin service" since that's what we renamed the actual service interface to
KULRICE-6759Add manual flush method on the IdentityArchiveService.
KULRICE-2418Implement cache aging and flushing on PersonServiceImpl
KULRICE-7258Implement caching on ExtensionRepositoryService
KULRICE-5209Add servicePath to all of our Kuali Rice services that we are publishing
KULRICE-13189modify KRMS' published apis so that update methods return the updated object
KULRICE-8327Implement caching for Message Service
KAI Review Status: Not Required
KTI Review Status: Not Required

 Description   

Currently cache's are flushed on update and create methods, but should we have a method that flushes the cache with a call? It seems possible that some institutions would have a batch job that doesn't use the service for crud (db updates?), and it seems like in that instance there should be an easier way for them to clear the cache.



 Comments   
Comment by Eric Westfall [ 22/Nov/11 ]

Bulk update of incomplete 2.0.0-b2 issues to just a 2.0 fix version.

Comment by Eric Westfall [ 05/Jan/12 ]

My opinion on this is that we should not be doing this as part of the main service contract. As part of some sort of auxiliary administration api, perhaps (assuming it's needed). But I think that the idea with the services is that the caching is an implementation detail so publishing methods to facilitate manual cache flushing on the api constitutes a leaky abstraction to me. I'm going to resolve this issue, but feel free to discuss further if you think otherwise.

Comment by Jessica Coltrin (Inactive) [ 23/Feb/12 ]

Closing since these items are now in the release notes.

Generated at Sat Jul 11 21:36:55 CDT 2020 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.