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

Add caches programmatically

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Core 2.1.0
    • Component/s: None
    • Complexity:
      High
    • Sprint:
      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

                Assignee:
                adamg Adam Grzybkowski
                Reporter:
                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