-
- Downloads
[FAB-3604] e2e_cli sample improvements
Covers the following :
1. Use cryptogen tool to generate org certificates for each run.
2. Make a generic docker-compose base file
a. A docker-compose-cli.yaml extends the base and includes a cli
container to run e2e test
b. A docker-compose-e2e.yaml extends the base and includes
fabric-ca container.(can be used for SDK or other tests)
3. A timer flag in docker-compose CLI container to stop killing CLI
container
NOTE: A docker-compose-e2e-template.yaml also included. This is required
to generate docker-compose-e2e.yaml, as we need to replace the
private key dyamically.
USAGE:
./network_setup.sh <up|down|restart> [channel] [CLI timeout in sec]
Ex:
./network_setup.sh up mychannel 10
This starts CLI with channelname mychannel, CLI timeout set to 10s
./network_setup.sh down
Shutdown the network and clear all the artifacts.
./network_setup.sh restart xyz 10
restarts the network.
Change-Id: I9bc80c0ad0e4dc259383038e7f69e3239a9409f3
Signed-off-by:
ratnakar <asara.ratnakar@gmail.com>
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- examples/e2e_cli/base/docker-compose-base.yaml 157 additions, 0 deletionsexamples/e2e_cli/base/docker-compose-base.yaml
- examples/e2e_cli/base/peer-base.yaml 3 additions, 2 deletionsexamples/e2e_cli/base/peer-base.yaml
- examples/e2e_cli/channel-artifacts/.gitkeep 0 additions, 0 deletionsexamples/e2e_cli/channel-artifacts/.gitkeep
- examples/e2e_cli/configtx.yaml 14 additions, 29 deletionsexamples/e2e_cli/configtx.yaml
- examples/e2e_cli/crypto-config.yaml 76 additions, 0 deletionsexamples/e2e_cli/crypto-config.yaml
- examples/e2e_cli/crypto/orderer/localMspConfig/admincerts/ordererOrg0.pem 0 additions, 10 deletions.../crypto/orderer/localMspConfig/admincerts/ordererOrg0.pem
- examples/e2e_cli/crypto/orderer/localMspConfig/cacerts/ordererOrg0.pem 0 additions, 10 deletions...cli/crypto/orderer/localMspConfig/cacerts/ordererOrg0.pem
- examples/e2e_cli/crypto/orderer/localMspConfig/keystore/ordererSigner.pem 0 additions, 5 deletions.../crypto/orderer/localMspConfig/keystore/ordererSigner.pem
- examples/e2e_cli/crypto/orderer/localMspConfig/signcerts/orderer0Signer.pem 0 additions, 10 deletions...rypto/orderer/localMspConfig/signcerts/orderer0Signer.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/admincerts/peer0Signer.pem 0 additions, 10 deletions...ypto/peer/peer0/localMspConfig/admincerts/peer0Signer.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/admincerts/peerOrg0.pem 0 additions, 10 deletions.../crypto/peer/peer0/localMspConfig/admincerts/peerOrg0.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/admincerts/peerOrg1.pem 0 additions, 10 deletions.../crypto/peer/peer0/localMspConfig/admincerts/peerOrg1.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/admincerts/peerOrg2.pem 0 additions, 10 deletions.../crypto/peer/peer0/localMspConfig/admincerts/peerOrg2.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/cacerts/peerOrg0.pem 0 additions, 10 deletions...cli/crypto/peer/peer0/localMspConfig/cacerts/peerOrg0.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/cacerts/peerOrg1.pem 0 additions, 10 deletions...cli/crypto/peer/peer0/localMspConfig/cacerts/peerOrg1.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/cacerts/peerOrg2.pem 0 additions, 10 deletions...cli/crypto/peer/peer0/localMspConfig/cacerts/peerOrg2.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/keystore/peer0Signer.pem 0 additions, 5 deletions...crypto/peer/peer0/localMspConfig/keystore/peer0Signer.pem
- examples/e2e_cli/crypto/peer/peer0/localMspConfig/signcerts/peer0Signer.pem 0 additions, 10 deletions...rypto/peer/peer0/localMspConfig/signcerts/peer0Signer.pem
- examples/e2e_cli/crypto/peer/peer1/localMspConfig/admincerts/peer1Signer.pem 0 additions, 10 deletions...ypto/peer/peer1/localMspConfig/admincerts/peer1Signer.pem
Loading
Please register or sign in to comment