summaryrefslogtreecommitdiff
path: root/lib/templates
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-05-12 12:31:39 +0200
committerChristoph Helma <helma@in-silico.ch>2010-05-12 12:31:39 +0200
commit1d0c46a9711050e116147437fbb334bd800324f3 (patch)
tree267b7815a9a00f73f254db5d47f6299759071d95 /lib/templates
parent0cf1fbcfae7f618f188f8b44051e5fc0724f8728 (diff)
Modification for new RestClient: body instead of to_s
Diffstat (limited to 'lib/templates')
-rw-r--r--lib/templates/config.yaml58
1 files changed, 53 insertions, 5 deletions
diff --git a/lib/templates/config.yaml b/lib/templates/config.yaml
index ad7c4ab..e8084bd 100644
--- a/lib/templates/config.yaml
+++ b/lib/templates/config.yaml
@@ -1,13 +1,25 @@
# Example configuration for OpenTox, please adjust to your settings
#
+# Database setup:
+#
+# Example MySql:
+#
+# :database:
+# :adapter: mysql
+# :database: production
+# :username: production
+# :password: your_password
+# :host: localhost
+#
# Example 1: Using external test services
#
# :services:
-# opentox-compound: "http://webservices.in-silico.ch/test/compound/"
-# opentox-dataset: "http://webservices.in-silico.ch/test/dataset/"
-# opentox-algorithm: "http://webservices.in-silico.ch/test/algorithm/"
-# opentox-model: "http://webservices.in-silico.ch/test/model/"
-# opentox-task: "http://webservices.in-silico.ch/test/task/"
+# 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/ch/webservices
@@ -18,3 +30,39 @@
# opentox-algorithm: "http://localhost:4002/"
# opentox-model: "http://localhost:4003/"
# opentox-task: "http://localhost:4004/"
+# opentox-validation: "http://opentox.informatik.uni-freiburg.de/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"
+# - "text/x-yaml"
+# - "application/rdf+xml"
+# opentox-algorithm:
+# - "application/x-yaml"
+# - "text/x-yaml"
+# - "application/rdf+xml"
+# opentox-model:
+# - "application/x-yaml"
+# - "text/x-yaml"
+# - "application/rdf+xml"
+# opentox-task:
+# - "application/x-yaml"
+# - "text/x-yaml"
+# - "application/rdf+xml"
+# opentox-validation:
+# - "application/x-yaml"
+# - "text/x-yaml"
+# - "application/rdf+xml"
+
+# Timeouts:
+#
+# :default_task_max_duration: 3600
+# :external_task_max_duration: 3600