-
Jason Yellick authored
The resource tree needs to represent both API ACLs as well as chaincodes. This CR renames the Resource message to APIResource and adds a collection of Chaincode messages for defining the chaincode group. For the new Chaincode group, there is now a structure of: [Group] Resources [Group] Chaincodes [Group] mycc [Value] ChaincodeIdentifier bytes hash = 1; string version = 2; [Value] ChaincodeValidation string name = 1; // Set to vscc bytes argument = 2; // A marshaled: message VSCCArgs string endorsement_policy_ref = 1; [Value] ChaincodeEndorsement string name = 1; // Set to escc Change-Id: Ic2d02fb11a55779031eedce898902bc67185a4aa Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
c3bfd6dd