spring.properties 2.35 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
#-------------------------------------------------------------------------------
# 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.
#-------------------------------------------------------------------------------
16
17
18

base.url=http://localhost:8080

Matija Obreza's avatar
Matija Obreza committed
19
db.url=jdbc:mysql://localhost/genesys4?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
Matija Obreza's avatar
Matija Obreza committed
20
21
db.driverClassName = com.mysql.jdbc.Driver
db.username = root
Matija Obreza's avatar
Matija Obreza committed
22
db.password = 
23
db.showSql=false
Matija Obreza's avatar
Matija Obreza committed
24
db.hbm2ddl=do-nothing
Matija Obreza's avatar
Matija Obreza committed
25

Matija Obreza's avatar
Matija Obreza committed
26
c3p0.acquireIncrement=1
27
28
29
c3p0.minPoolSize=1
c3p0.maxPoolSize=5
c3p0.maxIdleTime=10
Matija Obreza's avatar
Matija Obreza committed
30

31
lucene.indexDir=./lucene/
Matija Obreza's avatar
Matija Obreza committed
32

Matija Obreza's avatar
Matija Obreza committed
33
34
35
# reCAPTCHA API: These are our keys for localhost
captcha.privateKey=6Lf7oucSAAAAAExAgGEZeO2p1rCXfDmd9e
captcha.publicKey=6Lf7oucSAAAAAGaS7ObroY2bNgCqMTmpyFVu7wMW
Matija Obreza's avatar
Matija Obreza committed
36

Matija Obreza's avatar
Matija Obreza committed
37
38
# paths
download.files.dir=./data/
Matija Obreza's avatar
Matija Obreza committed
39

40
# ITPGRFA Easy-SMTA account (if you have one)
41
itpgrfa.easysmta.url=
42
43
44
itpgrfa.easysmta.username=
itpgrfa.easysmta.password=

Matija Obreza's avatar
Matija Obreza committed
45
46
47
# GA Account
google.analytics.account=

Matija Obreza's avatar
Matija Obreza committed
48
49
50
# CDN
cdn.base=http://cdn.sandbox.genesys-pgr.org
cdn.flags.url=${cdn.base}/flags
51
52

# Content creation on startup
53
auto.createContent=false
54

55
56
57
58
# Mail properties
mail.host=localhost
mail.port=25

Matija Obreza's avatar
Matija Obreza committed
59
60
mail.user.from=test@localhost
mail.requests.to=test@localhost
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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==================================

78
#google properties
Matija Obreza's avatar
Matija Obreza committed
79
80
81
google.consumerKey=
google.consumerSecret=

82