Patchwork [bitbake-devel,01/11] toaster: Analysis API variablehistory update

login
register
mail settings
Submitter Paul Eggleton
Date Dec. 9, 2013, 7:07 p.m.
Message ID <f304332da3a51b15e864a853989fe5fbaf5f6079.1386615747.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/63073/
State New
Headers show

Comments

Paul Eggleton - Dec. 9, 2013, 7:07 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch updates the Analysis REST API to expose
the variablehistory information. A UI tool can query
this API to get a picture on how a variable value got
to its final form.

The documentation for VariableHistory is updated on
Wiki https://wiki.yoctoproject.org/wiki/Analysis_REST_API_Contracts

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 lib/toaster/bldviewer/api.py | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/lib/toaster/bldviewer/api.py b/lib/toaster/bldviewer/api.py
index f761ba6..a586734 100644
--- a/lib/toaster/bldviewer/api.py
+++ b/lib/toaster/bldviewer/api.py
@@ -33,5 +33,6 @@  urlpatterns = patterns('bldviewer.views',
         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'),
 )