Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-88547

Add extender to simplify cache reconfig in modules

    Details

      Description

      Before, if you want to have special configuration for cache in modules, you need to do:

      1) Add a xml configuration file 

      2) Publish a PortalCacheConfiguratorSettings service

      After this change, you do not need to publish the services manually, the only thing you need to do is :

      Add an xml file named "module-multi-vm.xml" in MODULE_ROOT/src/main/resources/META-INF to modify multi vm caches

      Add an xml file named "module-single-vm.xml" in MODULE_ROOT/src/main/resources/META-INF to modify single vm caches

      NOTE: the file name can not be changed or else it can not be read.

      After change, the old way to config caches by war is also working, "test-cache-configuration-portlet" in portal-plugins still works after this change.

        Attachments

          Activity

            People

            Assignee:
            koor.gai Koor Gai
            Reporter:
            tina.tian Tina Tian
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master