Flogo extension for Hyperledger Fabric chaincode
This Flogo extension is designed to allow delopers to design and implement Hyperledger Fabric chaincode in the zero-code visual programming environment of the TIBCO Flogo® Enterprise. This extension supports the following release versions:
The Transaction Trigger allows you to configure the chaincode input and output schema, including persistent and/or transient input parameters.
It supports the following activities for storing and querying data on the distributed ledger and/or on private collections.
- Put: Insert or update data on the distributed ledger or a private data collection, and optionally insert its associated compsite keys if they are specified.
- Put All: Insert a list of records on the distributed ledger or a private collection, and optionally insert composite keys of each record.
- Get: Retrieve a record of a specified key from the distributed ledger or a private collection.
- Get by Range: Retrieve all records in a specified range of keys from the distributed ledger or a private collection. It supports resultset pagination for records from the distributed ledger.
- Get by Composite Key: Retrieve all records by a composite-key filter from the distributed ledger or a private collection. It supports resultset pagination for records from the distributed ledger.
- Get History: Retrieve the history of a specified key for data on the distributed ledger.
- Query: Retrieve all records by a Couchdb query statement from the distributed ledger or a private collection. It supports resultset pagination for records from the distributed ledger.
- Delete: Delete the state of a specified key from the distributed ledger or a private collection, as well as its composite keys. Optionally, it can delete only the state, or only a composite key.
- Set Event: Set a specified event and payload for a blockchain transaction.
- Set Endorsement Policy: Set state-based endorsement policy by adding or deleting an endorsement organization, or by specifying a new endorsement policy.
- Invoke Chaincode: Invoke a local chaincode, and returns response data from the called transaction.
With these extensions, Hyperledger Fabric chaincode can be designed and implemented with zero code. Refer to samples marble-app
and marble-private
for more details of the chaincode models implemented by using the TIBCO Flogo® Enterprise
.
This extension is packaged as fabricExtension.zip
, which can be re-created from source by using the script zip-fabric.sh
. You can upload the zip-file to the TIBCO Flogo® Enterprise
as an extension, and start using the trigger and activities.