mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 17:15:10 +00:00
Merge "[FAB-14330] Add connection profiles for BYFN and EYFN" into release-1.4
This commit is contained in:
commit
5d0bfb9989
6 changed files with 213 additions and 0 deletions
43
first-network/connection-org1.json
Normal file
43
first-network/connection-org1.json
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"name": "first-network-org1",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"client": {
|
||||||
|
"organization": "Org1",
|
||||||
|
"connection": {
|
||||||
|
"timeout": {
|
||||||
|
"peer": {
|
||||||
|
"endorser": "300"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"organizations": {
|
||||||
|
"Org1": {
|
||||||
|
"mspid": "Org1MSP",
|
||||||
|
"peers": [
|
||||||
|
"peer0.org1.example.com",
|
||||||
|
"peer1.org1.example.com"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"peers": {
|
||||||
|
"peer0.org1.example.com": {
|
||||||
|
"url": "grpcs://localhost:7051",
|
||||||
|
"tlsCACerts": {
|
||||||
|
"path": "crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem"
|
||||||
|
},
|
||||||
|
"grpcOptions": {
|
||||||
|
"ssl-target-name-override": "peer0.org1.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"peer1.org1.example.com": {
|
||||||
|
"url": "grpcs://localhost:8051",
|
||||||
|
"tlsCACerts": {
|
||||||
|
"path": "crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem"
|
||||||
|
},
|
||||||
|
"grpcOptions": {
|
||||||
|
"ssl-target-name-override": "peer1.org1.example.com"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
28
first-network/connection-org1.yaml
Normal file
28
first-network/connection-org1.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
name: first-network-org1
|
||||||
|
version: 1.0.0
|
||||||
|
client:
|
||||||
|
organization: Org1
|
||||||
|
connection:
|
||||||
|
timeout:
|
||||||
|
peer:
|
||||||
|
endorser: '300'
|
||||||
|
organizations:
|
||||||
|
Org1:
|
||||||
|
mspid: Org1MSP
|
||||||
|
peers:
|
||||||
|
- peer0.org1.example.com
|
||||||
|
- peer1.org1.example.com
|
||||||
|
peers:
|
||||||
|
peer0.org1.example.com:
|
||||||
|
url: grpcs://localhost:7051
|
||||||
|
tlsCACerts:
|
||||||
|
path: crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem
|
||||||
|
grpcOptions:
|
||||||
|
ssl-target-name-override: peer0.org1.example.com
|
||||||
|
peer1.org1.example.com:
|
||||||
|
url: grpcs://localhost:8051
|
||||||
|
tlsCACerts:
|
||||||
|
path: crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem
|
||||||
|
grpcOptions:
|
||||||
|
ssl-target-name-override: peer1.org1.example.com
|
||||||
43
first-network/connection-org2.json
Normal file
43
first-network/connection-org2.json
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"name": "first-network-org2",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"client": {
|
||||||
|
"organization": "Org2",
|
||||||
|
"connection": {
|
||||||
|
"timeout": {
|
||||||
|
"peer": {
|
||||||
|
"endorser": "300"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"organizations": {
|
||||||
|
"Org2": {
|
||||||
|
"mspid": "Org2MSP",
|
||||||
|
"peers": [
|
||||||
|
"peer0.org2.example.com",
|
||||||
|
"peer1.org2.example.com"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"peers": {
|
||||||
|
"peer0.org2.example.com": {
|
||||||
|
"url": "grpcs://localhost:9051",
|
||||||
|
"tlsCACerts": {
|
||||||
|
"path": "crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem"
|
||||||
|
},
|
||||||
|
"grpcOptions": {
|
||||||
|
"ssl-target-name-override": "peer0.org2.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"peer1.org2.example.com": {
|
||||||
|
"url": "grpcs://localhost:10051",
|
||||||
|
"tlsCACerts": {
|
||||||
|
"path": "crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem"
|
||||||
|
},
|
||||||
|
"grpcOptions": {
|
||||||
|
"ssl-target-name-override": "peer1.org2.example.com"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
28
first-network/connection-org2.yaml
Normal file
28
first-network/connection-org2.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
name: first-network-org2
|
||||||
|
version: 1.0.0
|
||||||
|
client:
|
||||||
|
organization: Org2
|
||||||
|
connection:
|
||||||
|
timeout:
|
||||||
|
peer:
|
||||||
|
endorser: '300'
|
||||||
|
organizations:
|
||||||
|
Org2:
|
||||||
|
mspid: Org2MSP
|
||||||
|
peers:
|
||||||
|
- peer0.org2.example.com
|
||||||
|
- peer1.org2.example.com
|
||||||
|
peers:
|
||||||
|
peer0.org2.example.com:
|
||||||
|
url: grpcs://localhost:9051
|
||||||
|
tlsCACerts:
|
||||||
|
path: crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem
|
||||||
|
grpcOptions:
|
||||||
|
ssl-target-name-override: peer0.org2.example.com
|
||||||
|
peer1.org2.example.com:
|
||||||
|
url: grpcs://localhost:10051
|
||||||
|
tlsCACerts:
|
||||||
|
path: crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem
|
||||||
|
grpcOptions:
|
||||||
|
ssl-target-name-override: peer1.org2.example.com
|
||||||
43
first-network/connection-org3.json
Normal file
43
first-network/connection-org3.json
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"name": "first-network-org3",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"client": {
|
||||||
|
"organization": "Org3",
|
||||||
|
"connection": {
|
||||||
|
"timeout": {
|
||||||
|
"peer": {
|
||||||
|
"endorser": "300"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"organizations": {
|
||||||
|
"Org3": {
|
||||||
|
"mspid": "Org3MSP",
|
||||||
|
"peers": [
|
||||||
|
"peer0.org3.example.com",
|
||||||
|
"peer1.org3.example.com"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"peers": {
|
||||||
|
"peer0.org3.example.com": {
|
||||||
|
"url": "grpcs://localhost:11051",
|
||||||
|
"tlsCACerts": {
|
||||||
|
"path": "org3-artifacts/crypto-config/peerOrganizations/org3.example.com/tlsca/tlsca.org3.example.com-cert.pem"
|
||||||
|
},
|
||||||
|
"grpcOptions": {
|
||||||
|
"ssl-target-name-override": "peer0.org3.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"peer1.org3.example.com": {
|
||||||
|
"url": "grpcs://localhost:12051",
|
||||||
|
"tlsCACerts": {
|
||||||
|
"path": "org3-artifacts/crypto-config/peerOrganizations/org3.example.com/tlsca/tlsca.org3.example.com-cert.pem"
|
||||||
|
},
|
||||||
|
"grpcOptions": {
|
||||||
|
"ssl-target-name-override": "peer1.org3.example.com"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
28
first-network/connection-org3.yaml
Normal file
28
first-network/connection-org3.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
name: first-network-org3
|
||||||
|
version: 1.0.0
|
||||||
|
client:
|
||||||
|
organization: Org3
|
||||||
|
connection:
|
||||||
|
timeout:
|
||||||
|
peer:
|
||||||
|
endorser: '300'
|
||||||
|
organizations:
|
||||||
|
Org3:
|
||||||
|
mspid: Org3MSP
|
||||||
|
peers:
|
||||||
|
- peer0.org3.example.com
|
||||||
|
- peer1.org3.example.com
|
||||||
|
peers:
|
||||||
|
peer0.org3.example.com:
|
||||||
|
url: grpcs://localhost:11051
|
||||||
|
tlsCACerts:
|
||||||
|
path: org3-artifacts/crypto-config/peerOrganizations/org3.example.com/tlsca/tlsca.org3.example.com-cert.pem
|
||||||
|
grpcOptions:
|
||||||
|
ssl-target-name-override: peer0.org3.example.com
|
||||||
|
peer1.org3.example.com:
|
||||||
|
url: grpcs://localhost:12051
|
||||||
|
tlsCACerts:
|
||||||
|
path: org3-artifacts/crypto-config/peerOrganizations/org3.example.com/tlsca/tlsca.org3.example.com-cert.pem
|
||||||
|
grpcOptions:
|
||||||
|
ssl-target-name-override: peer1.org3.example.com
|
||||||
Loading…
Reference in a new issue