fabric-samples/test-network/addOrg3
Tatsuya Sato c691cf94a9 Refactor test-network post-decoupling fabric-tools image
This patch aims to refactor the test-network in several aspects,
following the decoupling of the fabric-tools image from fabric-samples.

- Rename 'test_network_home' env var to 'TEST_NETWORK_HOME'
- Dedicate the intermediate artifacts related to configtx to
channel-artifacts
- Refer to core.yaml in fabric-samples/config, similar to org1 and 2,
  instead of adding a new core file
- Remove unnecessary functions and comments for CLI container
- Other minor modifications

Signed-off-by: Tatsuya Sato <tatsuya.sato.so@hitachi.com>
2024-04-18 13:41:28 -04:00
..
compose Bump CouchDB to 3.3.2 (#1028) 2023-05-05 13:26:28 +01:00
fabric-ca Add test-network org3 affilication (#1026) 2023-05-05 13:24:44 +01:00
addOrg3.sh Refactor test-network post-decoupling fabric-tools image 2024-04-18 13:41:28 -04:00
ccp-generate.sh fix wrong indentationin in the connection profile generated for Org 3 (#715) 2022-04-18 06:38:48 -04:00
ccp-template.json Remove solo and kafka from test net configtx.yaml (#137) 2020-03-20 15:54:35 +01:00
ccp-template.yaml fix wrong indentationin in the connection profile generated for Org 3 (#715) 2022-04-18 06:38:48 -04:00
configtx.yaml Remove Org3cli and configtx.yaml anchor peers from test-network (#401) 2021-01-11 11:27:58 -05:00
org3-crypto.yaml Fix test network bugs for adding org3 2019-12-12 12:34:59 -05:00
README.md FAB-17243 Add support for Fabric CA for Org3 on the (#91) 2020-01-16 22:32:12 +01:00

Adding Org3 to the test network

You can use the addOrg3.sh script to add another organization to the Fabric test network. The addOrg3.sh script generates the Org3 crypto material, creates an Org3 organization definition, and adds Org3 to a channel on the test network.

You first need to run ./network.sh up createChannel in the test-network directory before you can run the addOrg3.sh script.

./network.sh up createChannel
cd addOrg3
./addOrg3.sh up

If you used network.sh to create a channel other than the default mychannel, you need pass that name to the addorg3.sh script.

./network.sh up createChannel -c channel1
cd addOrg3
./addOrg3.sh up -c channel1

You can also re-run the addOrg3.sh script to add Org3 to additional channels.

cd ..
./network.sh createChannel -c channel2
cd addOrg3
./addOrg3.sh up -c channel2

For more information, use ./addOrg3.sh -h to see the addOrg3.sh help text.