Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

feat: DIDComm Inbound Transport - Support for WebSocket #828

Merged
merged 1 commit into from
Nov 19, 2019

Conversation

rolsonquadras
Copy link
Contributor

Closes #813

Signed-off-by: Rolson Quadras [email protected]

@codecov
Copy link

codecov bot commented Nov 18, 2019

Codecov Report

Merging #828 into master will decrease coverage by 0.15%.
The diff coverage is 77.96%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #828      +/-   ##
==========================================
- Coverage   91.25%   91.09%   -0.16%     
==========================================
  Files          81       82       +1     
  Lines        4869     4928      +59     
==========================================
+ Hits         4443     4489      +46     
- Misses        229      236       +7     
- Partials      197      203       +6
Impacted Files Coverage Δ
pkg/didcomm/transport/http/inbound.go 81.25% <ø> (ø) ⬆️
pkg/didcomm/transport/ws/inbound.go 77.96% <77.96%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8f1511...bccdcfd. Read the comment docs.

@rolsonquadras
Copy link
Contributor Author

@troyronda @fqutishat current patch coverage is 78%. I'm finding it bit hard to cover the remaining lines (http/ws connection errors).

const processFailureErrMsg = "failed to process the message"

// provider contains dependencies for the WS Handler creation and is typically created by using aries.Context()
type provider interface {
Copy link
Contributor

Choose a reason for hiding this comment

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

is it needs to duplicate the same interface here?

you can simply implement the same interface found here https://github.com/hyperledger/aries-framework-go/blob/master/pkg/didcomm/transport/transport_interface.go#L28

unless you intend to create new functions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Valid point, I missed the common interface. Removed.

@fqutishat fqutishat merged commit c432dcc into hyperledger-archives:master Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

DIDComm Inbound Transport - Support for WebSocket
4 participants