adamsaghy commented on code in PR #2585:
URL: https://github.com/apache/fineract/pull/2585#discussion_r967420922


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/paymenttype/service/PaymentTypeReadPlatformServiceImpl.java:
##########
@@ -41,6 +42,7 @@ public PaymentTypeReadPlatformServiceImpl(final 
PlatformSecurityContext context,
     }
 
     @Override
+    @Cacheable(value = "payment_types", key = 
"T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat('payment_types')")

Review Comment:
   Should enhance the PaymentTypeWriteServiceImpl to invalidate the cache 
entries



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to