<div dir="ltr">Hi Vivek,<div><br></div><div>that&#39;s right, here are the steps you need to run:</div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/tree/1.0.3/migrator">https://github.com/aerogear/aerogear-unifiedpush-server/tree/1.0.3/migrator</a><br></div><div><br></div><div>feel free to test that on your test/dev environment. For any heads-up of successful migration, or errors, we are more than thankful!</div><div><br></div><div>Cheers,</div><div>Matthias</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 17, 2015 at 7:52 AM, Sébastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi Vivek,</div><div>Yes the migrator also works for 1.0.2 =&gt; 1.0.3 (without any data loss)</div><div>Sebi <br><br>Envoyé de mon iPhone</div><div><br>Le 17 mars 2015 à 07:37, Vivek Pandey &lt;<a href="mailto:vivek.pandey@pinelabs.com" target="_blank">vivek.pandey@pinelabs.com</a>&gt; a écrit :<br><br></div><div><div class="h5"><blockquote type="cite"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Guys,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks for the 1.0.3 release.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I am wondering if we can use the migrator to migrate 1.0.2 database schema without any data loss ? <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Vivek<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:aerogear-dev-bounces@lists.jboss.org" target="_blank">aerogear-dev-bounces@lists.jboss.org</a> [<a href="mailto:aerogear-dev-bounces@lists.jboss.org" target="_blank">mailto:aerogear-dev-bounces@lists.jboss.org</a>] <b>On Behalf Of </b>Jay Balunas<br><b>Sent:</b> Friday, March 13, 2015 11:11 PM<br><b>To:</b> AeroGear Developer Mailing List<br><b>Subject:</b> Re: [aerogear-dev] [Vote] UPS 1.0.3 release<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Great job everyone!  Lets get this release out the door!<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">On Mar 13, 2015, at 11:00 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt; wrote:<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">@docs: updates are now live:<u></u><u></u></p><div><p class="MsoNormal"><a href="https://staging.aerogear.org/docs/unifiedpush/ups_userguide/index/#schema" target="_blank">https://staging.aerogear.org/docs/unifiedpush/ups_userguide/index/#schema</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">also, here is the promised staging repo:<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://repository.jboss.org/nexus/content/repositories/jboss_releases_staging_profile-5061/" target="_blank">https://repository.jboss.org/nexus/content/repositories/jboss_releases_staging_profile-5061/</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">happy testing <u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Fri, Mar 13, 2015 at 10:56 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt; wrote:<u></u><u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt;margin-top:0px!important"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">Hi,<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">we tagged for UPS 1.0.3, and I did upload the JAR files to NEXUS, but I am not yet able to create a staging repo for that (I notified our ops team).<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">However, for testing the server, all we really need are the WAR files. I have uploaded the distribution files to GH, as a pre-release:<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333"><a href="https://github.com/aerogear/aerogear-unifiedpush-server/releases/tag/1.0.3" target="_blank"><span style="color:#4183c4;text-decoration:none">https://github.com/aerogear/aerogear-unifiedpush-server/releases/tag/1.0.3</span></a><u></u><u></u></span></p><div style="border:none;border-bottom:solid #eeeeee 1.0pt;padding:0in 0in 4.0pt 0in"><h2 style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in;border:none;padding:0in"><a name="14c268490470d48a_14c129004ed84c6a_user-content-notes"></a><span style="font-size:21.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">NOTES<u></u><u></u></span></h2></div><ol start="1" type="1"><li class="MsoNormal" style="color:#333333;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">We no longer support H2 database. You need MySQL/Postgres for tests.<u></u><u></u></span></li><li class="MsoNormal" style="color:#333333;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">The JPA provider no longer creates the DB schema for you<u></u><u></u></span></li></ol><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">If you don&#39;t have MySQL installed, it&#39;s trivial to use it via Docker:<u></u><u></u></span></p><pre style="background:#f7f7f7;border-radius:3px;word-wrap:normal;overflow:auto"><code><span style="font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0in">docker run --name unifiedpushDB -p 3306:3306 -e MYSQL_USER=unifiedpush -e MYSQL_PASSWORD=unifiedpush -e MYSQL_DATABASE=unifiedpush -e MYSQL_ROOT_PASSWORD=supersecret -d mysql<u></u><u></u></span></code></pre><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">Now, once the DB is up, you need to run the migrator against the empty database to create the schema. The migrator is included in the dist file, and instructions are <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.0.x/migrator/README.md" target="_blank"><span style="color:#4183c4;text-decoration:none">here</span></a><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">DB setup for EAP/WildFly works as usual, see<a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#gendbds" target="_blank"><span style="color:#4183c4;text-decoration:none">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#gendbds</span></a><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">Once that is all done, install the WARs to your application container:<a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#deploy" target="_blank"><span style="color:#4183c4;text-decoration:none">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#deploy</span></a><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">Let me know about this release, and if there are no complains by Wednesday, I will push the bits to maven central and mark the pre-release as a real release<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">Oh, this is most-likely the last release of the 1.0.x series<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">-Matthias<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333">PS: I am now updating the docs, to reflect the changes and new requirements<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt;line-height:19.2pt"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p></div><p class="MsoNormal"><span><span style="color:#888888">-- </span><u></u><u></u></span></p><div><p class="MsoNormal"><span style="color:#888888">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></span><u></u><u></u></p></div></div></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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><u></u><u></u></p></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div>
<br><hr>This message may contain privileged and confidential information and is solely for the use of intended recipient. The views expressed in this email are those of the sender and not of Pine Labs. The recipient should check this email and attachments for the presence of viruses / malwares etc. Pine Labs accepts no liability for any damage caused by any virus transmitted by this email. Pine Labs may monitor and record all emails.<hr>

<br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>aerogear-dev mailing list</span><br><span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></span></div></blockquote></div></div></div><br>_______________________________________________<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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>