spatial-d4science/test-github-actions.ini

74 lines
1.9 KiB
INI

[DEFAULT]
debug = false
# Uncomment and replace with the address which should receive any error reports
#email_to = you@yourdomain.com
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:../ckan/test-core.ini
ckan.legacy_templates = false
ckan.plugins = test_spatial_plugin harvest ckan_harvester test_harvester test_harvester2 test_action_harvester spatial_metadata spatial_query spatial_harvest_metadata_api gemini_csw_harvester gemini_doc_harvester gemini_waf_harvester
ckan.spatial.srid = 4326
ckan.spatial.default_map_extent=-6.88,49.74,0.50,59.2
ckan.spatial.testing = true
ckan.spatial.validator.profiles = iso19139,constraints,gemini2
ckan.harvest.mq.type = redis
# NB: other test configuration should go in test-core.ini, which is
# what the postgres tests use.
package_new_return_url = http://test.ckan.net/dataset/<NAME>?test=new
package_edit_return_url = http://test.ckan.net/dataset/<NAME>?test=edit
# copy from ckan/test-core-circle-ci.ini
ckan.datastore.write_url = postgresql://datastore_write:pass@ckan-postgres/datastore_test
ckan.datastore.read_url = postgresql://datastore_read:pass@ckan-postgres/datastore_test
ckan.redis.url = redis://ckan-redis:6379/1
sqlalchemy.url = postgresql://ckan_default:pass@ckan-postgres/ckan_test
solr_url = http://localhost:8080/solr
[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 = WARNING
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARNING" logs neither.
[handler_console]
class = StreamHandler
args = (sys.stdout,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s