Ok, I've checked:
the as-modules/client module doesn't really have any reason to exist,
since the as-modules/embedded one contains everything already (and is
misnamed).
Also the problem about the single module is only on the remote side,
which doesn't re-export any of the APIs. The embedded
"org.infinispan.main:x.y" module does it correctly, but I don't like the
name (as it create confusion with the usual "main" slot").
My proposal:
- remove as-modules/client
- move as-modules/embedded to become as-modules
- for symmetry with the uberjars, have an org.infinispan.embedded and
org.infinispan.remote modules which re-export the appropriate APIs.
+1
But please also add a couple of "user facing" modules which expose all
the necessary components as a single unit.
For my use case in Hibernate OGM I needed to list all of:
<module name="org.infinispan.client.hotrod"
slot="${infinispan.module.slot}" />
<module name="org.infinispan.protostream"
slot="${infinispan.module.slot}" />
<module name="org.infinispan.commons"
slot="${infinispan.module.slot}" />
<module name="org.infinispan.query.dsl"
slot="${infinispan.module.slot}" />
<module name="org.infinispan.query.remote.client"
slot="${infinispan.module.slot}" />
(figured this list out by trial & error)
Would be nice to have a single module ID for "remote client" and a
single module ID for "embedded usage", document these clearly, and
then mark the other modules as private API.
<properties>
<property name="jboss.api" value="private"/>
</properties>
Thanks,
Sanne
On 8 September 2016 at 08:17, Sebastian Laskawiec <slaskawi(a)redhat.com> wrote:
> Technically I'm all for it.
>
> The question that I have is how many users/clients do we have who wants to
> use only RemoteCacheManager?
>
> Thanks
> Sebastian
>
> On Thu, Sep 8, 2016 at 9:08 AM, Gustavo Fernandes <gustavo(a)infinispan.org>
> wrote:
>> Actually, looking at the current modules zip listed in the website [1], I
>> can see that protostream and hotrod-client modules are are there,
>> together with embedded modules (core, lucene-directoty, etc), isn't that
>> correct? What is in the other unlisted "client" module?
>>
>>
>> [1]
>>
http://downloads.jboss.org/infinispan/9.0.0.Alpha4/infinispan-as-embedded...
>>
>> On Thu, Sep 8, 2016 at 7:59 AM, Gustavo Fernandes <gustavo(a)infinispan.org>
>> wrote:
>>> +1
>>>
>>>
>>> On Thu, Sep 8, 2016 at 7:37 AM, Tristan Tarrant <ttarrant(a)redhat.com>
>>> wrote:
>>>> Hi all,
>>>>
>>>> we currently distribute two separate packages for WildFly modules:
>>>> embedded and client. Unfortunately we only list the former on the
>>>> download page.
>>>> My proposal is to combine the two packages into one. WDYT ?
>>>>
>>>> Tristan
>>>> --
>>>> Tristan Tarrant
>>>> Infinispan Lead
>>>> JBoss, a division of Red Hat
>>>> _______________________________________________
>>>> infinispan-dev mailing list
>>>> infinispan-dev(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev