summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-12-09 16:52:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-12 20:44:53 +0000
commit7e80e501fb05021d4f4b6793462c488445cb4d89 (patch)
treedf966256a8a94e780e74b82fa9ae369e7c46a551 /bitbake/lib/toaster/toastergui/urls.py
parent90d995c63717f869ef68976f7d0778e87af989f2 (diff)
downloadpoky-7e80e501fb05021d4f4b6793462c488445cb4d89.tar.gz
bitbake: toaster: api Add layer Add api
Add layer adding REST api and remove old views method. (Bitbake rev: 0c8e41d2217fd568a84e857d1be230fcfd4bb5c7) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r--bitbake/lib/toaster/toastergui/urls.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index ece9ac1696..29f0d96ba7 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -190,12 +190,14 @@ urlpatterns = patterns('toastergui.views',
190 url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit', 190 url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit',
191 name='xhr_configvaredit'), 191 name='xhr_configvaredit'),
192 192
193 url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'),
194
195 url(r'^xhr_layer/(?P<pid>\d+)/(?P<layerversion_id>\d+)$', 193 url(r'^xhr_layer/(?P<pid>\d+)/(?P<layerversion_id>\d+)$',
196 api.XhrLayer.as_view(), 194 api.XhrLayer.as_view(),
197 name='xhr_layer'), 195 name='xhr_layer'),
198 196
197 url(r'^xhr_layer/(?P<pid>\d+)$',
198 api.XhrLayer.as_view(),
199 name='xhr_layer'),
200
199 # JS Unit tests 201 # JS Unit tests
200 url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'), 202 url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'),
201 203