jasperreports-server-ce/buildomatic/conf_source/db/mysql/db.template.properties

51 lines
2.6 KiB
Properties
Executable File

#
# Copyright © 2005 - 2018 TIBCO Software Inc.
# http://www.jaspersoft.com.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# default properties template for a db
# these properties act as templates to plug values in
# default database names
js.dbName=jasperserver
sugarcrm.dbName=sugarcrm
foodmart.dbName=foodmart
# jdbc url templates...assume same host, port, db type
# newer mariadb drivers discard username/password if it is not provided in the url and the url is set after username/password on a javax.sql.DataSource
# glassfish sets username before url so this is why we put username/password in the url here
# this was introduced by this change https://github.com/MariaDB/mariadb-connector-j/commit/76372ae in version 1.2.0
admin.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/mysql
js.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/${js.dbName}?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;autoReconnectForPools=true&amp;tinyInt1isBit=false
sugarcrm.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/${sugarcrm.dbName}?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;autoReconnectForPools=true&amp;tinyInt1isBit=false
foodmart.jdbcUrl=jdbc:mysql://${dbHost}:${dbPort}/${foodmart.dbName}?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;autoReconnectForPools=true&amp;tinyInt1isBit=false
# Websphere specific properties
# jdbc driver properties for jasperserver datasource
ws.jdbc.js.properties={{url java.lang.String ${js.jdbcUrl}} \
{user java.lang.String ${js.dbUsername}} \
{password java.lang.String ${js.dbPassword}} }
# jdbc driver properties for foodmart datasource
ws.jdbc.foodmart.properties={{url java.lang.String ${foodmart.jdbcUrl}} \
{user java.lang.String ${foodmart.dbUsername}} \
{password java.lang.String ${foodmart.dbPassword}} }
# jdbc driver properties for sugarcrm datasource
ws.jdbc.sugarcrm.properties={{url java.lang.String ${sugarcrm.jdbcUrl}} \
{user java.lang.String ${sugarcrm.dbUsername}} \
{password java.lang.String ${sugarcrm.dbPassword}} }