FINERACT-2081: payment_types cache was missing which caused exception during the interest recalculation process with cache on
This commit is contained in:
+4
@@ -109,6 +109,10 @@ public class CacheConfig {
|
|||||||
cacheManager.createCache("userTFAccessToken", accessTokenTemplate);
|
cacheManager.createCache("userTFAccessToken", accessTokenTemplate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cacheManager.getCache("payment_types") == null) {
|
||||||
|
cacheManager.createCache("payment_types", defaultTemplate);
|
||||||
|
}
|
||||||
|
|
||||||
return cacheManager;
|
return cacheManager;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user