hyperledger-caliper / caliper

A blockchain benchmark framework to measure performance of multiple blockchain solutions https://wiki.hyperledger.org/display/caliper
https://hyperledger-caliper.github.io/caliper/
Apache License 2.0
653 stars 404 forks source link

Provide ability to generate caliper network configuration files using the CLI #913

Open nklincoln opened 4 years ago

nklincoln commented 4 years ago

Caliper requires configuration files to operate. Some of these are completely within the remit of a user - for instance the benchmark file itself (but hey, that's what the generator exists for)

It would be super handy if the Caliper CLI was capable of outputting a "consumable" network configuration file, that is generated based upon some sensible inputs. This would massively enhance the ability for Caliper to be consumed by users who may simply want to test an existing system.

For instance, if we consider the Fabric connector, we know that the network file is "an extended CCP". This puts us in the position where we could feed a CLI an exported CCP, along with some identity information, and the output is:

davidkel commented 8 months ago

Given the focus on using the new peer gateway to connect to fabric and thus how it simplifies how to describe how to interact with a fabric network, I wonder if there is much benefit to this now ?