From e7e30830bb01a52b1451741a1d33d0a090106fb5 Mon Sep 17 00:00:00 2001 From: Danny Cao Date: Mon, 13 Jan 2020 16:27:44 -0500 Subject: [PATCH] [FAB-17303] Update sample configtx.yamls with new PrivateDataImplicitCollection field Signed-off-by: Danny Cao Change-Id: I5d2c23b882c83f7a4ab529336145bb7567c6b296 --- basic-network/configtx.yaml | 6 +++++ first-network/configtx.yaml | 12 ++++++++++ first-network/org3-artifacts/configtx.yaml | 21 +++++++--------- interest_rate_swaps/network/configtx.yaml | 28 ++++++++++++++++++++++ test-network/addOrg3/configtx.yaml | 6 +++++ test-network/configtx/configtx.yaml | 12 ++++++++++ 6 files changed, 72 insertions(+), 13 deletions(-) diff --git a/basic-network/configtx.yaml b/basic-network/configtx.yaml index c7554769..00a0deb5 100644 --- a/basic-network/configtx.yaml +++ b/basic-network/configtx.yaml @@ -76,6 +76,12 @@ Organizations: - Host: peer0.org1.example.com Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + ################################################################################ # # SECTION: Capabilities diff --git a/first-network/configtx.yaml b/first-network/configtx.yaml index f760eb2a..da607810 100644 --- a/first-network/configtx.yaml +++ b/first-network/configtx.yaml @@ -76,6 +76,12 @@ Organizations: - Host: peer0.org1.example.com Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + - &Org2 # DefaultOrg defines the organization which is used in the sampleconfig # of the fabric.git development environment @@ -110,6 +116,12 @@ Organizations: - Host: peer0.org2.example.com Port: 9051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + ################################################################################ # # SECTION: Capabilities diff --git a/first-network/org3-artifacts/configtx.yaml b/first-network/org3-artifacts/configtx.yaml index 8cd744c7..cc1be2df 100644 --- a/first-network/org3-artifacts/configtx.yaml +++ b/first-network/org3-artifacts/configtx.yaml @@ -36,6 +36,9 @@ Organizations: Admins: Type: Signature Rule: "OR('Org3MSP.admin')" + Endorsement: + Type: Signature + Rule: "OR('Org3MSP.peer')" AnchorPeers: # AnchorPeers defines the location of peers which can be used @@ -44,16 +47,8 @@ Organizations: - Host: peer0.org3.example.com Port: 11051 - Policies: - Readers: - Type: Signature - Rule: "OR('Org3MSP.admin', 'Org3MSP.peer', 'Org3MSP.client')" - Writers: - Type: Signature - Rule: "OR('Org3MSP.admin', 'Org3MSP.client')" - Admins: - Type: Signature - Rule: "OR('Org3MSP.admin')" - Endorsement: - Type: Signature - Rule: "OR('Org3MSP.peer')" + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 diff --git a/interest_rate_swaps/network/configtx.yaml b/interest_rate_swaps/network/configtx.yaml index 75d9a023..4e487146 100644 --- a/interest_rate_swaps/network/configtx.yaml +++ b/interest_rate_swaps/network/configtx.yaml @@ -76,6 +76,12 @@ Organizations: - Host: irs-partya Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + - &partyb # DefaultOrg defines the organization which is used in the sampleconfig # of the fabric.git development environment @@ -111,6 +117,12 @@ Organizations: - Host: irs-partyb Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + - &partyc # DefaultOrg defines the organization which is used in the sampleconfig # of the fabric.git development environment @@ -146,6 +158,11 @@ Organizations: - Host: irs-partyc Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 - &auditor # DefaultOrg defines the organization which is used in the sampleconfig @@ -182,6 +199,12 @@ Organizations: - Host: irs-auditor Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + - &rrprovider # DefaultOrg defines the organization which is used in the sampleconfig # of the fabric.git development environment @@ -217,6 +240,11 @@ Organizations: - Host: irs-rrprovider Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 ################################################################################ # diff --git a/test-network/addOrg3/configtx.yaml b/test-network/addOrg3/configtx.yaml index ea2e815d..38b8ffc0 100644 --- a/test-network/addOrg3/configtx.yaml +++ b/test-network/addOrg3/configtx.yaml @@ -40,3 +40,9 @@ Organizations: # encoded in the genesis block in the Application section context - Host: peer0.org3.example.com Port: 11051 + + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 diff --git a/test-network/configtx/configtx.yaml b/test-network/configtx/configtx.yaml index 9580184a..feb0c020 100644 --- a/test-network/configtx/configtx.yaml +++ b/test-network/configtx/configtx.yaml @@ -76,6 +76,12 @@ Organizations: - Host: peer0.org1.example.com Port: 7051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + - &Org2 # DefaultOrg defines the organization which is used in the sampleconfig # of the fabric.git development environment @@ -110,6 +116,12 @@ Organizations: - Host: peer0.org2.example.com Port: 9051 + # PrivateDataImplicitCollection stores the configuration for this org's implicit + # collection. + PrivateDataImplicitCollection: + MaxPeerCount: 1 + RequiredPeerCount: 0 + ################################################################################ # # SECTION: Capabilities