wso2 / carbon-apimgt

Apache License 2.0
165 stars 620 forks source link

Add event_waiting_time config to throttle policy JMS listener #12375

Closed HeshanSudarshana closed 3 months ago

HeshanSudarshana commented 3 months ago

This PR adds the following changes,

Fixes https://github.com/wso2/api-manager/issues/2349

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 43.34%. Comparing base (b3fe9ab) to head (c39df99).

Files Patch % Lines
...ployer/utils/ThrottlePolicyJMSMessageListener.java 25.00% 8 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12375 +/- ## ============================================= + Coverage 20.04% 43.34% +23.30% - Complexity 0 3594 +3594 ============================================= Files 1233 1867 +634 Lines 105949 137932 +31983 Branches 14855 19940 +5085 ============================================= + Hits 21238 59790 +38552 + Misses 81913 70621 -11292 - Partials 2798 7521 +4723 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12375/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/12375/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `37.18% <25.00%> (?)` | | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12375/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.05% <0.00%> (+<0.01%)` | :arrow_up: | 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.