New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISPN-5900 CDI split up (common, remote and embedded) #4249
ISPN-5900 CDI split up (common, remote and embedded) #4249
Conversation
Needs rebasing |
^ Has this been agreed? I don't recall a thread in infinispan-dev list. |
Yes it was discussed long time ago but no official summary was been sent. Probably this would be a good moment to do it. The best summary might be found in BZ1266832. So during the split of CDI module we moved all remote stuff to //cc @tristantarrant |
Rebasing |
1c0a165
to
d7fdb88
Compare
@slaskawi Can't we keep the old annotations as deprecated? It would be nice to have a major version with a documented alternative in place before forcing the users to change their code. |
@danberindei Those annotations should be used only internally (the code was refactored at some point between ISPN 7 and 8 if I recall correctly). Now the clients need to produce Configuration or Embedded/RemoteCacheManager, and that's all. Here is a nice example. |
@slaskawi I see, It's fine by me then. |
Two cdi/jcache errors: |
d7fdb88
to
f1994c8
Compare
@tristantarrant After the rebase I couldn't reproduce those failures. Could you please make sure that you rebuilt all modules? Server build needs to be in sync with updated CDI integration modules. |
9d9d444
to
73bebca
Compare
I'm getting consistent failures in JCacheFailoverIT.testRemoteListener:63 » Transport Could not fetch transport |
Those failures were probably fixed by #4258 |
73bebca
to
d10f3ad
Compare
Rebased |
Pushed to master. Thanks |
https://issues.jboss.org/browse/ISPN-5900
This is the final part of CDI refactoring - the split between embedded, remote and common. Now all modules have their own packages so there will be no clashes in OSGi.
However CDI embedded integration is not backwards compatible when using JBoss Modules (one will need to switch from
org.infinispan.cdi
toorg.infinispan.cdi.embedded
dependency declaration).