summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-28 21:45:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 14:11:37 +0100
commita3ff4b28baa9f4cc76ec4993f862f2ed7bd20f65 (patch)
treed85c61a3e432146f17351c5fc6a3bd1e39588da9 /bitbake/lib/toaster/toastergui/urls.py
parent28153acb0aadce9e42ab5eac02f9b68921a9563f (diff)
downloadpoky-a3ff4b28baa9f4cc76ec4993f862f2ed7bd20f65.tar.gz
bitbake: toaster: Add new ReST API for Image Customisation feature
Implemented xhr_customrecipe API. To create a custom recipe from a base recipe. Implemented xhr_customrecipe_packages API to add/remove packages to/from custom recipe. co-authored see Signed-off-by (Bitbake rev: 84be400237173970716616eeab6a37d776aa011b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.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.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 55f325d0d6..b47a161687 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -152,6 +152,14 @@ urlpatterns = patterns('toastergui.views',
152 # JS Unit tests 152 # JS Unit tests
153 url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'), 153 url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'),
154 154
155 # default redirection 155 # image customisation functionality
156 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)/packages/(?P<package_id>\d+|)$',
157 'xhr_customrecipe_packages', name='xhr_customrecipe_packages'),
158 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)$', 'xhr_customrecipe_id',
159 name='xhr_customrecipe_id'),
160 url(r'^xhr_customrecipe/', 'xhr_customrecipe',
161 name='xhr_customrecipe'),
162
163 # default redirection
156 url(r'^$', RedirectView.as_view( url= 'landing')), 164 url(r'^$', RedirectView.as_view( url= 'landing')),
157) 165)