eclipse / kapua

Eclipse Public License 2.0
222 stars 160 forks source link

✨ [REST API] Batch of askTotalCount & matchTerm queryParameters for some APIs #4080

Closed Agnul97 closed 1 month ago

Agnul97 commented 1 month ago

This PR introduce a series of askTotalCount & matchTerm queryParameters for some API endpoints. The precise list can be seen with commits name in the PR

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 16.79%. Comparing base (be2ee60) to head (ca60dcb).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse/kapua/pull/4080/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/4080?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) ```diff @@ Coverage Diff @@ ## develop #4080 +/- ## ============================================= - Coverage 16.80% 16.79% -0.02% Complexity 22 22 ============================================= Files 2011 2016 +5 Lines 52282 52317 +35 Branches 4403 4407 +4 ============================================= Hits 8787 8787 - Misses 43097 43132 +35 Partials 398 398 ``` | [Files](https://app.codecov.io/gh/eclipse/kapua/pull/4080?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | Coverage Δ | | |---|---|---| | [...pua/service/authorization/role/RoleAttributes.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Fsecurity%2Fauthorization%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fauthorization%2Frole%2FRoleAttributes.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9zZWN1cml0eS9hdXRob3JpemF0aW9uL2FwaS9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL3NlcnZpY2UvYXV0aG9yaXphdGlvbi9yb2xlL1JvbGVBdHRyaWJ1dGVzLmphdmE=) | `0.00% <ø> (ø)` | | | [...ce/certificate/info/CertificateInfoAttributes.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Fsecurity%2Fcertificate%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fcertificate%2Finfo%2FCertificateInfoAttributes.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9zZWN1cml0eS9jZXJ0aWZpY2F0ZS9hcGkvc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL2NlcnRpZmljYXRlL2luZm8vQ2VydGlmaWNhdGVJbmZvQXR0cmlidXRlcy5qYXZh) | `0.00% <ø> (ø)` | | | [...a/org/eclipse/kapua/service/tag/TagAttributes.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Ftag%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Ftag%2FTagAttributes.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS90YWcvYXBpL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvc2VydmljZS90YWcvVGFnQXR0cmlidXRlcy5qYXZh) | `0.00% <ø> (ø)` | | | [...rvice/endpoint/internal/EndpointInfoQueryImpl.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Fendpoint%2Finternal%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fendpoint%2Finternal%2FEndpointInfoQueryImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9lbmRwb2ludC9pbnRlcm5hbC9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL3NlcnZpY2UvZW5kcG9pbnQvaW50ZXJuYWwvRW5kcG9pbnRJbmZvUXVlcnlJbXBsLmphdmE=) | `0.00% <0.00%> (ø)` | | | [...ficate/info/internal/CertificateInfoQueryImpl.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Fsecurity%2Fcertificate%2Finternal%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fcertificate%2Finfo%2Finternal%2FCertificateInfoQueryImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9zZWN1cml0eS9jZXJ0aWZpY2F0ZS9pbnRlcm5hbC9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL3NlcnZpY2UvY2VydGlmaWNhdGUvaW5mby9pbnRlcm5hbC9DZXJ0aWZpY2F0ZUluZm9RdWVyeUltcGwuamF2YQ==) | `90.00% <0.00%> (-10.00%)` | :arrow_down: | | [...vice/authorization/group/shiro/GroupQueryImpl.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Fsecurity%2Fshiro%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fauthorization%2Fgroup%2Fshiro%2FGroupQueryImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9zZWN1cml0eS9zaGlyby9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL3NlcnZpY2UvYXV0aG9yaXphdGlvbi9ncm91cC9zaGlyby9Hcm91cFF1ZXJ5SW1wbC5qYXZh) | `66.66% <0.00%> (-33.34%)` | :arrow_down: | | [...ervice/authorization/role/shiro/RoleQueryImpl.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Fsecurity%2Fshiro%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fauthorization%2Frole%2Fshiro%2FRoleQueryImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9zZWN1cml0eS9zaGlyby9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL3NlcnZpY2UvYXV0aG9yaXphdGlvbi9yb2xlL3NoaXJvL1JvbGVRdWVyeUltcGwuamF2YQ==) | `83.33% <0.00%> (-16.67%)` | :arrow_down: | | [...lipse/kapua/service/tag/internal/TagQueryImpl.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=service%2Ftag%2Finternal%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Ftag%2Finternal%2FTagQueryImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS90YWcvaW50ZXJuYWwvc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL3RhZy9pbnRlcm5hbC9UYWdRdWVyeUltcGwuamF2YQ==) | `0.00% <0.00%> (ø)` | | | [...se/kapua/app/api/resources/v1/resources/Roles.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree&filepath=rest-api%2Fresources%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fapp%2Fapi%2Fresources%2Fv1%2Fresources%2FRoles.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-cmVzdC1hcGkvcmVzb3VyY2VzL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvYXBwL2FwaS9yZXNvdXJjZXMvdjEvcmVzb3VyY2VzL1JvbGVzLmphdmE=) | `0.00% <0.00%> (ø)` | | | [...pse/kapua/app/api/resources/v1/resources/Tags.java](https://app.codecov.io/gh/eclipse/kapua/pull/4080?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 [7 more](https://app.codecov.io/gh/eclipse/kapua/pull/4080?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | |