hyperledger fabric

Description - Queries a Hyperledger Fabric Channel for the history of a key

Runtime Class - com.ibi.agents.XDFabricKeyHistoryAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
*NamespacestringNamespace of the key, this is usually the chaincode name.
*KeystringName of the key
*Block NumberstringThe number of a block containing a transaction with a write of the key. This is a non-negative integer block number, or a negative integer block number relative to the current block height (-1 is the latest block).
*Transaction NumberintegerThe index of the transaction within the selected block
* - denotes required
 ParameterTypeDescription
EncodingstringHow each search criteria will be converted to string. Choose UTF-8 or type a Charset name to convert the bytes to string, or choose Hex to convert the ByteString to a hex encoded string with two hex characters per byte.

Select from one of the following options:
  • Hex String {hex}
  • UTF-8 String {UTF-8}
* - denotes required
 ParameterTypeDescription
From:stringStarting time (timestamp) to search from. Format:yyyy-MM-dd'T'HH:mm:ss.SSSXXX where XXX is an ISO 8601 time zone. Timestamps are created by clients without a central clock. It is therefore recommended to specify a date earlier than necessary by some margin.
Maximum Depth:integerThe maximum number of versions of the key to report
* - denotes required
 ParameterTypeDescription
Format:stringFormat of the history in the output document

Select from one of the following options:
  • XML {xml}
  • JSON {json}
* - denotes required

Output Events

NameDescription
onFailParseCould not parse a document.
onFailOperationCould not perform the operation requested.
Description - Queries a Hyperledger Fabric Channel for block info

Runtime Class - com.ibi.agents.XDFabricQueryBlockAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
Type:stringDetermines what is the search criteria for the block query

Select from one of the following options:
  • Query by Block Number {number}
  • Query by Block Hash {hash}
  • Query by Transaction ID {txid}
*Argument:stringWhen querying by block number, this is a non-negative integer block number, or a negative integer block number relative to the current block height (-1 is the latest block). When querying by block hash, this is a hex encoded string with two hex characters per byte. When querying by transaction ID, this is the transaction ID.
* - denotes required
 ParameterTypeDescription
Format:stringFormat of result

Select from one of the following options:
  • XML {xml}
  • JSON {json}
* - denotes required
 ParameterTypeDescription
Early LimitstringFormat is yyyy-MM-dd'T'HH:mm:ss.SSSXXX where XXX is an ISO 8601 time zone. Specifying an Early Limit turns on batch mode which will always return the queried block and also includes the previous blocks up to but not including the first encountered block with all transactions timestamped earlier than the early limit. Timestamps are created by clients without a central clock. It is therefore recommended to specify a date earlier than necessary by some margin. The batch is also limited by the Batch Size when defined.
Batch SizestringSpecifying a batch size turns on batch mode which will return up to that many blocks, starting from the queried block and its previous blocks, within the limits of the Early Limit if defined or the origin of the chain.
* - denotes required

Output Events

NameDescription
onFailParseCould not parse a document.
onFailOperationCould not perform the operation requested.
Description - Calls chaincode to execute a transaction on a blockchain in the Hyperledger Fabric

Runtime Class - com.ibi.agents.XDFabricAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
Minimum Successful:integerMinimum number of successful proposals required to send the transaction to the orderers.
Maximum Failed:integerMaximum number of failed proposals tolerated. The transaction will not be sent to the orderers if there are more failed proposals.
* - denotes required
 ParameterTypeDescription
*Format:stringDetermines what will be the contents of the output document.

Select from one of the following options:
  • Input Document {input}
  • Chaincode Return Value as UTF-8 String {utf8}
  • Chaincode Return Value as parsed XML {xml}
  • Chaincode Return Value as parsed JSON {json}
  • Chaincode Return Value as Hex String {hex}
  • Chaincode Return Value as Base64 {base64}
  • TransactionEvent as XML {eventxml}
  • TransactionEvent as JSON {eventjson}
* - denotes required

Output Events

NameDescription
onFailParseCould not parse a document.
onFailOperationCould not perform the operation requested.
Description - Calls chaincode to execute a transaction on a blockchain in the Hyperledger Fabric

Runtime Class - com.ibi.agents.XDFabricAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
Minimum Successful:integerMinimum number of successful proposals required to send the transaction to the orderers.
Maximum Failed:integerMaximum number of failed proposals tolerated. The transaction will not be sent to the orderers if there are more failed proposals.
* - denotes required
 ParameterTypeDescription
*Queue Name:stringName of the internal queue where the asynchronous TransactionEvent will be sent
*Format:stringFormat of the document sent to the internal queue

Select from one of the following options:
  • XML {xml}
  • JSON {json}
*Want User RegistersbooleanUser registers are processing variables and their values. If you want these registers to be emitted with the message set this to true. In resubmit operations, usually this is set to false.
*PriorityintegerThe priority is an integer between 0 and 9 inclusive. The lowest priority is 0. The highest most expedited priority is 9.
*Put TimeoutintegerTime, in milliseconds, to wait for queue to become available when attempting to put a message on the queue. You can enter 0 for an unlimited wait, but this is not recommended. If no value is supplied, timeout will be set to 3000 milliseconds.
*Registers NamespacestringNamespace or list of namespaces containing registers that will be made available to the internal listener. Select Default for all registers in default (no prefix) namespace or None to send no registers at all. Enter '*' for registers from all namespaces.

Select from one of the following options:
  • Default Namespace {default} - All registers will be passed and made available to the queue.
  • None {none} - No registers will be passed and made available to the queue.
* - denotes required

Output Events

NameDescription
onFailParseCould not parse a document.
onFailOperationCould not perform the operation requested.
Description - Calls chaincode to query a blockchain in the Hyperledger Fabric

Runtime Class - com.ibi.agents.XDFabricQueryAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
Format:stringHow the ByteString return value should be interpreted

Select from one of the following options:
  • UTF8 String {utf8} - Return the String in a flat document
  • XML {xml} - Return a parsed XML document
  • JSON {json} - Return a parsed JSON document
  • Hex String {hex} - Convert each byte into two hex characters, return the String in a flat document
  • Base64 {base64} - Encode in Base64, return the String in a flat document
* - denotes required

Output Events

NameDescription
onFailParseCould not parse a document.
onFailOperationCould not perform the operation requested.