mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +00:00
Implementation of Fabcar client for Java Gateway SDK Changes to first-network to generate the CCP files with embedded PEM certificates rather than paths to files on disk Change-Id: Iff15425e96ce28c6f96079cee474c35868fab554 Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com> FGJ-4 split java fabcar into separate classes Incorporate review comments from previous CR Split enroll/register/transactions into separate classes Change-Id: I384cec59c7f53a37864bfc28be11e785a61421f3 Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com> FGJ-4 add license header to fabcar java sample Change-Id: Ic658fe3bdece9875ca3ceaf28d94c5fb48879083 Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "first-network-org${ORG}",
|
|
"version": "1.0.0",
|
|
"client": {
|
|
"organization": "Org${ORG}",
|
|
"connection": {
|
|
"timeout": {
|
|
"peer": {
|
|
"endorser": "300"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"organizations": {
|
|
"Org${ORG}": {
|
|
"mspid": "Org${ORG}MSP",
|
|
"peers": [
|
|
"peer0.org${ORG}.example.com",
|
|
"peer1.org${ORG}.example.com"
|
|
],
|
|
"certificateAuthorities": [
|
|
"ca.org${ORG}.example.com"
|
|
]
|
|
}
|
|
},
|
|
"peers": {
|
|
"peer0.org${ORG}.example.com": {
|
|
"url": "grpcs://localhost:${P0PORT}",
|
|
"tlsCACerts": {
|
|
"pem": "${PEERPEM}"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "peer0.org${ORG}.example.com",
|
|
"hostnameOverride": "peer0.org${ORG}.example.com"
|
|
}
|
|
},
|
|
"peer1.org${ORG}.example.com": {
|
|
"url": "grpcs://localhost:${P1PORT}",
|
|
"tlsCACerts": {
|
|
"pem": "${PEERPEM}"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "peer1.org${ORG}.example.com",
|
|
"hostnameOverride": "peer1.org${ORG}.example.com"
|
|
}
|
|
}
|
|
},
|
|
"certificateAuthorities": {
|
|
"ca.org${ORG}.example.com": {
|
|
"url": "https://localhost:${CAPORT}",
|
|
"caName": "ca-org${ORG}",
|
|
"tlsCACerts": {
|
|
"pem": "${CAPEM}"
|
|
},
|
|
"httpOptions": {
|
|
"verify": false
|
|
}
|
|
}
|
|
}
|
|
}
|