From 840f14db204e4ce29bb53eb72b79f0127b401897 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Fri, 8 Nov 2024 11:48:08 +0100 Subject: [PATCH] feat: Centralize Cache configuration in Meeds package - MEED-7742 - Meeds-io/meeds#2537 (#607) 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/wallet/cache-configuration.xml | 76 ------------------- 2 files changed, 77 deletions(-) delete mode 100644 wallet-webapps/src/main/webapp/WEB-INF/conf/wallet/cache-configuration.xml diff --git a/wallet-webapps/src/main/webapp/WEB-INF/conf/configuration.xml b/wallet-webapps/src/main/webapp/WEB-INF/conf/configuration.xml index 70954c269..c6c7e002e 100644 --- a/wallet-webapps/src/main/webapp/WEB-INF/conf/configuration.xml +++ b/wallet-webapps/src/main/webapp/WEB-INF/conf/configuration.xml @@ -21,7 +21,6 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. war:/conf/wallet/wallet-configuration.xml war:/conf/wallet/blockchain-configuration.xml - war:/conf/wallet/cache-configuration.xml war:/conf/wallet/bundle-configuration.xml war:/conf/wallet/organization-configuration.xml war:/conf/wallet/dynamic-container-configuration.xml diff --git a/wallet-webapps/src/main/webapp/WEB-INF/conf/wallet/cache-configuration.xml b/wallet-webapps/src/main/webapp/WEB-INF/conf/wallet/cache-configuration.xml deleted file mode 100644 index 43f4ac374..000000000 --- a/wallet-webapps/src/main/webapp/WEB-INF/conf/wallet/cache-configuration.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - org.exoplatform.services.cache.CacheService - - addExoCacheConfig - addExoCacheConfig - org.exoplatform.services.cache.ExoCacheConfigPlugin - Configures the cache for Blockchain mined transactions - - - wallet.transactions - Wallet application transactions cache - - - wallet.transactions - - - ${exo.cache.wallet.transactions.MaxNodes:2000} - - - ${exo.cache.wallet.transactions.TimeToLive:-1} - - - ${exo.cache.wallet.transactions.strategy:LIRS} - - - ${exo.cache.wallet.transactions.cacheMode:asyncInvalidation} - - - - - wallet.account - - - - wallet.account - - - ${exo.cache.wallet.account.MaxNodes:2000} - - - ${exo.cache.wallet.account.TimeToLive:-1} - - - ${exo.cache.wallet.account.strategy:LIRS} - - - ${exo.cache.wallet.account.cacheMode:asyncInvalidation} - - - - - - - - \ No newline at end of file