<div dir="ltr">Is it possible to have #3 and use a dedicated configuration schema per Cache Store? Otherwise the only way to configure a Cache Store it to use properties (key/value pairs).<div><br></div><div>If it&#39;s not possible to have a custom configuration schema - I would vote for #4.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 25, 2016 at 3:42 PM, Tristan Tarrant <span dir="ltr">&lt;<a href="mailto:ttarrant@redhat.com" target="_blank">ttarrant@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, that would be nice.<br>
<br>
I found another &quot;cons&quot; for #4: an embedded config would not translate<br>
1:1 to server. Well, it doesn&#39;t translate directly now either, but at<br>
least it&#39;s &quot;closer&quot;.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tristan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 25/01/2016 15:39, Radim Vansa wrote:<br>
&gt; Would the deployable cache stores benefit from 4) as well? It seems to<br>
&gt; me as the only &#39;right&#39; option.<br>
&gt;<br>
&gt; R.<br>
&gt;<br>
&gt; On 01/25/2016 02:29 PM, Tristan Tarrant wrote:<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; Jakub has recently revived the Cassandra Cache Store (CCS from now on)<br>
&gt;&gt; which, as you all will remember, was pushed to an external repository<br>
&gt;&gt; where it lay in abandonment ever since.<br>
&gt;&gt;<br>
&gt;&gt; We now need to add support for this store to Infinispan Server, but<br>
&gt;&gt; unfortunately, because of the &quot;monolithic schema&quot; approach that WildFly<br>
&gt;&gt; imposes on subsystems, this has to be done within the Infinispan<br>
&gt;&gt; subsystem itself.<br>
&gt;&gt; This creates a conundrum, since the CCS depends on Infinispan core,<br>
&gt;&gt; server would depend on the CCS but server is part of the Infinispan build.<br>
&gt;&gt;<br>
&gt;&gt; Possible solutions:<br>
&gt;&gt; 1) move the CCS back into the main repo<br>
&gt;&gt;       - pros: no more conundrum, built by default, easier to maintain<br>
&gt;&gt;       - cons: makes the repo even bigger, binds the lifecycle of the CCS<br>
&gt;&gt; to Infinispan&#39;s<br>
&gt;&gt; 2) extend the server to be able to interpret the CCS schema but not<br>
&gt;&gt; actually depend on its code and provide the code to instantiate the CCS<br>
&gt;&gt; as an overlay module which can be installed on server<br>
&gt;&gt;       - pros: keeps the lifecycle of the CCS independent<br>
&gt;&gt;       - cons: additional complexity to handle the split, forces us to<br>
&gt;&gt; still keep server aligned with schema changes in the CCS itself.<br>
&gt;&gt; 3) make the CCS a deployable cache store<br>
&gt;&gt;       - pros: easiest<br>
&gt;&gt;       - cons: not really ootb experience, no nice schema<br>
&gt;&gt; 4) create a dedicated subsystem for the CCS and &quot;invent&quot; a way to<br>
&gt;&gt; reference it from the main Infinispan subsystem using a naming<br>
&gt;&gt; convention, similar to how datasources are currently implemented.<br>
&gt;&gt;       - pros: keeps the two projects independent, reusable for other<br>
&gt;&gt; Cachestores<br>
&gt;&gt;       - cons: writing a subsystem from scratch is complex (although bits<br>
&gt;&gt; of it could be made reusable for multiple cachestores).<br>
&gt;&gt;<br>
&gt;&gt; Your thoughts please.<br>
&gt;&gt;<br>
&gt;&gt; Tristan<br>
&gt;<br>
&gt;<br>
<br>
--<br>
</div></div><span class="im HOEnZb">Tristan Tarrant<br>
Infinispan Lead<br>
JBoss, a division of Red Hat<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</div></div></blockquote></div><br></div>