fabric-admin-sdk icon indicating copy to clipboard operation
fabric-admin-sdk copied to clipboard

public genesisconfig def

Open SamYuan1990 opened this issue 1 year ago • 1 comments

public genesisconfig def for people to invoke.

SamYuan1990 avatar Apr 17 '24 13:04 SamYuan1990

I'm not 100% sure what capability is being delivered by exposing this. It seems that the e2e test code makes use of code that is still internal in order to do useful work with the configuration loaded by the genesisconfig package.

The code being made public also includes some content that I'm not sure should be part of the public API:

  • Many "Sample" constants:
    ampleInsecureSoloProfile = "SampleInsecureSolo"
    ampleDevModeSoloProfile = "SampleDevModeSolo"
    ampleSingleMSPSoloProfile = "SampleSingleMSPSolo"
    
    ampleInsecureKafkaProfile = "SampleInsecureKafka"
    ampleDevModeKafkaProfile = "SampleDevModeKafka"
    ampleSingleMSPKafkaProfile = "SampleSingleMSPKafka"
    
    ampleDevModeEtcdRaftProfile = "SampleDevModeEtcdRaft"
    
    ampleAppChannelInsecureSoloProfile = "SampleAppChannelInsecureSolo"
    ampleAppChannelEtcdRaftProfile = "SampleAppChannelEtcdRaft"
    
    ampleSingleMSPChannelProfile = "SampleSingleMSPChannel"
    
    ampleConsortiumName = "SampleConsortium"
    ampleOrgName = "SampleOrg"
    
  • Code for dealing with Kafka and Solo ordering nodes. Both of these have been deprecated for many years and are being removed from Fabric.

bestbeforetoday avatar Jun 27 '24 22:06 bestbeforetoday