From 34a5497276c18aec895ead368020f775052976ed Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Fri, 8 Nov 2024 11:48:00 +0100 Subject: [PATCH] feat: Centralize Cache configuration in Meeds package - MEED-7742 - Meeds-io/meeds#2537 (#1195) This change will centralize the Cache configuration into Meeds package to ease its maintainability and evolutivity. In fact, this will allow to override the Meeds caches configurations by one single file override. --- .../webapp/WEB-INF/conf/configuration.xml | 1 - .../WEB-INF/conf/wiki/cache-configuration.xml | 59 ------------------- 2 files changed, 60 deletions(-) delete mode 100644 notes-webapp/src/main/webapp/WEB-INF/conf/wiki/cache-configuration.xml diff --git a/notes-webapp/src/main/webapp/WEB-INF/conf/configuration.xml b/notes-webapp/src/main/webapp/WEB-INF/conf/configuration.xml index 96871af6cd..1d6256a8a3 100644 --- a/notes-webapp/src/main/webapp/WEB-INF/conf/configuration.xml +++ b/notes-webapp/src/main/webapp/WEB-INF/conf/configuration.xml @@ -23,7 +23,6 @@ xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd" xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"> - war:/conf/wiki/cache-configuration.xml war:/conf/wiki/webui-configuration.xml war:/conf/wiki/wiki-configuration.xml war:/conf/wiki/resource-bundle-configuration.xml diff --git a/notes-webapp/src/main/webapp/WEB-INF/conf/wiki/cache-configuration.xml b/notes-webapp/src/main/webapp/WEB-INF/conf/wiki/cache-configuration.xml deleted file mode 100644 index b73c064198..0000000000 --- a/notes-webapp/src/main/webapp/WEB-INF/conf/wiki/cache-configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - org.exoplatform.services.cache.CacheService - - addExoCacheConfig - addExoCacheConfig - org.exoplatform.services.cache.ExoCacheConfigPlugin - add Exo Cache Config - - - wiki.PageRenderingCache - The wiki markup cache configuration - - wiki.PageRenderingCache - ${exo.cache.wiki.PageRenderingCache.strategy:LIRS} - ${exo.cache.wiki.PageRenderingCache.MaxNodes:1000} - ${exo.cache.wiki.PageRenderingCache.TimeToLive:86400} - ${exo.cache.wiki.PageRenderingCache.cacheMode:replication} - - - - wiki.PageAttachmentCache - The Cache configuration for wiki page attachment count - - wiki.PageAttachmentCache - ${exo.cache.wiki.PageAttachmentCache.strategy:LIRS} - ${exo.cache.wiki.PageAttachmentCache.MaxNodes:1000} - ${exo.cache.wiki.PageAttachmentCache.TimeToLive:86400} - ${exo.cache.wiki.PageAttachmentCache.cacheMode:replication} - - - - - -