wso2 / carbon-apimgt

Apache License 2.0
166 stars 626 forks source link

fix jwt claim cache #12400

Closed tharindu1st closed 6 months ago

tharindu1st commented 6 months ago

fix jwt claim cache

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 47.09%. Comparing base (a5ceb8b) to head (5589603). Report is 15 commits behind head on master.

Files Patch % Lines
.../wso2/carbon/apimgt/keymgt/token/JWTGenerator.java 35.13% 17 Missing and 7 partials :warning:
.../keymgt/handlers/AbstractKeyValidationHandler.java 50.00% 10 Missing and 3 partials :warning:
...wso2/carbon/apimgt/impl/caching/CacheProvider.java 42.85% 3 Missing and 1 partial :warning:
...ava/org/wso2/carbon/apimgt/impl/utils/JWTUtil.java 50.00% 1 Missing and 2 partials :warning:
...o2/carbon/apimgt/impl/APIManagerConfiguration.java 50.00% 1 Missing and 1 partial :warning:
...rbon/apimgt/impl/internal/APIManagerComponent.java 0.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12400 +/- ## ============================================ - Coverage 47.25% 47.09% -0.17% + Complexity 4216 4165 -51 ============================================ Files 1869 1869 Lines 138187 138221 +34 Branches 19995 20005 +10 ============================================ - Hits 65304 65089 -215 - Misses 65136 65388 +252 + Partials 7747 7744 -3 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12400/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/12400/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `41.78% <42.85%> (-0.19%)` | :arrow_down: | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12400/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.10% <1.20%> (-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.