eclipse / kapua

Eclipse Public License 2.0
222 stars 160 forks source link

✨ [REST API] Added "askTotalCount" parameter for tags api #4078

Closed Agnul97 closed 1 month ago

Agnul97 commented 1 month ago

Similarly as we have for devices and other APIs, query parameter askTotalCount, boolean, has been added to provide capability to count total number of tags present in db

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 16.80%. Comparing base (4af4e52) to head (7337ba6). Report is 3 commits behind head on develop.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse/kapua/pull/4078/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/4078?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) ```diff @@ Coverage Diff @@ ## develop #4078 +/- ## ============================================= - Coverage 16.81% 16.80% -0.02% Complexity 22 22 ============================================= Files 2011 2011 Lines 52262 52282 +20 Branches 4401 4403 +2 ============================================= - Hits 8789 8787 -2 - Misses 43076 43097 +21 - Partials 397 398 +1 ``` | [Files](https://app.codecov.io/gh/eclipse/kapua/pull/4078?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/4078?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%> (ø)` | | ... and [11 files with indirect coverage changes](https://app.codecov.io/gh/eclipse/kapua/pull/4078/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse)