From 46c83feb6b07c8cce224448bd64b7c2d6a611b07 Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Sat, 23 Nov 2024 17:10:59 +0200 Subject: [PATCH] Remove a @Cacheable that might not work (#2103) Signed-off-by: Avgustin Marinov --- .../jpa/management/JpaTenantConfigurationManagement.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/management/JpaTenantConfigurationManagement.java b/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/management/JpaTenantConfigurationManagement.java index 421fd9e33..19a778d9b 100644 --- a/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/management/JpaTenantConfigurationManagement.java +++ b/hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/management/JpaTenantConfigurationManagement.java @@ -107,7 +107,8 @@ public class JpaTenantConfigurationManagement implements TenantConfigurationMana } @Override - @Cacheable(value = "tenantConfiguration", key = "#configurationKeyName") +// TODO - check if cache works +// @Cacheable(value = "tenantConfiguration", key = "#configurationKeyName") public TenantConfigurationValue getConfigurationValue(final String configurationKeyName) { checkAccess(configurationKeyName); @@ -117,8 +118,7 @@ public class JpaTenantConfigurationManagement implements TenantConfigurationMana } @Override -// TODO - check if cache works -// @Cacheable(value = "tenantConfiguration", key = "#configurationKeyName") + @Cacheable(value = "tenantConfiguration", key = "#configurationKeyName") public TenantConfigurationValue getConfigurationValue( final String configurationKeyName, final Class propertyType) { checkAccess(configurationKeyName);