-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use microfab for fabric integration tests
Signed-off-by: CaptainIRS <[email protected]>
- Loading branch information
1 parent
7c9c5d2
commit 0cf6abf
Showing
18 changed files
with
278 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
**/*.log | ||
*.tar.gz | ||
_cfg | ||
bin | ||
config | ||
report.html | ||
fabric-samples | ||
vendor | ||
microfab |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,23 +32,23 @@ organizations: | |
- mspid: Org1MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org1.example.com' | ||
- name: 'client0.org1.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/signcerts/cert.pem' | ||
connectionProfile: | ||
path: './ccp-org1.yaml' | ||
discover: false | ||
|
||
- mspid: Org2MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org2.example.com' | ||
- name: 'client0.org2.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/signcerts/cert.pem' | ||
connectionProfile: | ||
path: './ccp-org2.yaml' | ||
discover: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,23 +32,23 @@ organizations: | |
- mspid: Org1MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org1.example.com' | ||
- name: 'client0.org1.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/signcerts/cert.pem' | ||
connectionProfile: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/connection-org1.yaml' | ||
path: '../_cfg/uf/_gateways/org1gateway.json' | ||
discover: true | ||
|
||
- mspid: Org2MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org2.example.com' | ||
- name: 'client0.org2.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/signcerts/cert.pem' | ||
connectionProfile: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/connection-org2.yaml' | ||
path: '../_cfg/uf/_gateways/org2gateway.json' | ||
discover: true |
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 |
---|---|---|
|
@@ -32,23 +32,23 @@ organizations: | |
- mspid: Org1MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org1.example.com' | ||
- name: 'client0.org1.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/signcerts/cert.pem' | ||
connectionProfile: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/connection-org1.yaml' | ||
path: '../_cfg/uf/_gateways/org1gateway.json' | ||
discover: true | ||
|
||
- mspid: Org2MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org2.example.com' | ||
- name: 'client0.org2.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/signcerts/cert.pem' | ||
connectionProfile: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/connection-org2.yaml' | ||
path: '../_cfg/uf/_gateways/org2gateway.json' | ||
discover: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,31 +32,29 @@ organizations: | |
- mspid: Org1MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org1.example.com' | ||
- name: 'client0.org1.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org1/org1admin/msp/signcerts/cert.pem' | ||
peers: | ||
- endpoint: localhost:7051 | ||
- endpoint: org1peer-api.127-0-0-1.nip.io:8080 | ||
grpcOptions: | ||
ssl-target-name-override: peer0.org1.example.com | ||
grpc.keepalive_time_ms: 600000 | ||
tlsCACerts: | ||
path: ../fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem | ||
path: '../_cfg/uf/_msp/tls/org1peer/tlsca-org1peer-cert.pem' | ||
|
||
- mspid: Org2MSP | ||
identities: | ||
certificates: | ||
- name: 'client0.org2.example.com' | ||
- name: 'client0.org2.127-0-0-1.nip.io:8080' | ||
clientPrivateKey: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/priv_sk' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/keystore/cert_sk' | ||
clientSignedCert: | ||
path: '../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/[email protected]cert.pem' | ||
path: '../_cfg/uf/_msp/Org2/org2admin/msp/signcerts/cert.pem' | ||
peers: | ||
- endpoint: localhost:9051 | ||
- endpoint: org2peer-api.127-0-0-1.nip.io:8080 | ||
grpcOptions: | ||
ssl-target-name-override: peer0.org2.example.com | ||
grpc.keepalive_time_ms: 600000 | ||
tlsCACerts: | ||
path: ../fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem | ||
path: '../_cfg/uf/_msp/tls/org2peer/tlsca-org2peer-cert.pem' |
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
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
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.