|
@@ -1,7 +1,7 @@
|
|
---
|
|
---
|
|
################################################################################
|
|
################################################################################
|
|
#
|
|
#
|
|
-# Profile
|
|
|
|
|
|
+# Profile - meant to be used with docker-2orgs-2peerseach-e2e.yml
|
|
#
|
|
#
|
|
# - Different configuration profiles may be encoded here to be specified
|
|
# - Different configuration profiles may be encoded here to be specified
|
|
# as parameters to the configtxgen tool
|
|
# as parameters to the configtxgen tool
|
|
@@ -9,15 +9,16 @@
|
|
################################################################################
|
|
################################################################################
|
|
Profiles:
|
|
Profiles:
|
|
|
|
|
|
- MideaOrgs:
|
|
|
|
|
|
+ TwoOrgs:
|
|
Orderer:
|
|
Orderer:
|
|
<<: *OrdererDefaults
|
|
<<: *OrdererDefaults
|
|
Organizations:
|
|
Organizations:
|
|
- *OrdererOrg
|
|
- *OrdererOrg
|
|
- Application:
|
|
|
|
|
|
+ Application:
|
|
<<: *ApplicationDefaults
|
|
<<: *ApplicationDefaults
|
|
Organizations:
|
|
Organizations:
|
|
- *Org0
|
|
- *Org0
|
|
|
|
+ - *Org1
|
|
|
|
|
|
################################################################################
|
|
################################################################################
|
|
#
|
|
#
|
|
@@ -34,13 +35,17 @@ Organizations:
|
|
- &OrdererOrg
|
|
- &OrdererOrg
|
|
# 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
|
|
- Name: OrdererOrg
|
|
|
|
|
|
+ Name: OrdererMSP
|
|
|
|
|
|
# ID to load the MSP definition as
|
|
# ID to load the MSP definition as
|
|
ID: OrdererMSP
|
|
ID: OrdererMSP
|
|
|
|
|
|
# MSPDir is the filesystem path which contains the MSP configuration
|
|
# MSPDir is the filesystem path which contains the MSP configuration
|
|
- MSPDir: examples/midea/crypto-config/ordererOrganizations/ordererOrg1/orderers/orderer.ordererOrg1
|
|
|
|
|
|
+ #########################################################################
|
|
|
|
+ # FIXME: this path needs to be fixed to point to the actual location of #
|
|
|
|
+ # the project 'fabric-sdk-node' in the file system #
|
|
|
|
+ #########################################################################
|
|
|
|
+ MSPDir: examples/midea/channel/crypto-config/ordererOrganizations/ordererOrg1/msp
|
|
|
|
|
|
# BCCSP (Blockchain crypto provider): Select which crypto implementation or
|
|
# BCCSP (Blockchain crypto provider): Select which crypto implementation or
|
|
# library to use
|
|
# library to use
|
|
@@ -49,11 +54,11 @@ Organizations:
|
|
SW:
|
|
SW:
|
|
Hash: SHA2
|
|
Hash: SHA2
|
|
Security: 256
|
|
Security: 256
|
|
- # Location of Key Store. If this is unset, a location will
|
|
|
|
|
|
+ # Location of Key Store. If this is unset, a location will
|
|
# be chosen using 'MSPDir'/keystore
|
|
# be chosen using 'MSPDir'/keystore
|
|
- FileKeyStore:
|
|
|
|
- KeyStore:
|
|
|
|
-
|
|
|
|
|
|
+ FileKeyStore:
|
|
|
|
+ KeyStore:
|
|
|
|
+
|
|
- &Org0
|
|
- &Org0
|
|
# 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
|
|
@@ -62,7 +67,12 @@ Organizations:
|
|
# ID to load the MSP definition as
|
|
# ID to load the MSP definition as
|
|
ID: Org1MSP
|
|
ID: Org1MSP
|
|
|
|
|
|
- MSPDir: examples/midea/crypto-config/peerOrganizations/peerOrg1/peers/peer0.peerOrg1
|
|
|
|
|
|
+ # MSPDir is the filesystem path which contains the MSP configuration
|
|
|
|
+ #########################################################################
|
|
|
|
+ # FIXME: this path needs to be fixed to point to the actual location of #
|
|
|
|
+ # the project 'fabric-sdk-node' in the file system #
|
|
|
|
+ #########################################################################
|
|
|
|
+ MSPDir: examples/midea/channel/crypto-config/peerOrganizations/peerOrg1/msp/
|
|
|
|
|
|
# BCCSP (Blockchain crypto provider): Select which crypto implementation or
|
|
# BCCSP (Blockchain crypto provider): Select which crypto implementation or
|
|
# library to use
|
|
# library to use
|
|
@@ -71,17 +81,55 @@ Organizations:
|
|
SW:
|
|
SW:
|
|
Hash: SHA2
|
|
Hash: SHA2
|
|
Security: 256
|
|
Security: 256
|
|
- # Location of Key Store. If this is unset, a location will
|
|
|
|
|
|
+ # Location of Key Store. If this is unset, a location will
|
|
# be chosen using 'MSPDir'/keystore
|
|
# be chosen using 'MSPDir'/keystore
|
|
- FileKeyStore:
|
|
|
|
- KeyStore:
|
|
|
|
-
|
|
|
|
|
|
+ FileKeyStore:
|
|
|
|
+ KeyStore:
|
|
|
|
+
|
|
AnchorPeers:
|
|
AnchorPeers:
|
|
# AnchorPeers defines the location of peers which can be used
|
|
# AnchorPeers defines the location of peers which can be used
|
|
# for cross org gossip communication. Note, this value is only
|
|
# for cross org gossip communication. Note, this value is only
|
|
# encoded in the genesis block in the Application section context
|
|
# encoded in the genesis block in the Application section context
|
|
- Host: peer0
|
|
- Host: peer0
|
|
Port: 7051
|
|
Port: 7051
|
|
|
|
+ - Host: peer1
|
|
|
|
+ Port: 7051
|
|
|
|
+
|
|
|
|
+ - &Org1
|
|
|
|
+ # DefaultOrg defines the organization which is used in the sampleconfig
|
|
|
|
+ # of the fabric.git development environment
|
|
|
|
+ Name: Org2MSP
|
|
|
|
+
|
|
|
|
+ # ID to load the MSP definition as
|
|
|
|
+ ID: Org2MSP
|
|
|
|
+
|
|
|
|
+ # MSPDir is the filesystem path which contains the MSP configuration
|
|
|
|
+ #########################################################################
|
|
|
|
+ # FIXME: this path needs to be fixed to point to the actual location of #
|
|
|
|
+ # the project 'fabric-sdk-node' in the file system #
|
|
|
|
+ #########################################################################
|
|
|
|
+ MSPDir: examples/midea/channel/crypto-config/peerOrganizations/peerOrg2/msp/
|
|
|
|
+
|
|
|
|
+ # BCCSP (Blockchain crypto provider): Select which crypto implementation or
|
|
|
|
+ # library to use
|
|
|
|
+ BCCSP:
|
|
|
|
+ Default: SW
|
|
|
|
+ SW:
|
|
|
|
+ Hash: SHA2
|
|
|
|
+ Security: 256
|
|
|
|
+ # Location of Key Store. If this is unset, a location will
|
|
|
|
+ # be chosen using 'MSPDir'/keystore
|
|
|
|
+ FileKeyStore:
|
|
|
|
+ KeyStore:
|
|
|
|
+
|
|
|
|
+ AnchorPeers:
|
|
|
|
+ # AnchorPeers defines the location of peers which can be used
|
|
|
|
+ # for cross org gossip communication. Note, this value is only
|
|
|
|
+ # encoded in the genesis block in the Application section context
|
|
|
|
+ - Host: peer2
|
|
|
|
+ Port: 7051
|
|
|
|
+ - Host: peer3
|
|
|
|
+ Port: 7051
|
|
|
|
|
|
################################################################################
|
|
################################################################################
|
|
#
|
|
#
|
|
@@ -101,7 +149,7 @@ Orderer: &OrdererDefaults
|
|
- orderer0:7050
|
|
- orderer0:7050
|
|
|
|
|
|
# Batch Timeout: The amount of time to wait before creating a batch
|
|
# Batch Timeout: The amount of time to wait before creating a batch
|
|
- BatchTimeout: 2s
|
|
|
|
|
|
+ BatchTimeout: 10s
|
|
|
|
|
|
# Batch Size: Controls the number of messages batched into a block
|
|
# Batch Size: Controls the number of messages batched into a block
|
|
BatchSize:
|
|
BatchSize:
|
|
@@ -122,7 +170,7 @@ Orderer: &OrdererDefaults
|
|
# Brokers: A list of Kafka brokers to which the orderer connects
|
|
# Brokers: A list of Kafka brokers to which the orderer connects
|
|
# NOTE: Use IP:port notation
|
|
# NOTE: Use IP:port notation
|
|
Brokers:
|
|
Brokers:
|
|
- - 127.0.0.1:9092
|
|
|
|
|
|
+ - orderer0:9092
|
|
|
|
|
|
# Organizations is the list of orgs which are defined as participants on
|
|
# Organizations is the list of orgs which are defined as participants on
|
|
# the orderer side of the network
|
|
# the orderer side of the network
|