Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-866

Add REST endpoint to invalidate the Hibernate L2 cache

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.33.0
    • Component/s: None
    • Complexity:
      Medium

      Description

      OpenMRS API caches some entities in the hibernate 2nd level cache, when another application modifies data in the database outside of the OpenMRS API, it needs call OpenMRS via rest to discard the old state of entities otherwise in the UI users continue to see the old states.

      The endpoints need to support the following use cases,

      • Evicting a single entity from the cache
      • Evicting all entities of a given type from the cache
      • Clearing the entire cache

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                wyclif Wyclif Luyima
                Reporter:
                wyclif Wyclif Luyima
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: