diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-08 13:36:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-12 00:01:49 +0100 |
commit | a8be6d4bb18232f13ffcaaf1a4137322db59fe48 (patch) | |
tree | a5faf6af828e1ea571bf862f9c35c3d69e481d4e /bitbake/lib/toaster/toastergui/urls.py | |
parent | 88dca45a703867581084d15368b7c68117b3184c (diff) | |
download | poky-a8be6d4bb18232f13ffcaaf1a4137322db59fe48.tar.gz |
bitbake: toastergui: remove xhr_datatypeahead and xhr_XXXbuild
We remove the endpoints for XHR on the toastergui application.
The endpoints are now replaced with calls to the respective
REST endpoints (i.e. projectlayers, projecttargets, projectmachines).
(Bitbake rev: 8e7a2c3b125a34fd9d6fa0442ab13290137ecc51)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@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.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index d527be0017..f1b74cdd14 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -91,19 +91,19 @@ urlpatterns = patterns('toastergui.views', | |||
91 | tables.MachinesTable.as_view(template_name="generic-toastertable-page.html"), | 91 | tables.MachinesTable.as_view(template_name="generic-toastertable-page.html"), |
92 | { 'table_name': tables.MachinesTable.__name__.lower(), | 92 | { 'table_name': tables.MachinesTable.__name__.lower(), |
93 | 'title' : 'All compatible machines' }, | 93 | 'title' : 'All compatible machines' }, |
94 | name="all-machines"), | 94 | name="projectmachines"), |
95 | 95 | ||
96 | url(r'^project/(?P<pid>\d+)/recipes/$', | 96 | url(r'^project/(?P<pid>\d+)/recipes/$', |
97 | tables.RecipesTable.as_view(template_name="generic-toastertable-page.html"), | 97 | tables.RecipesTable.as_view(template_name="generic-toastertable-page.html"), |
98 | { 'table_name': tables.RecipesTable.__name__.lower(), | 98 | { 'table_name': tables.RecipesTable.__name__.lower(), |
99 | 'title' : 'All compatible recipes' }, | 99 | 'title' : 'All compatible recipes' }, |
100 | name="all-targets"), | 100 | name="projecttargets"), |
101 | 101 | ||
102 | url(r'^project/(?P<pid>\d+)/layers/$', | 102 | url(r'^project/(?P<pid>\d+)/layers/$', |
103 | tables.LayersTable.as_view(template_name="generic-toastertable-page.html"), | 103 | tables.LayersTable.as_view(template_name="generic-toastertable-page.html"), |
104 | { 'table_name': tables.LayersTable.__name__.lower(), | 104 | { 'table_name': tables.LayersTable.__name__.lower(), |
105 | 'title' : 'All compatible layers' }, | 105 | 'title' : 'All compatible layers' }, |
106 | name="all-layers"), | 106 | name="projectlayers"), |
107 | 107 | ||
108 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', | 108 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', |
109 | tables.LayerDetails.as_view(template_name='layerdetails.html'), | 109 | tables.LayerDetails.as_view(template_name='layerdetails.html'), |
@@ -121,10 +121,8 @@ urlpatterns = patterns('toastergui.views', | |||
121 | 'title' : 'All machines in layer' }, | 121 | 'title' : 'All machines in layer' }, |
122 | name=tables.LayerMachinesTable.__name__.lower()), | 122 | name=tables.LayerMachinesTable.__name__.lower()), |
123 | 123 | ||
124 | url(r'^xhr_projectbuild/(?P<pid>\d+)$', 'xhr_projectbuild', name='xhr_projectbuild'), | ||
125 | url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'), | 124 | url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'), |
126 | 125 | ||
127 | url(r'^xhr_datatypeahead/(?P<pid>\d+)$', 'xhr_datatypeahead', name='xhr_datatypeahead'), | ||
128 | url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), | 126 | url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), |
129 | url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'), | 127 | url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'), |
130 | 128 | ||