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
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel