-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-9602] entity matcher refactoring
- entity matchers aren't mandatory anymore - Merged EndpointConfig.PeerConfig and EndpointConfig.PeerConfigByURL to single function. - Refactered below config functions, * EndpointConfig.PeerConfig - return error if peerConfig not found, never return nil peerConfig * EndpointConfig.PeersConfig - will skip the peer if corresponding peer config not found, instead of failing as whole * EndpointConfig.ChannelPeers - will skip the peer if corresponding peer config not found, instead of failing as whole * EndpointConfig.OrdererConfig - return error if ordererConfig not found, never return nil ordererConfig. * IdentityConfig CA lookups - will not fail if entity matchers not found. - endpoint discovery to skip the peers for which config is not found, but will fail if in case of error while reading peer config. - entity matchers customization removed from usual test config files. Change-Id: Ieb64514862ab1f3c03878397602d9fee88e71dfa Signed-off-by: Sudesh Shetty <sudesh.shetty@securekey.com>
- Loading branch information
1 parent
637b655
commit 0728814
Showing
32 changed files
with
680 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.