wso2 / carbon-apimgt

Apache License 2.0
165 stars 623 forks source link

Improve SubscriptionBlockedException Error Handling #12299

Closed Avishka-Shamendra closed 4 months ago

Avishka-Shamendra commented 5 months ago

Purpose

Fix https://github.com/wso2/api-manager/issues/2515

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 44.32%. Comparing base (37627c9) to head (922dcab). Report is 93 commits behind head on master.

Files Patch % Lines
...api/store/v1/impl/SubscriptionsApiServiceImpl.java 0.00% 4 Missing :warning:
...carbon/apimgt/rest/api/util/utils/RestApiUtil.java 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12299 +/- ## ============================================ + Coverage 42.56% 44.32% +1.76% - Complexity 0 3589 +3589 ============================================ Files 1840 1840 Lines 136332 136382 +50 Branches 19724 19730 +6 ============================================ + Hits 58027 60454 +2427 + Misses 71350 68671 -2679 - Partials 6955 7257 +302 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12299/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | Coverage Δ | | |---|---|---| | [integration_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12299/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `38.74% <0.00%> (+2.69%)` | :arrow_up: | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12299/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.46% <0.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.