Skip to content

Commit 9336215

Browse files
authored
Remove kafka profiles from configtx.yaml (hyperledger#5115)
As of v3.0.0 these profiles should not be used. Signed-off-by: Yoav Tock <tock@il.ibm.com>
1 parent 075ba68 commit 9336215

File tree

2 files changed

+2
-118
lines changed

2 files changed

+2
-118
lines changed

orderer/common/cluster/testdata/blockverification/configtx.yaml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -495,20 +495,6 @@ Profiles:
495495
Organizations:
496496
- *SampleOrg
497497

498-
# SampleSingleMSPKafka defines a configuration that differs from the
499-
# SampleSingleMSPSolo one only in that it uses the Kafka-based orderer.
500-
SampleSingleMSPKafka:
501-
<<: *ChannelDefaults
502-
Orderer:
503-
<<: *OrdererDefaults
504-
OrdererType: kafka
505-
Organizations:
506-
- *SampleOrg
507-
Consortiums:
508-
SampleConsortium:
509-
Organizations:
510-
- *SampleOrg
511-
512498
# SampleInsecureSolo defines a configuration which uses the Solo orderer,
513499
# contains no MSP definitions, and allows all transactions and channel
514500
# creation requests for the consortium SampleConsortium.
@@ -521,17 +507,6 @@ Profiles:
521507
SampleConsortium:
522508
Organizations:
523509

524-
# SampleInsecureKafka defines a configuration that differs from the
525-
# SampleInsecureSolo one only in that it uses the Kafka-based orderer.
526-
SampleInsecureKafka:
527-
<<: *ChannelDefaults
528-
Orderer:
529-
<<: *OrdererDefaults
530-
OrdererType: kafka
531-
Consortiums:
532-
SampleConsortium:
533-
Organizations:
534-
535510
# SampleDevModeSolo defines a configuration which uses the Solo orderer,
536511
# contains the sample MSP as both orderer and consortium member, and
537512
# requires only basic membership for admin privileges. It also defines
@@ -568,39 +543,6 @@ Profiles:
568543
Type: Signature
569544
Rule: "OR('SampleOrg.member')"
570545

571-
# SampleDevModeKafka defines a configuration that differs from the
572-
# SampleDevModeSolo one only in that it uses the Kafka-based orderer.
573-
SampleDevModeKafka:
574-
<<: *ChannelDefaults
575-
Orderer:
576-
<<: *OrdererDefaults
577-
OrdererType: kafka
578-
Organizations:
579-
- <<: *SampleOrg
580-
Policies:
581-
<<: *SampleOrgPolicies
582-
Admins:
583-
Type: Signature
584-
Rule: "OR('SampleOrg.member')"
585-
Application:
586-
<<: *ApplicationDefaults
587-
Organizations:
588-
- <<: *SampleOrg
589-
Policies:
590-
<<: *SampleOrgPolicies
591-
Admins:
592-
Type: Signature
593-
Rule: "OR('SampleOrg.member')"
594-
Consortiums:
595-
SampleConsortium:
596-
Organizations:
597-
- <<: *SampleOrg
598-
Policies:
599-
<<: *SampleOrgPolicies
600-
Admins:
601-
Type: Signature
602-
Rule: "OR('SampleOrg.member')"
603-
604546
# SampleSingleMSPChannel defines a channel with only the sample org as a
605547
# member. It is designed to be used in conjunction with SampleSingleMSPSolo
606548
# and SampleSingleMSPKafka orderer profiles. Note, for channel creation

sampleconfig/configtx.yaml

Lines changed: 2 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -478,20 +478,6 @@ Profiles:
478478
Organizations:
479479
- *SampleOrg
480480

481-
# SampleSingleMSPKafka defines a configuration that differs from the
482-
# SampleSingleMSPSolo one only in that it uses the Kafka-based orderer.
483-
SampleSingleMSPKafka:
484-
<<: *ChannelDefaults
485-
Orderer:
486-
<<: *OrdererDefaults
487-
OrdererType: kafka
488-
Organizations:
489-
- *SampleOrg
490-
Consortiums:
491-
SampleConsortium:
492-
Organizations:
493-
- *SampleOrg
494-
495481
# SampleInsecureSolo defines a configuration which uses the Solo orderer,
496482
# contains no MSP definitions, and allows all transactions and channel
497483
# creation requests for the consortium SampleConsortium.
@@ -504,17 +490,6 @@ Profiles:
504490
SampleConsortium:
505491
Organizations:
506492

507-
# SampleInsecureKafka defines a configuration that differs from the
508-
# SampleInsecureSolo one only in that it uses the Kafka-based orderer.
509-
SampleInsecureKafka:
510-
<<: *ChannelDefaults
511-
Orderer:
512-
<<: *OrdererDefaults
513-
OrdererType: kafka
514-
Consortiums:
515-
SampleConsortium:
516-
Organizations:
517-
518493
# SampleDevModeSolo defines a configuration which uses the Solo orderer,
519494
# contains the sample MSP as both orderer and consortium member, and
520495
# requires only basic membership for admin privileges. It also defines
@@ -551,44 +526,11 @@ Profiles:
551526
Type: Signature
552527
Rule: "OR('SampleOrg.member')"
553528

554-
# SampleDevModeKafka defines a configuration that differs from the
555-
# SampleDevModeSolo one only in that it uses the Kafka-based orderer.
556-
SampleDevModeKafka:
557-
<<: *ChannelDefaults
558-
Orderer:
559-
<<: *OrdererDefaults
560-
OrdererType: kafka
561-
Organizations:
562-
- <<: *SampleOrg
563-
Policies:
564-
<<: *SampleOrgPolicies
565-
Admins:
566-
Type: Signature
567-
Rule: "OR('SampleOrg.member')"
568-
Application:
569-
<<: *ApplicationDefaults
570-
Organizations:
571-
- <<: *SampleOrg
572-
Policies:
573-
<<: *SampleOrgPolicies
574-
Admins:
575-
Type: Signature
576-
Rule: "OR('SampleOrg.member')"
577-
Consortiums:
578-
SampleConsortium:
579-
Organizations:
580-
- <<: *SampleOrg
581-
Policies:
582-
<<: *SampleOrgPolicies
583-
Admins:
584-
Type: Signature
585-
Rule: "OR('SampleOrg.member')"
586529

587530
# SampleSingleMSPChannel defines a channel with only the sample org as a
588531
# member. It is designed to be used in conjunction with SampleSingleMSPSolo
589-
# and SampleSingleMSPKafka orderer profiles. Note, for channel creation
590-
# profiles, only the 'Application' section and consortium # name are
591-
# considered.
532+
# orderer profile. Note, for channel creation profiles, only the
533+
# 'Application' section and consortium # name are considered.
592534
SampleSingleMSPChannel:
593535
<<: *ChannelDefaults
594536
Consortium: SampleConsortium

0 commit comments

Comments
 (0)