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

refactor(connector-fabric): upgrade to Fabric 2.x Node SDK #1123 #1124

Merged
merged 4 commits into from
Jul 21, 2021

Conversation

petermetz
Copy link
Member

The Cactus packages were relying on 1.4.x Fabric SDK dependencies
prior to this change (even when communicating with 2.x Fabric ledgers)
which is something that we needed to fix by upgrading the dependency
versions.

Fixes #1123

Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com

@petermetz petermetz added enhancement New feature or request Fabric Security Related to existing or potential security vulnerabilities labels Jul 12, 2021
@petermetz petermetz added this to the v0.7.0 milestone Jul 12, 2021
@petermetz petermetz requested a review from kikoncuo July 12, 2021 23:23
…r#1123

The Cactus packages were relying on 1.4.x Fabric SDK dependencies
prior to this change (even when communicating with 2.x Fabric ledgers)
which is something that we needed to fix by upgrading the dependency
versions.

Fixes hyperledger#1123

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
@petermetz petermetz marked this pull request as ready for review July 13, 2021 06:17
@petermetz petermetz requested a review from takeutak July 13, 2021 06:17
@petermetz petermetz self-assigned this Jul 13, 2021
petermetz added a commit to petermetz/cacti that referenced this pull request Jul 14, 2021
…#1130

Introduces a new, optional (for now) parameter on the run tx
endpoint's request object called gatewayOptions which is capable
of including everything that one needs to instantiate a gateway
object of the underlying Fabric Node SDK.

This change makes it possible to not need the keychain plugin
at all when someone does not need/want it.

Fixes hyperledger#1130

Depends on hyperledger#1124

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Copy link
Contributor

@jonathan-m-hamilton jonathan-m-hamilton left a comment

Choose a reason for hiding this comment

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

LGTM

@petermetz petermetz removed the request for review from kikoncuo July 19, 2021 19:18
@codecov-commenter
Copy link

codecov-commenter commented Jul 20, 2021

Codecov Report

Merging #1124 (b99356b) into main (b3b14df) will increase coverage by 0.00%.
The diff coverage is 76.19%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1124   +/-   ##
=======================================
  Coverage   73.19%   73.19%           
=======================================
  Files         246      246           
  Lines        8617     8619    +2     
  Branches      996      996           
=======================================
+ Hits         6307     6309    +2     
  Misses       1779     1779           
  Partials      531      531           
Impacted Files Coverage Δ
.../main/typescript/plugin-ledger-connector-fabric.ts 82.80% <28.57%> (ø)
...rc/main/typescript/fabric/fabric-test-ledger-v1.ts 83.59% <100.00%> (+0.17%) ⬆️

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 b3b14df...b99356b. Read the comment docs.

@petermetz petermetz merged commit 119a23a into hyperledger:main Jul 21, 2021
@petermetz petermetz deleted the refactor-1123 branch July 21, 2021 03:24
@petermetz
Copy link
Member Author

@jscode017 FYI This just got merged, should make things easier on your ODAP work as well.

petermetz added a commit to petermetz/cacti that referenced this pull request Jul 22, 2021
…#1130

Introduces a new, optional (for now) parameter on the run tx
endpoint's request object called gatewayOptions which is capable
of including everything that one needs to instantiate a gateway
object of the underlying Fabric Node SDK.

This change makes it possible to not need the keychain plugin
at all when someone does not need/want it.

Fixes hyperledger#1130

Depends on hyperledger#1124

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz added a commit that referenced this pull request Jul 22, 2021
Introduces a new, optional (for now) parameter on the run tx
endpoint's request object called gatewayOptions which is capable
of including everything that one needs to instantiate a gateway
object of the underlying Fabric Node SDK.

This change makes it possible to not need the keychain plugin
at all when someone does not need/want it.

Fixes #1130

Depends on #1124

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
hanxu12 pushed a commit to hanxu12/cactus that referenced this pull request Jul 26, 2021
…#1130

Introduces a new, optional (for now) parameter on the run tx
endpoint's request object called gatewayOptions which is capable
of including everything that one needs to instantiate a gateway
object of the underlying Fabric Node SDK.

This change makes it possible to not need the keychain plugin
at all when someone does not need/want it.

Fixes hyperledger#1130

Depends on hyperledger#1124

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Signed-off-by: hxlaf <xuhan@lafayette.edu>
RafaelAPB pushed a commit to RafaelAPB/blockchain-integration-framework that referenced this pull request Mar 9, 2022
…#1130

Introduces a new, optional (for now) parameter on the run tx
endpoint's request object called gatewayOptions which is capable
of including everything that one needs to instantiate a gateway
object of the underlying Fabric Node SDK.

This change makes it possible to not need the keychain plugin
at all when someone does not need/want it.

Fixes hyperledger#1130

Depends on hyperledger#1124

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fabric Security Related to existing or potential security vulnerabilities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor(connector-fabric): upgrade to Fabric 2.x Node SDK
4 participants