eclipse / kapua

Eclipse Public License 2.0
227 stars 160 forks source link

✨ [Rest API] Add `sortDir` and `sortParam` functionality to `/{scopeId}/tags` API #4103

Closed MDeLuise closed 2 months ago

MDeLuise commented 2 months ago

Summary

This PR introduces sorting functionality to the /tags API by adding two query parameters:

Changes

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 16.79%. Comparing base (b0f10d9) to head (1193106). Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
...pse/kapua/app/api/resources/v1/resources/Tags.java 0.00% 2 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse/kapua/pull/4103/graphs/tree.svg?width=650&height=150&src=pr&token=1P4N4CApH8&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse)](https://app.codecov.io/gh/eclipse/kapua/pull/4103?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) ```diff @@ Coverage Diff @@ ## develop #4103 +/- ## ============================================= - Coverage 16.79% 16.79% -0.01% Complexity 22 22 ============================================= Files 2019 2019 Lines 52410 52412 +2 Branches 4416 4417 +1 ============================================= Hits 8800 8800 - Misses 43210 43212 +2 Partials 400 400 ``` | [Files with missing lines](https://app.codecov.io/gh/eclipse/kapua/pull/4103?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | Coverage Δ | | |---|---|---| | [...pse/kapua/app/api/resources/v1/resources/Tags.java](https://app.codecov.io/gh/eclipse/kapua/pull/4103?src=pr&el=tree&filepath=rest-api%2Fresources%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fapp%2Fapi%2Fresources%2Fv1%2Fresources%2FTags.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-cmVzdC1hcGkvcmVzb3VyY2VzL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvYXBwL2FwaS9yZXNvdXJjZXMvdjEvcmVzb3VyY2VzL1RhZ3MuamF2YQ==) | `0.00% <0.00%> (ø)` | |