<div dir="ltr">What about dumping only the KC tables (they have no relation with the UPS table)  restore them on the KC separate datasource, apply migration on this datasource and then  nuke the old KC  tables on the initial DB. And finally applying the UPS migration path ?<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 11:11 PM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry if I&#39;m late for this discussion.<br>
<span class=""><br>
On 2015-05-07, Matthias Wessendorf wrote:<br>
&gt; How about the following, not optimal, proposal:<br>
&gt;<br>
&gt; * get back to one data-source<br>
<br>
</span>I&#39;m not against about it, if it&#39;s for the benefit of the project.<br>
<span class=""><br>
&gt; * stick w/ Keycloak-1.1.0-final (in case updating to KC-1.2.0 makes above<br>
&gt; item harder)<br>
<br>
</span>I don&#39;t get why master must be reverted to 1.1.0 final. I think stable<br>
release of KC must go in 1.0.x series of UPS, but on master, we must<br>
stick with the latest greatest release of KC. Because is the only way to<br>
work closely with KC team.<br>
<span class=""><br>
&gt;<br>
&gt; I understand that a separation of the two is needed on the longer run - it<br>
&gt; would be good if that&#39;s something on our agenda post 1.1.0 e.g. for 1.2.0<br>
&gt;<br>
&gt; I think the above is a &#39;work around&#39;, which I could live with and buys us<br>
&gt; time to truly think about a perfect separation.<br>
<br>
</span>My 2 cents here and my humble opinion is the fact that we don&#39;t need perfection,<br>
only the correct. Today, split Keycloak and UPS would the most<br>
correct thing to do. I&#39;m not saying what we&#39;re doing here is dead wrong, but<br>
sooner or later the problem will hit us anyway.<br>
<br>
So maybe we should attack the problem now?<br>
<div><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 7, 2015 at 3:26 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, May 6, 2015 at 8:27 PM, Douglas Campos &lt;<a href="mailto:qmx@qmx.me">qmx@qmx.me</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Howdy y&#39;all!<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I&#39;m revisiting migration strategies for UPS master, and we have a tough<br>
&gt; &gt;&gt; situation to deal with.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Since we have moved keycloak to its own DataSource, there are KC<br>
&gt; &gt;&gt; leftovers at UPS database which need to be cleaned up.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; 1) Any suggestions on how to provide a migration path?<br>
&gt; &gt;&gt;   Since the tables are intertwined with UPS tables, it&#39;s not a matter of<br>
&gt; &gt;&gt; doing a db dump/restore...<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; how are they intertwined? Is UPS stuff stored in KC tables, or vice versa?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; 2) How to ensure we can safely get rid of the leftover tables on UPS<br>
&gt; &gt;&gt; DataSource?<br>
&gt; &gt;&gt;   I can easily provide migrations which just nuke the tables from the<br>
&gt; &gt;&gt; face of the earth,<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; that&#39;s good, but<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; but how to do this without data loss?<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t know :-) I wonder if we just can not move the data to a new<br>
&gt; &gt; datasource.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thoughts?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; aerogear-dev mailing list<br>
&gt; &gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Matthias Wessendorf<br>
&gt; &gt;<br>
&gt; &gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
--<br>
<br>
</div></div>abstractj<br>
PGP: 0x84DC9914<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div>