-
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-8446] Add couchdb index validation to LSCC
The existing validation for packaged couchdb indexes in chaincode was only getting called if peer CLI packaged the index during chaincode install (client side). Need the same validation logic called on server side of chaincocde install, so that the same validation logic will be in effect regardless of whether a peer CLI client or an SDK client performed the chaincode install. This implies making the same validation logic available in the LSCC chaincode install function. The benefit is that each client does not need to perform their own validation, they can rely on the server side LSCC validation, and any validation errors will get returned to them on the chaincode install failure response. This change ensures that the same validation is called during peer CLI packaging and during LSCC install chaincode. Change-Id: I44692141f6efe430fd5e298c8df7d59e519ce028 Signed-off-by: David Enyeart <enyeart@us.ibm.com>
- Loading branch information
Showing
9 changed files
with
192 additions
and
144 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.