<div dir="ltr">Hi,<div><br></div><div>for [1] I thought about adding a CLI script that cover the H2 Database settings, similar to what we specified in the XML configuration file ([2]).</div><div><br></div><div>The benefit of this is, that the same branch can be used without any issue on the OpenShift cartridge.</div>
<div><br></div><div>Also, if folks prefer a different database (e.g. MariaDB), they can modify the script in order to &quot;patch&quot; the JBoss&#39; standalone.xml file.</div><div><br></div><div>Another thought would be adding at least two scripts:</div>
<div>* H2 (file storage to ~/unifiedPush)</div><div>* MariaDB/Mysql</div><div><br></div><div>Any thoughts ?</div><div><br></div><div>[1] <a href="https://issues.jboss.org/browse/AGPUSH-275">https://issues.jboss.org/browse/AGPUSH-275</a></div>
<div>[2] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/webapp/WEB-INF/h2-ds.xml">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/webapp/WEB-INF/h2-ds.xml</a><br clear="all">
<div><br></div>-- <br>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>