diff options
author | gebele <gebele@in-silico.ch> | 2013-05-02 10:27:45 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-05-02 10:27:45 +0200 |
commit | 84c6f29b3077ec1a95b4778f7f63a853988c63e2 (patch) | |
tree | 404cce8e84940abcc9b23f3bd051ddb3cc6c7d07 | |
parent | f0fa91838f2af446efdb5d2ed83d723fad5eb53a (diff) |
added HEAD route for service check
-rw-r--r-- | application.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application.rb b/application.rb index f15aa48..591dbc2 100644 --- a/application.rb +++ b/application.rb @@ -20,6 +20,12 @@ also_reload "descriptor.rb" # Entry point module OpenTox class Application < Service + + # for service check + head '/?' do + $logger.debug "Algorithm service is running." + end + get '/?' do list = [ to('/lazar', :full), to('/fminer/bbrc', :full), |