diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-05-09 16:18:32 +0200 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-05-09 16:19:03 +0200 |
commit | 5845b7dd0a70ab628967618e4ce3a141987668d5 (patch) | |
tree | 90013a43381470ea2d2113e10106c8ef3303dfd4 /app/urls.py | |
parent | 1c711c4b99a91a9b0b39697ba2cee04b189dfb29 (diff) |
Implement POST method for boot handler.
* Add URL for boot handler.
Diffstat (limited to 'app/urls.py')
-rw-r--r-- | app/urls.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/urls.py b/app/urls.py index 67e872b..90cec3e 100644 --- a/app/urls.py +++ b/app/urls.py @@ -18,9 +18,10 @@ from tornado.web import url from handlers import ( + BootHandler, DefConfHandler, JobHandler, - SubscriptionHandler + SubscriptionHandler, ) _JOB_URL = url(r'/api/job(?P<sl>/)?(?P<id>.*)', JobHandler, name='job') @@ -32,8 +33,10 @@ _SUBSCRIPTION_URL = url( SubscriptionHandler, name='subscription', ) +_BOOT_URL = url(r'/api/boot(?P<sl>/)?(?P<id>.*)', BootHandler, name='boot') APP_URLS = [ + _BOOT_URL, _DEFCONF_URL, _JOB_URL, _SUBSCRIPTION_URL, |