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

Fabric Gateway connector implementation: PeerGateway.js implementation + unit tests #1270

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

fraVlaca
Copy link
Contributor

@fraVlaca fraVlaca commented Mar 17, 2022

Added main logic for the new peer-gateaway connector with unit tests

@fraVlaca fraVlaca changed the title added main logic for the new peer-gateaway connector including unit t… added main logic for the new peer-gateaway connector with unit tests Mar 17, 2022
@fraVlaca fraVlaca closed this Mar 17, 2022
@fraVlaca fraVlaca reopened this Mar 17, 2022
@davidkel davidkel self-requested a review March 18, 2022 19:41
@davidkel
Copy link
Contributor

davidkel commented Mar 18, 2022

@fraVlaca as per #1270 (comment)
if you don't want it merged then suggest you convert it to a draft and remove the comment. At the moment I don't know whether it's ready to be reviewed or not.

@fraVlaca fraVlaca changed the title added main logic for the new peer-gateaway connector with unit tests Fabric Gateway connector implementation itselft: PeerGateway.js implementation + unit tests Mar 21, 2022
@fraVlaca fraVlaca changed the title Fabric Gateway connector implementation itselft: PeerGateway.js implementation + unit tests Fabric Gateway connector implementation: PeerGateway.js implementation + unit tests Mar 21, 2022
Copy link
Contributor

@davidkel davidkel left a comment

Choose a reason for hiding this comment

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

Some initial comments

@fraVlaca fraVlaca force-pushed the gateway branch 2 times, most recently from 5f269ff to d605b24 Compare March 24, 2022 18:35
Copy link
Contributor

@davidkel davidkel left a comment

Choose a reason for hiding this comment

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

Looking good, some minor points and improvements

@fraVlaca fraVlaca force-pushed the gateway branch 2 times, most recently from 4418ebc to 3ec0a95 Compare March 30, 2022 07:56
@fraVlaca fraVlaca requested a review from davidkel March 30, 2022 08:57
Copy link
Contributor

@davidkel davidkel left a comment

Choose a reason for hiding this comment

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

Sorry, some more changes required

Copy link
Contributor

@davidkel davidkel left a comment

Choose a reason for hiding this comment

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

Almost there

…ests

+ added minor changes to the connectionProfileDefinition

Signed-off-by: fraVlaca <ocsenarf@outlook.com>
clock.restore();
});

it('should pass the default timeout in the gateway options', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

duplicate test

Copy link
Contributor

@davidkel davidkel left a comment

Choose a reason for hiding this comment

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

LGTM

@davidkel davidkel merged commit a372f18 into hyperledger:main Apr 1, 2022
@davidkel davidkel linked an issue Apr 8, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a new fabric connector to utilise the new peer gateway api
2 participants