jdbc:mysql://<%= @mysql_host %>:<%= @mysql_port %>/zanata?characterEncoding=UTF-8 com.mysql.jdbc.Driver mysql-connector-java.jar 0 20 FailingConnectionOnly <%= @zanata_db_username %> <% if @zanata_db_password != '' -%> <%= @zanata_db_password %> <% end -%> NOWARN true false jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE h2 sa sa org.h2.jdbcx.JdbcDataSource false <% if @zanata_openid_provider_url == '' -%> <% end -%> <% if @zanata_admin_users != '' -%> <% else -%> <% end -%> <% if @zanata_smtp_host != '' -%> <% end -%> <% if @zanata_smtp_port != '' -%> <% end -%> <% if @zanata_smtp_username != '' -%> <% end -%> <% if @zanata_smtp_password != '' -%> <% end -%> <% if @zanata_smtp_tls != '' -%> <% end -%> <% if @zanata_smtp_ssl != '' -%> <% end -%> <% if @zanata_openid_provider_url != '' -%> <% end -%> <% @zanata_listeners.each do |listener| -%> <% if listener == 'https' -%> <% @listener_realm = ' security-realm="ApplicationRealm"' -%> <% else -%> <% @listener_realm = '' -%> <% end -%> <<%= listener %>-listener name="default.<%= listener %>" socket-binding="<%= listener %>"<%= @listener_realm %>/> <% end -%> ${jboss.bind.address:127.0.0.1}