[Patchew-devel] [PATCH 0/4] rest: create separate results endpoint

Paolo Bonzini posted 4 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew-ci tags/patchew/20180317144714.18268-1-pbonzini@redhat.com
There is a newer version of this series
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(-)
[Patchew-devel] [PATCH 0/4] rest: create separate results endpoint
Posted by Paolo Bonzini 6 years, 1 month ago
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