spring.properties 2.88 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

19
db.url=jdbc:mysql://localhost/genesys2
Matija Obreza's avatar
Matija Obreza committed
20
21
db.driverClassName = com.mysql.jdbc.Driver
db.username = root
22
db.password = 1
23
db.showSql=false
24
db.hbm2ddl=update
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
53
54

# Content creation on startup
auto.createContent=true

55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# 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==================================

77
78
79
80
81
#google properties
google.consumerKey=534251255050-3o55n707i6fare7kcad32u6gs7r7t8h8.apps.googleusercontent.com
google.consumerSecret=tjbSs5iDFVeoNB7_mXX0M1dO
google.redirect.url=http://localhost:8080/g/auth
google.auth.url=https://accounts.google.com/o/oauth2/auth?redirect_uri=http://localhost:8080/g/auth&response_type=code&client_id=534251255050-3o55n707i6fare7kcad32u6gs7r7t8h8.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.login+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.me+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&approval_prompt=auto&access_type=online&include_granted_scopes=true
82