Add new resources, part 7/7.

Review Request #14380 — Created March 20, 2025 and updated

Information

RBTools
master

Reviewers

This change adds the following new resource implementations:
- ArchivedReviewRequestItemResource
- ArchivedReviewRequestListResource
- MutedReviewRequestItemResource
- MutedReviewRequestListResource

These resources are special because they do not support GET operations,
and the regular links introspection therefore doesn't work. The
implementation of these is therefore done as a custom layer that allows
us to get a "bare" instance of the resource, which can then be used for
create or delete as appropriate.

  • Ran unit tests.
  • Used the new resources from a test script and saw that everything
    worked as expected.
Summary ID
Add new resources, part 7/7.
This change adds the following new resource implementations: - ArchivedReviewRequestItemResource - ArchivedReviewRequestListResource - MutedReviewRequestItemResource - MutedReviewRequestListResource These resources are special because they do not support GET operations, and the regular links introspection therefore doesn't work. The implementation of these is therefore done as a custom layer that allows us to get a "bare" instance of the resource, which can then be used for `create` or `delete` as appropriate. Testing Done: - Ran unit tests. - Used the new resources from a test script and saw that everything worked as expected.
a0e719b6a23093e84dfabe0e349da19edf1a30d9
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
Loading...