Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4971

Add caches programmatically

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • TBD
    • Resolution: Fixed
    • None
    • Core 2.1.0
    • None
    • High
    • 2016-11-29 Platform 2.1.0

    Description

      We need to make it possible for modules to use the caching mechanism created by TRUNK-3675.

      In order to achieve that, we need to enable creating caches programmatically and not only by declaring them in ehcache-api.xml.

      Have a look at http://stackoverflow.com/questions/21944202/using-ehcache-in-spring-4-without-xml

      For the feature to be usable we need to let modules create caches programmatically, but it should be possible to override configs by modifying ehcache-api.xml. It is to enable sys admins to fine-tune caches for modules as well without having to recompile them.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                adamg Adam Grzybkowski
                raff Rafal Korytkowski
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 days, 7 hours, 30 minutes
                    4d 7h 30m