summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldviewer/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/api.py')
-rw-r--r--bitbake/lib/toaster/bldviewer/api.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/api.py b/bitbake/lib/toaster/bldviewer/api.py
new file mode 100644
index 0000000000..f761ba65a9
--- /dev/null
+++ b/bitbake/lib/toaster/bldviewer/api.py
@@ -0,0 +1,37 @@
1#
2# BitBake Toaster Implementation
3#
4# Copyright (C) 2013 Intel Corporation
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 2 as
8# published by the Free Software Foundation.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License along
16# with this program; if not, write to the Free Software Foundation, Inc.,
17# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
19from django.conf.urls import patterns, include, url
20
21
22urlpatterns = patterns('bldviewer.views',
23 url(r'^builds$', 'model_explorer', {'model_name':'build'}, name='builds'),
24 url(r'^targets$', 'model_explorer', {'model_name':'target'}, name='targets'),
25 url(r'^tasks$', 'model_explorer', {'model_name':'task'}, name='task'),
26 url(r'^task_dependencies$', 'model_explorer', {'model_name':'task_dependency'}, name='task_dependencies'),
27 url(r'^packages$', 'model_explorer', {'model_name':'build_package'}, name='build_packages'),
28 url(r'^package_dependencies$', 'model_explorer', {'model_name':'build_package_dependency'}, name='build_package_dependencies'),
29 url(r'^target_packages$', 'model_explorer', {'model_name':'target_package'}, name='target_packages'),
30 url(r'^package_files$', 'model_explorer', {'model_name':'build_file'}, name='build_files'),
31 url(r'^layers$', 'model_explorer', {'model_name':'layer'}, name='layer'),
32 url(r'^layerversions$', 'model_explorer', {'model_name':'layerversion'}, name='layerversion'),
33 url(r'^recipes$', 'model_explorer', {'model_name':'recipe'}, name='recipe'),
34 url(r'^recipe_dependencies$', 'model_explorer', {'model_name':'recipe_dependency'}, name='recipe_dependencies'),
35 url(r'^variables$', 'model_explorer', {'model_name':'variable'}, name='variables'),
36 url(r'^logmessages$', 'model_explorer', {'model_name':'logmessage'}, name='logmessages'),
37)