-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from johandahlberg/preping_for_aeacus
This enables the siswrap service to run the aeacus-family scripts
- Loading branch information
Showing
6 changed files
with
138 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ sender: [email protected] | |
receiver: [email protected] | ||
report_bin: /opt/arteria/arteria-siswrap-env/deps/sisyphus/quickReport.pl | ||
qc_bin: /opt/arteria/arteria-siswrap-env/deps/sisyphus/qcValidateRun.pl | ||
aeacus_stats: /opt/arteria/arteria-siswrap-env/deps/sisyphus/aeacus-stats.pl | ||
aeacus_reports: /opt/arteria/arteria-siswrap-env/deps/sisyphus/aeacus-reports.pl | ||
version_bin: /opt/arteria/arteria-siswrap-env/deps/sisyphus/version.pl | ||
runfolder_root: /data/testarteria1/mon1 | ||
perl: /usr/bin/perl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
"""Runs tools from Sisyphus suite | ||
""" | ||
|
||
__version__ = '1.0.2' | ||
__version__ = '1.1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
from tornado.web import URLSpec as url | ||
|
||
from arteria.web.app import AppService | ||
from siswrap.handlers import RunHandler, StatusHandler | ||
from siswrap.wrapper_services import ProcessService | ||
|
||
|
||
def routes(**kwargs): | ||
return [ | ||
url(r"/api/1.0/(?:qc|report|aeacusstats|aeacusreports)/run/([\w_-]+)", | ||
RunHandler, name="run", kwargs=kwargs), | ||
url(r"/api/1.0/(?:qc|report|aeacusstats|aeacusreports)/status/(\d*)", | ||
StatusHandler, name="status", kwargs=kwargs)] | ||
|
||
def start(): | ||
app_svc = AppService.create(__package__) | ||
process_svc = ProcessService(app_svc.config_svc) | ||
|
||
# Setup the routing. Help will be automatically available at /api, and will | ||
# be based on the doc strings of the get/post/put/delete methods | ||
args = dict(process_svc=process_svc, config_svc=app_svc.config_svc) | ||
routes = [ | ||
(r"/api/1.0/(?:qc|report)/run/([\w_-]+)", RunHandler, args), | ||
(r"/api/1.0/(?:qc|report)/status/(\d*)", StatusHandler, args) | ||
] | ||
app_svc.start(routes) | ||
app_svc.start(routes(process_svc=process_svc, config_svc=app_svc.config_svc)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters