summaryrefslogtreecommitdiff
path: root/lib/templates
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-07-19 17:54:42 +0200
committerChristoph Helma <helma@in-silico.ch>2010-07-19 17:54:42 +0200
commitecbee16d255010afae8d99a9c70e186eb462c4a8 (patch)
treec85e209450921f6c12b5f6d5f0db22cbadc43cb8 /lib/templates
parent16e91c217eab6ebe31834c76429ce10fe15c39ef (diff)
rjb added to api wrapper, cnonfig template fixed
Diffstat (limited to 'lib/templates')
-rw-r--r--lib/templates/config.yaml82
1 files changed, 42 insertions, 40 deletions
diff --git a/lib/templates/config.yaml b/lib/templates/config.yaml
index b367af3..a833030 100644
--- a/lib/templates/config.yaml
+++ b/lib/templates/config.yaml
@@ -4,12 +4,12 @@
#
# Example MySql:
#
- :database:
- :adapter: mysql
- :database: production
- :username: root
- :password: opentox
- :host: localhost
+:database:
+ :adapter: mysql
+ :database: production
+ :username: root
+ :password: opentox
+ :host: localhost
#
# Example 1: Using external test services
#
@@ -22,42 +22,44 @@
# 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/"
+: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/"
#
# Accept headers:
#
- :accept_headers:
- opentox-compound:
- - "chemical/x-daylight-smiles"
- - "chemical/x-inchi"
- - "chemical/x-mdl-sdfile"
- - "image/gif"
- - "text/plain"
- opentox-dataset:
- - "application/x-yaml"
- - "application/rdf+xml"
- opentox-algorithm:
- - "application/x-yaml"
- - "application/rdf+xml"
- opentox-model:
- - "application/x-yaml"
- - "application/rdf+xml"
- opentox-task:
- - "application/x-yaml"
- - "application/rdf+xml"
- opentox-validation:
- - "application/x-yaml"
- - "application/rdf+xml"
+:accept_headers:
+ opentox-compound:
+ - "chemical/x-daylight-smiles"
+ - "chemical/x-inchi"
+ - "chemical/x-mdl-sdfile"
+ - "image/gif"
+ - "text/plain"
+ opentox-dataset:
+ - "application/x-yaml"
+ - "application/rdf+xml"
+ opentox-algorithm:
+ - "application/x-yaml"
+ - "application/rdf+xml"
+ opentox-model:
+ - "application/x-yaml"
+ - "application/rdf+xml"
+ opentox-task:
+ - "application/x-yaml"
+ - "application/rdf+xml"
+ opentox-validation:
+ - "application/x-yaml"
+ - "application/rdf+xml"
# Timeouts:
-#
- :default_task_max_duration: 3600
- :external_task_max_duration: 3600
+:default_task_max_duration: 3600
+:external_task_max_duration: 3600
+
+# Uncomment for verbose logging
+# :logger: debug