-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-6563] CLI support to specify collections
This change set adds a new option ('--collections-config') so that the chaincode developer can specify the configuration of a collection when deploying a new chaincode. The option expects a file name; the content of the file will be read and parsed as a JSON-formatted array of the following struct type collectionConfigJson struct { Name string `json:"name"` Policy string `json:"policy"` RequiredCount int32 `json:"requiredPeerCount"` MaxPeerCount int32 `json:"maxPeerCount"` } Change-Id: Ifceed0db612b36c793937ef6704e8a179981413d Signed-off-by: Alessandro Sorniotti <ale.linux@sopit.net> Signed-off-by: yacovm <yacovm@il.ibm.com>
- Loading branch information
Showing
7 changed files
with
160 additions
and
28 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