-
Notifications
You must be signed in to change notification settings - Fork 951
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BE-681 Add e2e test for raft ordering model
Based on v1.4.2 tag of fabric-samples Signed-off-by: Atsushi Neki <atsushin@fast.au.fujitsu.com> Change-Id: I191fc1b76ed7257aa722177e276d55b8af6105a6
- Loading branch information
Showing
138 changed files
with
1,142 additions
and
19,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
/node_modules/* | ||
/package-lock.json | ||
/fabric-client-kv-org* |
3 changes: 0 additions & 3 deletions
3
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/app.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
/* | ||
*SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Copyright 2017 IBM All Rights Reserved. | ||
* | ||
|
4 changes: 0 additions & 4 deletions
4
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/app/create-channel.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
/* | ||
*SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Copyright 2017 IBM All Rights Reserved. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/app/install-chaincode.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
/* | ||
*SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Copyright 2017 IBM All Rights Reserved. | ||
* | ||
|
4 changes: 0 additions & 4 deletions
4
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/app/instantiate-chaincode.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
/* | ||
*SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Copyright 2017 IBM All Rights Reserved. | ||
* | ||
|
4 changes: 0 additions & 4 deletions
4
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/app/invoke-transaction.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
/* | ||
*SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Copyright 2017 IBM All Rights Reserved. | ||
* | ||
|
4 changes: 0 additions & 4 deletions
4
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/app/join-channel.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
/* | ||
*SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Copyright 2017 IBM All Rights Reserved. | ||
* | ||
|
4 changes: 0 additions & 4 deletions
4
app/platform/fabric/e2e-test/fabric-samples/balance-transfer/app/query.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
/* | ||
*SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Copyright 2017 IBM All Rights Reserved. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
136 changes: 136 additions & 0 deletions
136
...rm/fabric/e2e-test/fabric-samples/balance-transfer/artifacts/docker-compose-explorer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# | ||
# Copyright IBM Corp. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
version: '2' | ||
|
||
networks: | ||
behave: | ||
|
||
services: | ||
|
||
ca.org1.example.com: | ||
extends: | ||
file: docker-compose.yaml | ||
service: ca.org1.example.com | ||
container_name: ca_peerorg1 | ||
networks: | ||
behave: | ||
aliases: | ||
- ${CORE_PEER_NETWORKID} | ||
|
||
ca.org2.example.com: | ||
extends: | ||
file: docker-compose.yaml | ||
service: ca.org2.example.com | ||
container_name: ca_peerorg2 | ||
networks: | ||
behave: | ||
aliases: | ||
- ${CORE_PEER_NETWORKID} | ||
|
||
orderer.example.com: | ||
extends: | ||
file: docker-compose.yaml | ||
service: orderer.example.com | ||
networks: | ||
behave: | ||
aliases: | ||
- ${CORE_PEER_NETWORKID} | ||
|
||
peer0.org1.example.com: | ||
container_name: peer0.org1.example.com | ||
extends: | ||
file: base.yaml | ||
service: peer-base | ||
environment: | ||
- CORE_PEER_ID=peer0.org1.example.com | ||
- CORE_PEER_LOCALMSPID=Org1MSP | ||
- CORE_PEER_ADDRESS=peer0.org1.example.com:7051 | ||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer1.org1.example.com:7051 | ||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 | ||
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=${CORE_PEER_NETWORKID}_behave | ||
ports: | ||
- 7051:7051 | ||
- 7053:7053 | ||
volumes: | ||
- ./channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/:/etc/hyperledger/crypto/peer | ||
depends_on: | ||
- orderer.example.com | ||
networks: | ||
behave: | ||
aliases: | ||
- ${CORE_PEER_NETWORKID} | ||
|
||
peer1.org1.example.com: | ||
container_name: peer1.org1.example.com | ||
extends: | ||
file: base.yaml | ||
service: peer-base | ||
environment: | ||
- CORE_PEER_ID=peer1.org1.example.com | ||
- CORE_PEER_LOCALMSPID=Org1MSP | ||
- CORE_PEER_ADDRESS=peer1.org1.example.com:7051 | ||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 | ||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org1.example.com:7051 | ||
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=${CORE_PEER_NETWORKID}_behave | ||
ports: | ||
- 7056:7051 | ||
- 7058:7053 | ||
volumes: | ||
- ./channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/:/etc/hyperledger/crypto/peer | ||
depends_on: | ||
- orderer.example.com | ||
networks: | ||
behave: | ||
aliases: | ||
- ${CORE_PEER_NETWORKID} | ||
|
||
peer0.org2.example.com: | ||
container_name: peer0.org2.example.com | ||
extends: | ||
file: base.yaml | ||
service: peer-base | ||
environment: | ||
- CORE_PEER_ID=peer0.org2.example.com | ||
- CORE_PEER_LOCALMSPID=Org2MSP | ||
- CORE_PEER_ADDRESS=peer0.org2.example.com:7051 | ||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer1.org2.example.com:7051 | ||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org2.example.com:7051 | ||
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=${CORE_PEER_NETWORKID}_behave | ||
ports: | ||
- 8051:7051 | ||
- 8053:7053 | ||
volumes: | ||
- ./channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/:/etc/hyperledger/crypto/peer | ||
depends_on: | ||
- orderer.example.com | ||
networks: | ||
behave: | ||
aliases: | ||
- ${CORE_PEER_NETWORKID} | ||
|
||
peer1.org2.example.com: | ||
container_name: peer1.org2.example.com | ||
extends: | ||
file: base.yaml | ||
service: peer-base | ||
environment: | ||
- CORE_PEER_ID=peer1.org2.example.com | ||
- CORE_PEER_LOCALMSPID=Org2MSP | ||
- CORE_PEER_ADDRESS=peer1.org2.example.com:7051 | ||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org2.example.com:7051 | ||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org2.example.com:7051 | ||
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=${CORE_PEER_NETWORKID}_behave | ||
ports: | ||
- 8056:7051 | ||
- 8058:7053 | ||
volumes: | ||
- ./channel/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/:/etc/hyperledger/crypto/peer | ||
depends_on: | ||
- orderer.example.com | ||
networks: | ||
behave: | ||
aliases: | ||
- ${CORE_PEER_NETWORKID} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...latform/fabric/e2e-test/fabric-samples/balance-transfer/artifacts/network-config-aws.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.