[Toaster] [review-request] adamian/20150515_fix_table_header - REST refactoring

Damian, Alexandru alexandru.damian at intel.com
Wed Jun 3 06:15:06 PDT 2015


Hi,

I've progressed a bit with the REST refactoring, I've tackled the
ToasterTables. Thanks to good quality of the existing code , changing the
layout of the URL was straightforward.

adamian/20150515_fix_table_header

This reduces the number of entry points for the URL, removes the ugly
hardcoding of XHR_ table urls in tables.py, and makes sure the APIs are
both human- and machine-readable.

I'll continue with refactoring to remove the xhr_datatypeahead and similar
URL endpoints which should not have existed in the first place.

Cheers,
Alex

-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150603/3ef63604/attachment.html>


More information about the toaster mailing list