-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.ini
90 lines (66 loc) · 2.15 KB
/
test.ini
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[DEFAULT]
debug = false
smtp_server = localhost
error_email_from = paste@localhost
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5000
[app:main]
use = config:../../src/ckan/test-core.ini
# custom config settings to be used when running tests
# ----------------------------------------------------------------
ckan.site_url = http://odp.test
# Required in CKAN 2.10 if the datastore is enabled
ckan.datapusher.api_token = foobar
## Harvester setting
ckan.harvest.mq.type = amqp
#ckan.harvest.mq.user_id = ckan
#ckan.harvest.mq.password = ckan
ckan.harvest.log_scope = 0
## FTP Harvester setting
ckan.ftp = {}
ckan.ftp.ftp_server = testserver
ckan.ftp.testserver.username = TESTUSER
ckan.ftp.testserver.password = TESTPASS
ckan.ftp.testserver.host = ftp-secure.sbb.ch
ckan.ftp.testserver.port = 990
ckan.ftp.testserver.remotedirectory = /
ckan.ftp.testserver.localpath = /tmp/ftpharvest/tests/
ckan.plugins = ogdch ogdch_pkg ogdch_res ogdch_group ogdch_org harvest sbb_harvester timetable_harvester datastore fluent scheming_datasets scheming_groups scheming_organizations
ckan.storage_path = /tmp/ckan_storage_path/
# scheming settings
scheming.dataset_schemas = ckanext.switzerland:dcat-ap-switzerland_scheming.json
scheming.group_schemas = ckanext.switzerland:multilingual_group_scheming.json
scheming.organization_schemas = ckanext.switzerland:multilingual_organization_scheming.json
scheming.presets = ckanext.scheming:presets.json
ckanext.fluent:presets.json
ckanext.switzerland:presets.json
# ckanext-switzerland
ckanext.switzerland.wp_template_url = http://wp.test?action=get_nav
# ----------------------------------------------------------------
# Logging configuration
[loggers]
keys = root, ckan, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARN
handlers = console
[logger_ckan]
qualname = ckan
handlers =
level = INFO
[logger_sqlalchemy]
handlers =
qualname = sqlalchemy.engine
level = WARN
[handler_console]
class = StreamHandler
args = (sys.stdout,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s