eclipse / kapua

Eclipse Public License 2.0
222 stars 160 forks source link

:fix: improve event bus observability #4005

Closed riccardomodanese closed 5 months ago

riccardomodanese commented 5 months ago

Brief description of the PR. Add a flag to check if the event bus is conencted or not.

Related Issue none

Description of the solution adopted see brief description

Screenshots none

Any side note on the changes made none

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 21.09%. Comparing base (ab4b252) to head (7d79862).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse/kapua/pull/4005/graphs/tree.svg?width=650&height=150&src=pr&token=1P4N4CApH8&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse)](https://app.codecov.io/gh/eclipse/kapua/pull/4005?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) ```diff @@ Coverage Diff @@ ## develop #4005 +/- ## ========================================== Coverage 21.08% 21.09% Complexity 10 10 ========================================== Files 1954 1954 Lines 41429 41430 +1 Branches 3801 3801 ========================================== + Hits 8737 8739 +2 + Misses 32288 32287 -1 Partials 404 404 ``` | [Files](https://app.codecov.io/gh/eclipse/kapua/pull/4005?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | Coverage Δ | | |---|---|---| | [...artemis/plugin/security/MetricsSecurityPlugin.java](https://app.codecov.io/gh/eclipse/kapua/pull/4005?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-YnJva2VyL2FydGVtaXMvcGx1Z2luL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvYnJva2VyL2FydGVtaXMvcGx1Z2luL3NlY3VyaXR5L01ldHJpY3NTZWN1cml0eVBsdWdpbi5qYXZh) | `0.00% <ø> (ø)` | | | [...se/kapua/commons/event/jms/JMSServiceEventBus.java](https://app.codecov.io/gh/eclipse/kapua/pull/4005?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-Y29tbW9ucy9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL2NvbW1vbnMvZXZlbnQvam1zL0pNU1NlcnZpY2VFdmVudEJ1cy5qYXZh) | `19.21% <42.85%> (+0.37%)` | :arrow_up: |