Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix timeout in monitor #9870

Merged
merged 2 commits into from
Dec 4, 2024
Merged

Fix timeout in monitor #9870

merged 2 commits into from
Dec 4, 2024

Conversation

steven-sheehy
Copy link
Member

Description:

  • Add a hedera.mirror.monitor.nodes.certHash property
  • Fix TLS connectivity by setting client.setNetworkFromAddressBook() using address book created from /api/v1/network/nodes

Related issue(s):

Fixes #9869

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
@steven-sheehy steven-sheehy added bug Type: Something isn't working monitor Area: Monitoring and dashboard labels Dec 4, 2024
@steven-sheehy steven-sheehy added this to the 0.120.0 milestone Dec 4, 2024
@steven-sheehy steven-sheehy self-assigned this Dec 4, 2024
@steven-sheehy steven-sheehy requested a review from a team as a code owner December 4, 2024 20:48
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 80.48780% with 8 lines in your changes missing coverage. Please review.

Project coverage is 92.25%. Comparing base (3d945d9) to head (92fe35f).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...java/com/hedera/mirror/monitor/NodeProperties.java 62.50% 3 Missing and 3 partials ⚠️
...om/hedera/mirror/monitor/publish/NodeSupplier.java 90.90% 1 Missing ⚠️
...a/mirror/monitor/publish/TransactionPublisher.java 92.85% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9870      +/-   ##
============================================
- Coverage     92.27%   92.25%   -0.02%     
- Complexity     7771     7772       +1     
============================================
  Files           951      951              
  Lines         32472    32502      +30     
  Branches       4118     4120       +2     
============================================
+ Hits          29962    29984      +22     
- Misses         1546     1551       +5     
- Partials        964      967       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
Copy link

sonarqubecloud bot commented Dec 4, 2024

Copy link
Contributor

@jnels124 jnels124 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@xin-hedera xin-hedera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@steven-sheehy steven-sheehy merged commit 5166aa4 into main Dec 4, 2024
31 of 32 checks passed
@steven-sheehy steven-sheehy deleted the 9869-monitor-tls branch December 4, 2024 21:16
steven-sheehy added a commit that referenced this pull request Dec 4, 2024
* Add a `hedera.mirror.monitor.nodes.certHash` property
* Fix TLS connectivity by setting `client.setNetworkFromAddressBook()` using address book created from `/api/v1/network/nodes`

---------

Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
@steven-sheehy steven-sheehy mentioned this pull request Dec 4, 2024
2 tasks
steven-sheehy added a commit that referenced this pull request Dec 5, 2024
Fix timeout in monitor (#9870)

* Add a `hedera.mirror.monitor.nodes.certHash` property
* Fix TLS connectivity by setting `client.setNetworkFromAddressBook()` using address book created from `/api/v1/network/nodes`

---------

Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working monitor Area: Monitoring and dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Monitor unable to connect via TLS
3 participants