Guest User

Connection profile JSON

a guest
Oct 6th, 2020
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.07 KB | None | 0 0
  1. [root@isprintdev nodejs]# cat connection-mtr.json
  2. {
  3.     "name": "sdkuser",
  4.     "version": "1.0.0",
  5.     "client": {
  6.         "organization": "Org1",
  7.         "connection": {
  8.             "timeout": {
  9.                 "peer": {
  10.                     "endorser": "300",
  11.                     "eventHub": "300",
  12.                     "eventReg": "300"
  13.                 },
  14.                 "orderer": "300"
  15.             }
  16.         }
  17.     },
  18.     "channels": {
  19.         "isprintchannel": {
  20.             "orderers": [
  21.                 "orderer1.isprint.com",
  22.                 "orderer2.isprint.com",
  23.                 "orderer3.isprint.com"
  24.             ],
  25.             "peers": {
  26.                 "peer1.org1.isprint.com": {
  27.                     "endorsingPeer": true,
  28.                     "chaincodeQuery": true,
  29.                     "ledgerQuery": true,
  30.                     "eventSource": true
  31.                 },
  32.                 "peer2.org1.isprint.com": {
  33.                     "endorsingPeer": true,
  34.                     "chaincodeQuery": true,
  35.                     "ledgerQuery": true,
  36.                     "eventSource": true
  37.                 }
  38.             }
  39.         }
  40.     },
  41.     "organizations": {
  42.         "Org1": {
  43.             "mspid": "Org1MSP",
  44.             "peers": [
  45.                 "peer1.org1.isprint.com",
  46.                 "peer2.org1.isprint.com"
  47.             ],
  48.             "certificateAuthorities": [
  49.                 "ca.org1.isprint.com"
  50.             ]
  51.         }
  52.     },
  53.     "orderers": {
  54.         "orderer1.isprint.com": {
  55.             "url": "grpcs://192.168.50.65:7050",
  56.             "tlsCACerts": {
  57.                 "path": "/root/hyper3/isprint/crypto-config/ordererOrganizations/isprint.com/orderers/orderer1.isprint.com/tls/ca.crt"
  58.             }
  59.         },
  60.         "orderer2.isprint.com": {
  61.             "url": "grpcs://192.168.50.65:8050",
  62.             "tlsCACerts": {
  63.                 "path": "/root/hyper3/isprint/crypto-config/ordererOrganizations/isprint.com/orderers/orderer2.isprint.com/tls/ca.crt"
  64.             }
  65.         },
  66.         "orderer3.isprint.com": {
  67.             "url": "grpcs://192.168.50.65:9050",
  68.             "tlsCACerts": {
  69.                 "path": "/root/hyper3/isprint/crypto-config/ordererOrganizations/isprint.com/orderers/orderer3.isprint.com/tls/ca.crt"
  70.             }
  71.         }
  72.     },
  73.     "peers": {
  74.         "peer1.org1.isprint.com": {
  75.             "url": "grpcs://192.168.50.65:7051",
  76.             "tlsCACerts": {
  77.                 "path": "/root/hyper3/isprint/crypto-config/peerOrganizations/org1.isprint.com/peers/peer1.org1.isprint.com/tls/ca.crt"
  78.             }
  79.         },
  80.         "peer2.org1.isprint.com": {
  81.             "url": "grpcs://192.168.50.65:8051",
  82.             "tlsCACerts": {
  83.                 "path": "/root/hyper3/isprint/crypto-config/peerOrganizations/org1.isprint.com/peers/peer2.org1.isprint.com/tls/ca.crt"
  84.             }
  85.         }
  86.     },
  87.     "certificateAuthorities": {
  88.         "ca.org1.isprint.com": {
  89.             "url": "http://192.168.50.65:7054",
  90.             "caName": "ca.org1.isprint.com"
  91.         }
  92.     }
  93. }
  94. [root@isprintdev nodejs]#
  95.  
Add Comment
Please, Sign In to add comment