mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
[FAB-17303] Update sample configtx.yamls with new
PrivateDataImplicitCollection field Signed-off-by: Danny Cao <dcao@us.ibm.com> Change-Id: I5d2c23b882c83f7a4ab529336145bb7567c6b296
This commit is contained in:
parent
6d9fd6f7e1
commit
2a283d3275
6 changed files with 108 additions and 13 deletions
|
|
@ -76,6 +76,15 @@ Organizations:
|
||||||
- Host: peer0.org1.example.com
|
- Host: peer0.org1.example.com
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# SECTION: Capabilities
|
# SECTION: Capabilities
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,15 @@ Organizations:
|
||||||
- Host: peer0.org1.example.com
|
- Host: peer0.org1.example.com
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
- &Org2
|
- &Org2
|
||||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||||
# of the fabric.git development environment
|
# of the fabric.git development environment
|
||||||
|
|
@ -110,6 +119,15 @@ Organizations:
|
||||||
- Host: peer0.org2.example.com
|
- Host: peer0.org2.example.com
|
||||||
Port: 9051
|
Port: 9051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# SECTION: Capabilities
|
# SECTION: Capabilities
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,9 @@ Organizations:
|
||||||
Admins:
|
Admins:
|
||||||
Type: Signature
|
Type: Signature
|
||||||
Rule: "OR('Org3MSP.admin')"
|
Rule: "OR('Org3MSP.admin')"
|
||||||
|
Endorsement:
|
||||||
|
Type: Signature
|
||||||
|
Rule: "OR('Org3MSP.peer')"
|
||||||
|
|
||||||
AnchorPeers:
|
AnchorPeers:
|
||||||
# AnchorPeers defines the location of peers which can be used
|
# AnchorPeers defines the location of peers which can be used
|
||||||
|
|
@ -44,16 +47,11 @@ Organizations:
|
||||||
- Host: peer0.org3.example.com
|
- Host: peer0.org3.example.com
|
||||||
Port: 11051
|
Port: 11051
|
||||||
|
|
||||||
Policies:
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
Readers:
|
# collection.
|
||||||
Type: Signature
|
PrivateDataImplicitCollection:
|
||||||
Rule: "OR('Org3MSP.admin', 'Org3MSP.peer', 'Org3MSP.client')"
|
RequiredPeerCount: 0
|
||||||
Writers:
|
MaxPeerCount: 1
|
||||||
Type: Signature
|
BlockToLive: 0
|
||||||
Rule: "OR('Org3MSP.admin', 'Org3MSP.client')"
|
MemberOnlyRead: true
|
||||||
Admins:
|
MemberOnlyWrite: true
|
||||||
Type: Signature
|
|
||||||
Rule: "OR('Org3MSP.admin')"
|
|
||||||
Endorsement:
|
|
||||||
Type: Signature
|
|
||||||
Rule: "OR('Org3MSP.peer')"
|
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,15 @@ Organizations:
|
||||||
- Host: irs-partya
|
- Host: irs-partya
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
- &partyb
|
- &partyb
|
||||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||||
# of the fabric.git development environment
|
# of the fabric.git development environment
|
||||||
|
|
@ -111,6 +120,15 @@ Organizations:
|
||||||
- Host: irs-partyb
|
- Host: irs-partyb
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
- &partyc
|
- &partyc
|
||||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||||
# of the fabric.git development environment
|
# of the fabric.git development environment
|
||||||
|
|
@ -146,6 +164,14 @@ Organizations:
|
||||||
- Host: irs-partyc
|
- Host: irs-partyc
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
- &auditor
|
- &auditor
|
||||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||||
|
|
@ -182,6 +208,15 @@ Organizations:
|
||||||
- Host: irs-auditor
|
- Host: irs-auditor
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
- &rrprovider
|
- &rrprovider
|
||||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||||
# of the fabric.git development environment
|
# of the fabric.git development environment
|
||||||
|
|
@ -217,6 +252,14 @@ Organizations:
|
||||||
- Host: irs-rrprovider
|
- Host: irs-rrprovider
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -40,3 +40,12 @@ Organizations:
|
||||||
# encoded in the genesis block in the Application section context
|
# encoded in the genesis block in the Application section context
|
||||||
- Host: peer0.org3.example.com
|
- Host: peer0.org3.example.com
|
||||||
Port: 11051
|
Port: 11051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,15 @@ Organizations:
|
||||||
- Host: peer0.org1.example.com
|
- Host: peer0.org1.example.com
|
||||||
Port: 7051
|
Port: 7051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
- &Org2
|
- &Org2
|
||||||
# DefaultOrg defines the organization which is used in the sampleconfig
|
# DefaultOrg defines the organization which is used in the sampleconfig
|
||||||
# of the fabric.git development environment
|
# of the fabric.git development environment
|
||||||
|
|
@ -110,6 +119,15 @@ Organizations:
|
||||||
- Host: peer0.org2.example.com
|
- Host: peer0.org2.example.com
|
||||||
Port: 9051
|
Port: 9051
|
||||||
|
|
||||||
|
# PrivateDataImplicitCollection stores the configuration for this org's implicit
|
||||||
|
# collection.
|
||||||
|
PrivateDataImplicitCollection:
|
||||||
|
RequiredPeerCount: 0
|
||||||
|
MaxPeerCount: 1
|
||||||
|
BlockToLive: 0
|
||||||
|
MemberOnlyRead: true
|
||||||
|
MemberOnlyWrite: true
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# SECTION: Capabilities
|
# SECTION: Capabilities
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue