spring.properties 1.29 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#-------------------------------------------------------------------------------
# Copyright 2013 Global Crop Diversity Trust
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
#DB connection properties
#In-memory HSQLDB
#db.url=jdbc:hsqldb:mem:test
#db.driverClassName = org.hsqldb.jdbc.JDBCDriver
#db.username = sa
#db.password =

Matija Obreza's avatar
Matija Obreza committed
23
db.url=jdbc:mysql://127.0.0.1/pgrsys_genesys?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
Matija Obreza's avatar
Matija Obreza committed
24
25
db.driverClassName = com.mysql.jdbc.Driver
db.username = root
Matija Obreza's avatar
Matija Obreza committed
26
db.password = 
Matija Obreza's avatar
Matija Obreza committed
27
db.showSql=true
Matija Obreza's avatar
Matija Obreza committed
28

Matija Obreza's avatar
Matija Obreza committed
29
30
c3p0.acquireIncrement=1
c3p0.minPoolSize=5
Matija Obreza's avatar
Updates  
Matija Obreza committed
31
c3p0.maxPoolSize=20
Matija Obreza's avatar
Matija Obreza committed
32
33
c3p0.maxIdleTime=30

34
lucene.indexDir=./lucene/
Matija Obreza's avatar
Matija Obreza committed
35

Matija Obreza's avatar
Matija Obreza committed
36
37
38
39
# reCAPTCHA API
captcha.privateKey=A
captcha.publicKey=B

Matija Obreza's avatar
Matija Obreza committed
40
41
# paths
download.files.dir=./data/