Bug 1266832

Summary: CDI package split into remote and embedded
Product: [JBoss] JBoss Data Grid 6 Reporter: Sebastian Łaskawiec <slaskawi>
Component: InfinispanAssignee: Sebastian Łaskawiec <slaskawi>
Status: CLOSED DUPLICATE QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: afield, jdg-bugs, jmarkos, tkirby
Target Milestone: ER2   
Target Release: 6.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1278449 (view as bug list) Environment:
Last Closed: 2015-11-09 13:13:47 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: 1264840, 1278449    

Description Sebastian Łaskawiec 2015-09-28 06:57:52 UTC
Description of problem:
Connected issue: https://bugzilla.redhat.com/show_bug.cgi?id=1264840

Currently CDI package contains references to both Remote and Embedded JDG classes. This causes many problems like BZ1264840. The best way to deal with it is to split Uber Jar CDI package into two pieces - remote and embedded.

Comment 2 JBoss JIRA Server 2015-10-23 05:40:45 UTC
Sebastian Łaskawiec <slaskawi> updated the status of jira ISPN-5838 to Coding In Progress

Comment 3 Sebastian Łaskawiec 2015-10-30 13:59:56 UTC
Backward INcompatible (but ideal) tracked here: https://issues.jboss.org/browse/ISPN-5900

Comment 5 Tristan Tarrant 2015-11-04 11:21:11 UTC
*** Bug 1268894 has been marked as a duplicate of this bug. ***

Comment 8 Martin Gencur 2015-11-05 13:55:53 UTC
As Sebastian said, this cannot be fixed without breaking backwards compatibility.

Comment 9 Sebastian Łaskawiec 2015-11-05 14:02:05 UTC
Just an extended version why we can not do it:
The implementation would require moving classes from org.infinispan.cdi package into org.infinispan.cdi.remote and org.infinispan.cdi.embedded which would break client's code. Therefore we can not do it in minor release.

Comment 10 Sebastian Łaskawiec 2015-11-05 14:17:05 UTC
In JDG 6 series we managed to split the extension into two parts - Embedded and Remote. However we decided to leave java packaging as it was before (in org.infinispan.cdi). This fixes unnecessary dependencies for those jars and gives our client a choice - what kind of functionality they need.

Proper solution for JDG is tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1278449

Comment 11 Sebastian Łaskawiec 2015-11-09 13:13:47 UTC

*** This bug has been marked as a duplicate of bug 1278449 ***