[Patchew-devel] [PATCH 0/4] rest: create separate results endpoint
Paolo Bonzini
pbonzini at redhat.com
Sat Mar 17 14:47:09 UTC 2018
This series changes the REST API so that results are moved out of
the SeriesSerializer and into their own collection endpoint.
This should make it easier for Shubham to design a REST replacement
for the applier-report and tester-report APIs.
Patches 1-3 are preparatory changes, while patch 4-5 respectively
introduce and complete the new endpoint.
Paolo
Paolo Bonzini (5):
git: include absolute link to log in REST result
rest: create Result object
rest: use lookup_field in HyperlinkedMessageField
rest: create separate results endpoint
rest: include log directly in /.../results/xyz response
api/rest.py | 91 ++++++++++++++++++++++++++++++++++++++++++++-------
api/urls.py | 5 +++
mods/git.py | 22 ++++++++-----
mods/testing.py | 14 ++++----
tests/test_git.py | 49 +++++++++++++++++----------
tests/test_rest.py | 6 ++++
tests/test_testing.py | 32 +++++++++---------
7 files changed, 160 insertions(+), 59 deletions(-)
--
2.16.2
More information about the Patchew-devel
mailing list