Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
This bundle contains a set of Joget plugins to query and update invoke transactions on 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.
Plugins Available available in the Bundlebundle:
Hyperledger Fabric Tool
Hyperledger Fabric Datalist Binder
Hyperledger Fabric Form Binder
English |
---|
This plugin bundle is compatible with Joget DX 7 and Joget Workflow v6. |
...
The source code for the plugin is available at https://github.com/jogetoss/
...
To download the plugin file (.jar), do look for the latest plugin release at JogetOSS: https://github.com/jogetoss/joget-hyperledger-fabric/releases-6.2.2.jar
Upload the downloaded .jar file through into your Joget platform via Manage Plugins.
Map and configure the tool Hyperledger Fabric Tool plugin to any Process Tool/ or Post Form Submission Processing Plugin.
Map and configure the datalist binder Hyperledger Fabric Datalist Binder to any Datalist Binder.
Map and configure the form binder Hyperledger Fabric Form Binder to any Form Load Binder.A sample app for Joget Enterprise Edition is available for download here:
This sample app reuses the "fabcar" example from this Hyperledger Fabric - Writing Your First Application Guide.
For summarized setup steps & info on how to configure this sample app prior to usage, you may refer to the related Joget Blog - Blockchain Made Simple: No-Code Apps with Hyperledger Fabric and Joget.
After performing the necessary prerequisites and installing the required samples & binaries, simply download the sample app below, import the app into your Joget instance and publish the app.
View file | ||||
---|---|---|---|---|
|
Sample connection profile to the Fabcar network:
connection-fabcar.json
...
The source code for the plugin is available at https://github.com/jogetoss/joget-hyperledger-fabric.
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
Version | Items |
7.0.0 | Updated for compatibility with Joget DX7 Upgraded to fabric-sdk-java 2.2.19 |
6.2.2 | Upgraded to fabric-sdk-java 2.2.6 Upgraded to commons-io 2.8.0 Upgraded to guava 3.1.1-jre |
6.2.1 | Updated for Hyperledger Fabric 2.2 |
6.2.0 | Updated for Hyperledger Fabric 2.0 |
6.1.0 | Updated for Hyperledger Fabric 1.4 on IBM Blockchain Platform |
6.0.0 | Initial release |
If you are hitting a similar error such as below:-
Code Block |
---|
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.