summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldviewer/api.py
blob: c4c61355845b23c422a1d1a8601d136a513a08c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Toaster Implementation
#
# Copyright (C) 2013        Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

from django.conf.urls import patterns, include, url


urlpatterns = patterns('bldviewer.views',
        url(r'^builds$', 'model_explorer',  {'model_name':'build'}, name='builds'),
        url(r'^targets$', 'model_explorer',  {'model_name':'target'}, name='targets'),
        url(r'^target_files$', 'model_explorer',  {'model_name':'target_file'}, name='target_file'),
        url(r'^target_image_file$', 'model_explorer',  {'model_name':'target_image_file'}, name='target_image_file'),
        url(r'^tasks$', 'model_explorer', {'model_name':'task'}, name='task'),
        url(r'^task_dependencies$', 'model_explorer',  {'model_name':'task_dependency'}, name='task_dependencies'),
        url(r'^packages$', 'model_explorer',  {'model_name':'package'}, name='package'),
        url(r'^package_dependencies$', 'model_explorer',  {'model_name':'package_dependency'}, name='package_dependency'),
        url(r'^target_packages$', 'model_explorer',  {'model_name':'target_installed_package'}, name='target_packages'),
        url(r'^target_installed_packages$', 'model_explorer',  {'model_name':'target_installed_package'}, name='target_installed_package'),
        url(r'^package_files$', 'model_explorer',  {'model_name':'build_file'}, name='build_file'),
        url(r'^layers$', 'model_explorer', {'model_name':'layer'}, name='layer'),
        url(r'^layerversions$', 'model_explorer', {'model_name':'layerversion'}, name='layerversion'),
        url(r'^recipes$', 'model_explorer', {'model_name':'recipe'}, name='recipe'),
        url(r'^recipe_dependencies$', 'model_explorer',  {'model_name':'recipe_dependency'}, name='recipe_dependencies'),
        url(r'^variables$', 'model_explorer',  {'model_name':'variable'}, name='variables'),
        url(r'^variableshistory$', 'model_explorer',  {'model_name':'variablehistory'}, name='variablehistory'),
        url(r'^logmessages$', 'model_explorer',  {'model_name':'logmessage'}, name='logmessages'),
)