Bug 1024410

Summary: CDI Cache interceptor tests are failing while running in EAP container
Product: [JBoss] JBoss Data Grid 6 Reporter: Anna Manukyan <amanukya>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED NOTABUG QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: jdg-bugs, vjuranek
Target Milestone: ER5   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-09 10:55:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1017190    

Description Anna Manukyan 2013-10-29 15:36:34 UTC
Please find the detailed bug description here:

https://issues.jboss.org/browse/ISPN-3316

Comment 2 JBoss JIRA Server 2013-11-20 12:27:51 UTC
Galder Zamarreño <galder.zamarreno> made a comment on jira ISPN-3316

@Anna, @Tristan, this went under the radar somehow. We discovered the same thing via a different path: quickstarts, in ISPN-3735.

@Anna, I'm currently working on a fix for this. Could you port over the tests you created in jdg-funbtional-tests to Infinispan Server?

Comment 3 JBoss JIRA Server 2013-11-20 14:30:25 UTC
Galder Zamarreño <galder.zamarreno> made a comment on jira ISPN-3316

The problem, as mentioned in ISPN-3735 is that t injected cache resolver is not being used as alternative implementation for the cache resolver. This is because in CDI 1.0, alternatives can only be applied for injections in application, and not in libraries used by the application. Instead, I've created a paralell set of InjectCache*Interceptor classes for when InjectedCacheResolver is needed. I've tested the CDI quickstart with EAP 7.2 and it works fine.

Comment 4 JBoss JIRA Server 2013-11-20 16:36:27 UTC
Galder Zamarreño <galder.zamarreno> made a comment on jira ISPN-3316

We're adding Wildfly CDI/JCache integration tests with this.

Comment 5 Vojtech Juranek 2013-12-09 10:55:35 UTC
Interceptors were moved into JCache, thus tests require JCache (or some other implementation of JSR107) which is not part of product, so closing.