wso2 / carbon-apimgt

Apache License 2.0
166 stars 626 forks source link

Fix NPE #12327

Closed chamilaadhi closed 6 months ago

chamilaadhi commented 6 months ago

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

As the fix, set the default workflow executor ApplicationRegistrationSimpleWorkflowExecutor if null

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 44.58%. Comparing base (02ac308) to head (184c012). Report is 8 commits behind head on master.

Files Patch % Lines
...a/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java 0.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12327 +/- ## ============================================= + Coverage 20.43% 44.58% +24.15% - Complexity 0 3652 +3652 ============================================= Files 1223 1840 +617 Lines 105145 136409 +31264 Branches 14735 19735 +5000 ============================================= + Hits 21490 60824 +39334 + Misses 80824 68294 -12530 - Partials 2831 7291 +4460 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12327/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/12327/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `39.01% <0.00%> (?)` | | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12327/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.44% <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.