-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathproduction.ini.example
More file actions
194 lines (147 loc) · 3.86 KB
/
Copy pathproduction.ini.example
File metadata and controls
194 lines (147 loc) · 3.86 KB
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
###
# app configuration
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
###
[composite:main]
use = egg:Paste#urlmap
/ = heron_admin
/av = av
[app:heron_admin]
use = egg:heron_wsgi
webapp_ini=%(here)s/production.ini
admin_ini=%(here)s/production.ini
pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
retry.attempts = 3
# cf http://docs.pylonsproject.org/projects/pyramid_mailer/dev/#configuration
mail.host = smtp.kumc.edu
mail.port = 25
mail.default_sender = heron-admin@kumc.edu
# mail.debug = True
[app:av]
use = egg:Paste#static
document_root = heron_wsgi/templates/av/
###
# heron_wsgi config
###
[cas]
base=https://cas.kumc.edu/cas/
app_secret=CRED_CAS_APP_NONCE
service=CFG_CAS_SERVICE
[i2b2]
cas_login=CFG_I2B2_WEBCLIENT
###
# heron_wsgi/admin_lib config
###
[enterprise_directory]
url= ldaps://ldapauth.kumc.edu:636
userDn= cn=biostats,ou=authaccounts,o=idvault
password= CRED_LDAP_BIOSTATS
base= ou=people,o=idvault
certfile=/etc/ssl/certs/ldapauth.kumc.edu.pem
studylookupaddr=CFG_ECOMPLIANCE_LOOKUP
# For audit trail of executives, see
# http://bmi-work.kumc.edu/work/ticket/321#comment:13
# and others such as
# https://bmi-work.kumc.edu/work/ticket/4676
executives=CFG_EXECUTIVES
[training]
username = hsr_train_check
database = hsr_cache
hostport= CFG_REDCAP_DB_HOSTPORT
url = mysql+pymysql://%(username)s:%(password)s@%(hostport)s/%(database)s?charset=utf8
password = CRED_TRAIN_CHECK
[redcapdb]
username=drocredcap
database=redcap
password=CRED_DROCREDCAP
# ssh tunnel
hostport=CFG_REDCAP_DB_HOSTPORT
# Note well the charset=utf8!
# cf. #3741 etc.
engine=mysql+pymysql://%(username)s:%(password)s@%(hostport)s/%(database)s?charset=utf8
[survey_invite]
database=redcap
username=survey_invite
password=CRED_SURVEY_INVITE
hostport=CFG_REDCAP_DB_HOSTPORT
engine=mysql+pymysql://%(username)s:%(password)s@%(hostport)s/%(database)s?charset=utf8
[saa_survey]
api_url=https://redcap.kumc.edu/api/
survey_url=https://redcap.kumc.edu/surveys/?s=npRuTQ
domain=kumc.edu
survey_id=93
[dua_survey]
domain=kumc.edu
api_url=https://redcap.kumc.edu/api/
survey_url=https://redcap.kumc.edu/surveys/?s=yYhHFCWa3X
survey_id=2678
[oversight_survey]
api_url=https://redcap.kumc.edu/api/
survey_url=CFG_REDCAP_OVERSIGHT_SURVEY_URL
domain=kumc.edu
survey_id=CFG_REDCAP_OVERSIGHT_SURVEY_ID
project_id=CFG_REDCAP_OVERSIGHT_PROJECT_ID
trigger_log=/tmp/oversight_log_dir/
trigger_url=http://db-proxy-sable/dummy
level=WARN
[i2b2pm]
identified_data=CFG_ID
i2b2pm_schema=CFG_I2B2PM_SCHEMA
i2b2crc_schema=CFG_I2B2CRC_SCHEMA
i2b2pm_url=CFG_I2B2_URL
[i2b2md]
i2b2meta_schema=CFG_I2B2META_SCHEMA
i2b2meta_url=CFG_I2B2_URL
[disclaimers]
project_id=398
[disclaimer_acknowledgements]
token=CRED_DISCLAIMER_ACKS
project_id=399
api_url=https://redcap.kumc.edu/api/
###
# wsgi server configuration
###
[server:main]
use = egg:waitress#main
# listen = *:6543
listen = %(http_listen)s
url_prefix=/heron/
###
# logging configuration
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
###
[loggers]
keys = root, heron_wsgi, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARN
handlers = console
[logger_heron_wsgi]
# ISSUE: process to increase / decrease logging level on demand
# level = WARN
level = INFO
# level = DEBUG
handlers =
qualname = heron_wsgi
[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
# End logging configuration