Bugfix: Setting and getting configuration values
- removed cache from global getter, because it was overriding the cache of the tenant specific getter - changed Type of AuthName key, type of key was not important before the huge configuration refactoring - fixed test conditions Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
This commit is contained in:
committed by
Nonnenmacher Fabian
parent
6a88f2a3f4
commit
c39753001e
@@ -146,7 +146,6 @@ public class TenantConfigurationManagement implements EnvironmentAware {
|
||||
* if the property cannot be converted to the given
|
||||
* {@code propertyType}
|
||||
*/
|
||||
@Cacheable(value = "tenantConfiguration", key = "#configurationKey.getKeyName()")
|
||||
@PreAuthorize(value = SpringEvalExpressions.HAS_AUTH_TENANT_CONFIGURATION)
|
||||
public <T> T getGlobalConfigurationValue(final TenantConfigurationKey configurationKey, final Class<T> propertyType)
|
||||
throws TenantConfigurationValidatorException {
|
||||
|
||||
Reference in New Issue
Block a user