wso2 / carbon-apimgt

Apache License 2.0
165 stars 620 forks source link

Fix Global KM scope issue #12361

Closed chamilaadhi closed 3 months ago

chamilaadhi commented 3 months ago

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

Additionally this fixes dev portal keys loading issue when global KM is enabled and scope is set.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 45.06%. Comparing base (02ac308) to head (e14a969). Report is 175 commits behind head on master.

Files Patch % Lines
.../api/store/v1/mappings/ApplicationMappingUtil.java 70.00% 0 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12361 +/- ## ============================================= + Coverage 20.43% 45.06% +24.62% - Complexity 0 3898 +3898 ============================================= Files 1223 1860 +637 Lines 105145 137425 +32280 Branches 14735 19862 +5127 ============================================= + Hits 21490 61933 +40443 + Misses 80824 68168 -12656 - Partials 2831 7324 +4493 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12361/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/12361/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `39.07% <70.00%> (?)` | | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12361/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.09% <0.00%> (-0.34%)` | :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.