bitbake: toaster: Analysis API variablehistory update
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Mon, 18 Nov 2013 12:43:18 +0000 (12:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Dec 2013 11:16:11 +0000 (11:16 +0000)
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

(Bitbake rev: f304332da3a51b15e864a853989fe5fbaf5f6079)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/bldviewer/api.py

index f761ba6..a586734 100644 (file)
@@ -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'),
 )