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

BE-331 Display health status of peers and orderers- Backend #337

Conversation

ArchanaArige
Copy link
Contributor

@ArchanaArige ArchanaArige commented Jan 25, 2023

What this PR does / why we need it:

This feature enables the explorer to indicate the health status of peers and orderers that are online or offline.
As of now the explorer is not showing the status of peers/orderers that are part of HLF-Network. With this new feature enablement, we could display the health status of peers/orderers in the explorer dashboard.

Which issue(s) this PR fixes:

Fixes #331

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Additional documentation, usage docs, etc.:

This functionality can be tested using the reqURL:
http://<host>:<port>/api/peersStatus/:channel
Note : As part of testing, please pass bearer token for authorization


@ArchanaArige ArchanaArige added this to the Experimental Sprint milestone Jan 25, 2023
@ArchanaArige ArchanaArige requested a review from a team as a code owner January 25, 2023 09:14
@ArchanaArige ArchanaArige self-assigned this Jan 25, 2023
@adityajoshi12
Copy link
Contributor

What this PR does / why we need it:

This feature enables the explorer to indicate the health status of peers and orderers that are online or offline. As of now the explorer is not showing the status of peers/orderers that are part of HLF-Network. With this new feature enablement, we could display the health status of peers/orderers in the explorer dashboard.

Which issue(s) this PR fixes:

Fixes #331

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Additional documentation, usage docs, etc.:

This functionality can be tested using the reqURL: http://<host>:<port>/api/peersStatus/:channel Note : As part of testing, please pass bearer token for authorization


Thanks for the PR, can you sign the PR and squash the commits.

@ArchanaArige ArchanaArige force-pushed the BE-331-Display-health-status-of-peers-and-orderers branch from 60f1cb3 to 1ef93ba Compare January 25, 2023 15:19
Signed-off-by: ArchanaArige <nigam_archana@yahoo.co.in>

Modified the getPeersStatus functionality to embibe the status of the peers

Signed-off-by: ArchanaArige <nigam_archana@yahoo.co.in>

Resolved the review comments

Signed-off-by: ArchanaArige <nigam_archana@yahoo.co.in>
@ArchanaArige ArchanaArige force-pushed the BE-331-Display-health-status-of-peers-and-orderers branch from 1ef93ba to f33733a Compare January 27, 2023 08:04
@arsulegai arsulegai merged commit 0db8369 into hyperledger-labs:main Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display health status of peers and orderers
3 participants