spring.properties 2.38 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/genesys2?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false&autoCommit=false
Matija Obreza's avatar
Matija Obreza committed
24
25
db.driverClassName = com.mysql.jdbc.Driver
db.username = root
26
db.password = 1
27
db.showSql=false
28
db.hbm2ddl=do-nothing
Matija Obreza's avatar
Matija Obreza committed
29

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

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

Matija Obreza's avatar
Matija Obreza committed
37
38
39
# reCAPTCHA API: These are our keys for localhost
captcha.privateKey=6Lf7oucSAAAAAExAgGEZeO2p1rCXfDmd9e
captcha.publicKey=6Lf7oucSAAAAAGaS7ObroY2bNgCqMTmpyFVu7wMW
Matija Obreza's avatar
Matija Obreza committed
40

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

44
45
46
47
# ITPGRFA Easy-SMTA account (if you have one)
itpgrfa.easysmta.username=
itpgrfa.easysmta.password=

Matija Obreza's avatar
Matija Obreza committed
48
49
50
# GA Account
google.analytics.account=

Matija Obreza's avatar
Matija Obreza committed
51
52
53
# CDN
cdn.base=http://cdn.sandbox.genesys-pgr.org
cdn.flags.url=${cdn.base}/flags
54
55
56
57

# Content creation on startup
auto.createContent=true

58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Mail properties
mail.host=localhost
mail.port=25

mail.user.from=test@example.com
mail.user.password=
mail.user.name=


mail.smtp.ssl.enable=true
mail.smtp.auth=true
mail.transport.protocol=smtp

mail.async=true
mail.debug.message= Email has been sent succesfully\n\
                                        Details:\n\
                                        From:%s\n\
                                        To:%s\n\
                                        Subject: %s\n\
                                        Text: \n==================================\n\n\
                                            %s\
                                        \n\n==================================

81