forked from benosteen/RDFDatabank
-
Notifications
You must be signed in to change notification settings - Fork 2
/
production-jenkins.ini
139 lines (114 loc) · 4.37 KB
/
production-jenkins.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# Copyright (c) 2012 University of Oxford
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, --INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# rdfdatabank - Pylons development environment configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = false
# Uncomment and replace with the address which should receive any error reports
#email_to = [email protected]
smtp_server = localhost
error_email_from = paste@jenkins
[server:main]
use = egg:Paste#http
#Use these setings to run pylons using mod_wsgi and apache
host = 127.0.0.1
port = 5000
#Use these settings tp run pylons from the commandline
#host = 0.0.0.0
#port = 80
[app:main]
use = egg:rdfdatabank
full_stack = true
static_files = true
sqlalchemy.url = mysql://databanksqladmin:d6sqL4dm;n@localhost:3306/databankauth
sqlalchemy.pool_recycle = 3600
cache_dir = /var/cache/databank
beaker.session.key = rdfdatabank
beaker.session.secret = somesecret
who.config_file = %(here)s/who.ini
who.log_level = info
who.log_file = /var/log/databank/who.log
#who.log_file = %(here)s/logs/who.log
redis.host = localhost
granary.store = %(here)s/silos
granary.uri_root = http://dataflow-jenkins.bodleian.ox.ac.uk/
#profile.log_filename = /var/log/databank/profile.log
#profile.path = /__profile__
#auth.file = /var/lib/databank/passwd
#auth.info = /var/lib/databank/rdfdatabank/config/users.py
doi.config = /var/lib/databank/rdfdatabank/config/doi_config.py
doi.count = /var/lib/databank/rdfdatabank/config/doi_count
broadcast.to = redis
broadcast.queue = silochanges
metadata.embargoed = False
solr.host = http://localhost:8080/solr
naming_rule = [^0-9a-zA-Z_\-\:]
naming_rule_humanized = Numbers, alphabets and -:
formats_served = text/html,text/xhtml,text/plain,application/json,application/rdf+xml,text/xml,text/rdf+n3,application/x-turtle,text/rdf+ntriples,text/rdf+nt
publisher = Bodleian Libraries, University of Oxford
rights = http://ora.ouls.ox.ac.uk/objects/uuid%3A1d00eebb-8fed-46ad-8e38-45dbdb4b224c
license = CC0 1.0 Universal (CC0 1.0). See http://creativecommons.org/publicdomain/zero/1.0/legalcode
#license = Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. See http://creativecommons.org/licenses/by-nc-sa/3.0/
api.version = 1.0
# If you'd like to fine-tune the individual locations of the cache data dirs
# for the Cache data, or the Session saves, un-comment the desired settings
# here:
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
#set debug = false
# Logging configuration
[loggers]
keys = root, routes, rdfdatabank
[handlers]
keys = console, logfile
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = logfile
[logger_routes]
level = INFO
handlers = logfile
qualname = routes.middleware
# "level = DEBUG" logs the route matched and routing variables.
[logger_rdfdatabank]
level = INFO
handlers = logfile
qualname = rdfdatabank
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[handler_logfile]
class = FileHandler
level = INFO
formatter = generic
args = ('/var/log/databank/databank.log', 'w')
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S