Refactor caches (#2775)
* added static usage of cache in order access it easier * added mandatory (in hawkbit-core) registration - always tenant aware caches shall be used - hawkbit depends on it * added per cache and tenant name configuration * (not really realted to caches) but in order to be easier evicted entities after commit handlers are now statically accessed Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -20,9 +20,13 @@ spring.jpa.properties.eclipselink.logging.parameters=true
|
||||
# Test utility properties for easier fault investigation - END
|
||||
|
||||
# Default properties for test that can be overridden during test run - START
|
||||
# Enforce persistence of targetpolls for test predictability.
|
||||
# Enforce persistence of target polls for test predictability.
|
||||
hawkbit.server.repository.eagerPollPersistence=true
|
||||
|
||||
# disables Rollout and RoulloutGroup status cache for tests
|
||||
hawkbit.cache.RolloutStatus.spec=maximumSize=0
|
||||
hawkbit.cache.RolloutGroupStatus.spec=maximumSize=0
|
||||
|
||||
# Default properties for test that can be overridden during test run - END
|
||||
|
||||
# Properties that are managed by autoconfigure module at runtime and not available during test - START
|
||||
|
||||
Reference in New Issue
Block a user