From 84f25ccc0934d90178d0206f9057bbfaa14c0795 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Fri, 15 Nov 2024 18:38:34 +0100 Subject: [PATCH] feat: Centralize Cache configuration in Meeds package - MEED-7742 - Meeds-io/meeds#2537 (#359) 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 - .../conf/perk-store/cache-configuration.xml | 61 ------------------- 2 files changed, 62 deletions(-) delete mode 100644 perk-store-webapps/src/main/webapp/WEB-INF/conf/perk-store/cache-configuration.xml diff --git a/perk-store-webapps/src/main/webapp/WEB-INF/conf/configuration.xml b/perk-store-webapps/src/main/webapp/WEB-INF/conf/configuration.xml index a910ec730..9243237c0 100644 --- a/perk-store-webapps/src/main/webapp/WEB-INF/conf/configuration.xml +++ b/perk-store-webapps/src/main/webapp/WEB-INF/conf/configuration.xml @@ -20,7 +20,6 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. xmlns="http://www.exoplatform.org/xml/ns/kernel_1_3.xsd"> war:/conf/perk-store/bundle-configuration.xml - war:/conf/perk-store/cache-configuration.xml war:/conf/perk-store/notification-configuration.xml war:/conf/perk-store/websocket-configuration.xml war:/conf/perk-store/dynamic-container-configuration.xml diff --git a/perk-store-webapps/src/main/webapp/WEB-INF/conf/perk-store/cache-configuration.xml b/perk-store-webapps/src/main/webapp/WEB-INF/conf/perk-store/cache-configuration.xml deleted file mode 100644 index 5e15f4aa5..000000000 --- a/perk-store-webapps/src/main/webapp/WEB-INF/conf/perk-store/cache-configuration.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - org.exoplatform.services.cache.CacheService - - addExoCacheConfig - addExoCacheConfig - org.exoplatform.services.cache.ExoCacheConfigPlugin - Configures the cache for Perk store products and orders - - - perkstore.product - - - wallet.transactionsMessages - - - ${exo.cache.perkstore.product.MaxNodes:1000} - - - ${exo.cache.perkstore.product.TimeToLive:-1} - - - - - perkstore.order - - - wallet.accountDetailCache - - - ${exo.cache.perkstore.order.MaxNodes:2000} - - - ${exo.cache.perkstore.order.TimeToLive:-1} - - - - - - - \ No newline at end of file