[infinispan-issues] [JBoss JIRA] (ISPN-10745) infinispan-jcache-remote does not support CDI caching annotations
Dan Berindei (Jira)
issues at jboss.org
Wed Oct 16 06:42:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-10745:
--------------------------------
Status: Open (was: Pull Request Sent)
> infinispan-jcache-remote does not support CDI caching annotations
> -----------------------------------------------------------------
>
> Key: ISPN-10745
> URL: https://issues.jboss.org/browse/ISPN-10745
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.4.16.Final, 10.0.0.CR3
> Reporter: Dan Berindei
> Priority: Major
>
> {{infinispan-jcache-remote}} does not have CDI interceptors for the JCache annotations like {{@CacheResult}}, so the annotations are ignored.
> The JCache TCK has tests for the annotations (e.g. {{InterceptionCacheNameOnEachMethodTest}}), but those tests used to pass by accident: a Weld dependency ({{slf4j-api}}) was missing in the {{tck-remote}} maven-failsafe-plugin execution, and {{AbstractInterceptionTest}} was automatically excluding them.
> Weld 2.3.4.Final removed the {{slf4j-api}} dependency and the {{tck-remote}} interception tests started failing after the upgrade, but we did not notice because of ISPN-10379.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list