forked from spinfo/tiwolij
-
Notifications
You must be signed in to change notification settings - Fork 1
/
application.properties
37 lines (29 loc) · 1.36 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# DATASOURCE
spring.jpa.show-sql = false
spring.jpa.hibernate.ddl-auto = update
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
spring.datasource.url = jdbc:mysql://localhost:3306/tiwolij?useSSL=false
spring.datasource.initialize = false
spring.datasource.username = tiwolij
spring.datasource.password = password
spring.datasource.testWhileIdle = true
spring.datasource.validationQuery = SELECT 1
# FILESIZES
spring.http.multipart.max-file-size=200MB
spring.http.multipart.max-request-size=200MB
# LOGGING
logging.level.org.springframework = WARN
logging.level.org.hibernate = WARN
logging.level.HeidelTimeStandalone = WARN
# CONFIGURATION
wikimedia.commons = upload.wikimedia.org/wikipedia/commons/
wikimedia.imageinfo = commons.wikimedia.org/w/api.php?action=query&redirects&format=xml&prop=imageinfo&iiprop=extmetadata&titles=File:
wikimedia.pageprops = .wikipedia.org/w/api.php?action=query&redirects&format=xml&prop=pageprops&ppprop=wikibase_item&titles=
tiwolij.locales.default = en
tiwolij.locales.allowed = de, en, es
tiwolij.import.imageheight = 500
tiwolij.import.levenshtein = 10
tiwolij.import.formats = \
work_id; schedule; language; corpus; source [meta], \
schedule; corpus; author_name; work_name; author_href; work_href; author_slug; work_slug; source [meta]