Description

This bundle contains a set of Joget plugins to query and update a Hyperledger Fabric blockchain network. For detailed instructions and an introduction to Hyperledger Fabric, please refer to the article Blockchain Made Simple: No-Code Apps with Hyperledger Fabric and Joget.

This plugin source code is available in a new open source repository at https://github.com/jogetoss/. JogetOSS is a community-led team for open source software related to the Joget no-code/low-code application platform. Projects under JogetOSS are community-driven and community-supported, and you are welcome to contribute to the projects.

Plugin Info

Plugins Available in the Bundle:

  1. Hyperledger Fabric Tool

  2. Hyperledger Fabric Datalist Binder

  3. Hyperledger Fabric Form Binder

This plugin bundle is compatible with Joget DX 8.

Installation

  1. Download the plugin JAR file:
    joget-hyperledger-fabric-6.2.2.jar

  2. Upload the downloaded jar file through Manage Plugins.

  3. Map and configure the tool plugin to any Process Tool/ Post Form Submission Processing Plugin.

  4. Map and configure the datalist binder to any Datalist Binder.

  5. Map and configure the form binder to any Form Load Binder.

  6. A sample app for Joget Enterprise Edition is available for download here:
    APP_fabcar-fabric2.0-20200310143047.jwa

  7. Sample connection profile to the Fabcar network:
    connection-fabcar.json
  8. The source code for the plugin is available at https://github.com/jogetoss/joget-hyperledger-fabric.

Screenshots

Figure 1: Hyperledger Fabric configuration


Figure 2: Fabric Transaction options


Figure 3: Storing transaction status to form field


Figure 4: Storing transaction status to workflow variable

Common Errors And Troubleshooting

If you are hitting a similar error such as below:-

WARN  12 Feb 2023 21:48:11 org.hyperledger.fabric.sdk.PeerEventServiceClient - PeerEventServiceClient{id: 151, channel: mychannel, peerName: peer0.org1.example.com, url: grpcs://peer0.org1.example.com:7051} PeerEventServiceClient{id: 151, channel: mychannel, peerName: peer0.org1.example.com, url: grpcs://peer0.org1.example.com:7051} attempts 10 Status returned failure code 403 (FORBIDDEN) during peer service event registration

The solution is to delete the wflow/hf_users folder.

Changelog

VersionItems
6.2.2Upgraded to fabric-sdk-java 2.2.6
Upgraded to commons-io 2.8.0
Upgraded to guava 3.1.1-jre
6.2.1Updated for Hyperledger Fabric 2.2
6.2.0Updated for Hyperledger Fabric 2.0
6.1.0Updated for Hyperledger Fabric 1.4 on IBM Blockchain Platform
6.0.0Initial release
  • No labels