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]).

The benefit of this is, that the same branch can be used without any issue on the OpenShift cartridge.

Also, if folks prefer a different database (e.g. MariaDB), they can modify the script in order to "patch" the JBoss' standalone.xml file.

Another thought would be adding at least two scripts:
* H2 (file storage to ~/unifiedPush)
* MariaDB/Mysql

Any thoughts ?

[1] https://issues.jboss.org/browse/AGPUSH-275
[2] https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/webapp/WEB-INF/h2-ds.xml

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf