summaryrefslogtreecommitdiff
path: root/poky/bitbake/lib/toaster/bldcollector/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/bitbake/lib/toaster/bldcollector/urls.py')
-rw-r--r--poky/bitbake/lib/toaster/bldcollector/urls.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/poky/bitbake/lib/toaster/bldcollector/urls.py b/poky/bitbake/lib/toaster/bldcollector/urls.py
new file mode 100644
index 000000000..888175d0a
--- /dev/null
+++ b/poky/bitbake/lib/toaster/bldcollector/urls.py
@@ -0,0 +1,27 @@
+#
+# BitBake Toaster Implementation
+#
+# Copyright (C) 2014-2017 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 include, url
+
+import bldcollector.views
+
+urlpatterns = [
+ # landing point for pushing a bitbake_eventlog.json file to this toaster instace
+ url(r'^eventfile$', bldcollector.views.eventfile, name='eventfile'),
+]