blob: ce197430f1cf7714cf1da81deffde90dd005ad5e (
plain)
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
|
:base_dir: /var/www/opentox/
:services:
# make sure to enter a full uri (including training slash)
opentox-compound: "http://SERVERNAME/compound/"
opentox-dataset: "http://SERVERNAME/dataset/"
opentox-algorithm: "http://SERVERNAME/algorithm/"
opentox-model: "http://SERVERNAME/model/"
opentox-task: "http://SERVERNAME/task/"
opentox-toxcreate: "http://SERVERNAME/toxcreate/"
opentox-validation: "http://SERVERNAME/validation/"
:yaml_hosts:
- "localhost"
- "SERVERNAME"
- "webservices.in-silico.ch"
- "opentox.informatik.uni-freiburg.de"
# Uncomment for verbose logging
LOGGER
#:logger: debug
#:backtrace: true
# OpenSSO Authorization
# set ":server: " to disable A&A
:authorization:
:server: AA
:free_request: #request-method not controlled by A&A
- "GET"
- "POST"
- "HEAD"
- "DELETE"
- "PUT"
:authenticate_request: #only for authenticated user
- ""
:authorize_request: #only for authenticated and authorizeduser
- ""
# Exceptions:
:free_uris: #request-method for uri not controlled by A&A
? - :GET
: - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/algorithm/
- "http://in-silico.ch/dataset"
- "http://ot-dev.in-silico.ch/model"
- "http://ot-dev.in-silico.ch/validation"
- !ruby/regexp /http:\/\/ot\-dev\.in-silico\.ch\/validation\/[a-z,A-Z,\/,_\-]*$/
? - :GET
- :POST
: - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/toxcreate/
- !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/task/
- !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/compound/
? - :PUT
: - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/task/
:authorize_exceptions: #request-method for uri only authenticated, no authorization
? - :POST
: - !ruby/regexp /http:\/\/ot\-dev\.in\-silico\.ch\/algorithm/
- "http://ot-dev.in-silico.ch/dataset"
- "http://ot-dev.in-silico.ch/model"
- "http://ot-dev.in-silico.ch/validation"
- !ruby/regexp /http\:\/\/ot-dev\.in\-silico\.ch\/validation\/[a-z,A-Z,\/,_\-]*$/
|