Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-5967

Investigate whether we should publish methods on services to flush caches

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Complete
    • Affects Version/s: 2.0.0-b1
    • Fix Version/s: 2.0.0-b6, 2.0
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • 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.

        Activity

        Hide
        Eric Westfall added a comment -

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

        Show
        Eric Westfall added a comment - Bulk update of incomplete 2.0.0-b2 issues to just a 2.0 fix version.
        Eric Westfall made changes -
        Field Original Value New Value
        Fix Version/s 2.0 [ 14190 ]
        Fix Version/s 2.0.0-b2 [ 16371 ]
        Eric Westfall made changes -
        Start Date
        Fix Date 2012-01-27 [ set to sprint end date ]
        Jessica Coltrin (Inactive) made changes -
        Rice Lead jjhanso
        Jessica Coltrin (Inactive) made changes -
        Fix Version/s 2.0.0-b5 [ 16377 ]
        Jessica Coltrin (Inactive) made changes -
        Start Date
        Fix Date 2012-01-27 2012-01-09 [ set to sprint end date ]
        Hide
        Eric Westfall added a comment -

        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.

        Show
        Eric Westfall added a comment - 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.
        Eric Westfall made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Complete [ 6 ]
        Hide
        Jessica Coltrin (Inactive) added a comment -

        Closing since these items are now in the release notes.

        Show
        Jessica Coltrin (Inactive) added a comment - Closing since these items are now in the release notes.
        Jessica Coltrin (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Shem Patterson (Inactive) made changes -
        Workflow custom [ 104887 ] Copy of custom for rice [ 213383 ]
        Shem Patterson (Inactive) made changes -
        Workflow Copy of custom for rice [ 213383 ] custom [ 223131 ]
        Shem Patterson (Inactive) made changes -
        Workflow custom [ 223131 ] Rice Workflow [ 232879 ]

          People

          • Assignee:
            Jeremy Hanson
            Reporter:
            Jeremy Hanson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel