summaryrefslogtreecommitdiff
path: root/lib/templates/config.yaml
blob: 116f462d4a88f75d095dc2e5139a263d8b2045d3 (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
# Example configuration for OpenTox, please adjust to your settings
# 
# Database setup:
#
# Example MySql:
#
:database: 
  :adapter:  mysql
  :database: production
  :username: root
  :password: opentox
  :host:     localhost
#
# Example 1: Using external test services
#
# :services:
#  opentox-compound:      "http://webservices.in-silico.ch/compound/"
#  opentox-dataset:       "http://webservices.in-silico.ch/dataset/"
#  opentox-algorithm:     "http://webservices.in-silico.ch/algorithm/"
#  opentox-model:         "http://webservices.in-silico.ch/model/"
#  opentox-task:          "http://webservices.in-silico.ch/task/"
#  opentox-validation:    "http://opentox.informatik.uni-freiburg.de/validation/"
#
# Example 2: Using local services
:base_dir: /home/ist/webservices
:webserver: passenger
:services:
  opentox-compound:      "http://localhost/compound/"
  opentox-dataset:       "http://localhost/dataset/"
  opentox-algorithm:     "http://localhost/algorithm/"
  opentox-model:         "http://localhost/model/"
  opentox-task:          "http://localhost/task/"
  opentox-validation:    "http://localhost/validation/"
#
# Yaml capable hosts (faster than OWL-DL)
#
:yaml_hosts:
  - "localhost"

# Uncomment for verbose logging
# :logger: debug

# OpenSSO Authorization
# set ":server: " to disable A&A
:authorization:
  :server: "https://opensso.in-silico.ch"
  :free_request: #not controlled by A&A
    - "GET"  
  :authenticate_request: #only for authenticated user
    - "POST"
  :authorize_request:  #only for authenticated and authorizeduser
    - "DELETE"
    - "PUT"