This CR adds unit test code to the ABAC sample Chaincode to show how to use MockStub for Chaincode that uses the `cid` package. To test the access control in Chaincode method, Creator field in MockStub is set by reading mspID and certificate with attributes. FAB-13769 #done Change-Id: Iddc5ea105b25afcc18b8ff54cf359d2b9406e829 Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com> |
||
|---|---|---|
| .github | ||
| balance-transfer | ||
| basic-network | ||
| chaincode | ||
| chaincode-docker-devmode | ||
| commercial-paper | ||
| fabcar | ||
| first-network | ||
| high-throughput | ||
| interest_rate_swaps | ||
| scripts | ||
| .gitignore | ||
| .gitreview | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| Jenkinsfile | ||
| LICENSE | ||
| MAINTAINERS.md | ||
| README.md | ||
Hyperledger Fabric Samples
Please visit the installation instructions to ensure you have the correct prerequisites installed. Please use the version of the documentation that matches the version of the software you intend to use to ensure alignment.
Download Binaries and Docker Images
The scripts/bootstrap.sh
script will preload all of the requisite docker
images for Hyperledger Fabric and tag them with the 'latest' tag. Optionally,
specify a version for fabric, fabric-ca and thirdparty images. Default versions
are 1.4.0-rc2, 1.4.0-rc2 and 0.4.14 respectively.
./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]
License
Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.