spring.properties 2.8 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
#-------------------------------------------------------------------------------
Matija Obreza's avatar
Matija Obreza committed
2
# Copyright 2014 Global Crop Diversity Trust
Matija Obreza's avatar
Matija Obreza committed
3
4
5
6
7
8
9
10
11
12
13
14
15
# 
# 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

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

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

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

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

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

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

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

Matija Obreza's avatar
Matija Obreza committed
49
# CDN
Matija Obreza's avatar
Matija Obreza committed
50
cdn.base=/html
Matija Obreza's avatar
Matija Obreza committed
51
cdn.flags.url=${cdn.base}/flags
52
53

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

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

Matija Obreza's avatar
Matija Obreza committed
60
61
mail.user.from=test@localhost
mail.requests.to=test@localhost
62
63
64
65
mail.user.password=
mail.user.name=

mail.smtp.ssl.enable=true
66
mail.smtp.starttls.enable=true
67
68
69
70
71
72
73
74
75
76
77
78
79
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==================================

80
#google properties
Matija Obreza's avatar
Matija Obreza committed
81
82
83
google.consumerKey=
google.consumerSecret=

84

85
86
87
88
89
90
91
#executor properties
executor.core.pool.size=4
executor.max.pool.size=16
executor.queue.capacity=100

#scheduler properties
scheduler.max.pool.size=16
92
93
94
95
96
97
98
99
100
101
102

# Hazelcast
hazelcast.name=genesys
hazelcast.password=hazelcasts
hazelcast.port=5701

# AWS Autodetection
hazelcast.aws.access-key=
hazelcast.aws.secret-key=
hazelcast.aws.region=eu-west-1
hazelcast.aws.security-group=sg-hazelcast
103
104
105

# Theme
theme.defaultThemeName=dev