-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add peers property support to fabric network config (#1329)
Add ability to list 1 or more fabric peers in an organisation that can be used to discover the fabric network. The new Peer Gateway connector will only ever use the first one (Issue exists to allow for more gateway peers to be used as load balancers) This means connection profiles are not needed anymore reducing the network configuration to a single file (ideally you would embed the tlsCACert information as well This will work for - bound fabric 1.4 using gateway-enabled - bound fabric 2.2 - bound fabric 2.4 It will not work with bound fabric 1.4 without gateway-enabled and the connector will report a failure saying that it cannot work with a dynamic connection profile (there is an issue to enable dynamic profile support for this but the 1.4 connector is legacy and not worth investing in) The implementation works by generating a dynamic connection profile from the peer information as all the connectors work by working to an interface which abstracts the required information but the implementation gets that information by processing an in memory version of the connection profile and doesn't make sense to have 2 different in memory representations. Documentation still to be provided Signed-off-by: D <[email protected]>
- Loading branch information
Showing
36 changed files
with
623 additions
and
267 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
Oops, something went wrong.