Mark S. Lewis
f151039f8a
Updates to asset-transfer-basic Gateway sample to align with docs ( #553 )
...
Also install goimports globally to run the linting check rather than installing to each gomodule, which was causing dependency conflicts.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2021-12-09 10:20:52 +00:00
sapthasurendran
e963ddc726
lint Fix ( #555 )
...
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2021-12-09 09:44:25 +00:00
Matthew B White
3ba63b15d6
Update go.mod ( #500 )
...
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
2021-10-06 11:35:43 -04:00
denyeart
ee959a2eb0
Update to Go 1.16.7 ( #491 )
...
Update Go to 1.16.7 and run "go mod tidy"
to clean up go modules in samples.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2021-10-01 09:16:56 +01:00
Brett Logan
855c8e4db3
Update Go Modules
...
Signed-off-by: Brett Logan <lindluni@github.com>
2021-02-11 18:11:17 -05:00
Sijo Cherian
8c9fd980b9
go chaincode now sets the Asset owner as client identity certificate string (instead of base64 str)
...
go chaincode now sets the Asset owner as client identity certificate string (instead of base64 str)
Reason for the update: "GetClientIdentity().GetID()" api in go chaincode returns base64 string, while same api in java chaincode returns the same data as string
go & java chaincode sets same owner string
updated js app verify method
Signed-off-by: Sijo Cherian <sijo@ibm.com>
2020-11-25 22:40:04 -05:00
Sijo Cherian
e7189fc62a
bugfix: asset type field name in couchdb index def
...
Signed-off-by: Sijo Cherian <sijo@ibm.com>
2020-10-12 16:27:17 -04:00
nikhil550
c18a59ceaa
Replace private data readme with link to tutorial ( #346 )
...
Signed-off-by: Nikhil Gupta <ngupta@symbridge.com>
2020-10-12 20:01:59 +02:00
Sijo Cherian
c1424748b0
Asset transfer private-data go-chaincode - Add unit tests ( #290 )
...
* Adding golang application for asset-transfer-basic sample. (#211 )
Signed-off-by: Chongxin Luo <Chongxin.Luo@ibm.com>
Improved private data Go Chaincode in idiomatic go.
Adding go chaincode unit tests
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Added unit tests for query-asset chaincode functions
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Improved README
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Added unit tests for query-asset chaincode functions
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Fixed json.Marsal usage per review comments, Improved DeleteAsset validation
Added owner collection check for DeleteAsset chaincode
JS app now demos a new expected error on DeleteAsset by a non-owner org
Signed-off-by: Sijo Cherian <sijo@ibm.com>
Co-authored-by: Dereck <Chongxin.Luo@ibm.com>
Co-authored-by: Sijo Cherian <sijo@ibm.com>
2020-08-25 10:04:03 -04:00
David Enyeart
b3bc39ae5f
Re-enable CI tests for asset-transfer-private-data JS app
...
Re-enable CI tests for asset-transfer-private-data JavaScript application.
Also re-add the error when private asset details are not found in the collection,
so that the CLI instructions work as desired, and to demonstrate error
handing in the client application.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2020-08-20 16:05:42 -04:00
Sijo Cherian
e90554f4f8
JS App workflow for private-data asset transfer, Chaincode fixes ( #252 )
...
* Adding JS App workflow, Bugfixes in Go Chaincode
Initial impl JS App workflow, Added 2 asset sample, with transfer & delete
Bugfixes: Bug fix in ReadTransferAgreement
Improved logging in Go Chaincode, Improved Chaincode error handling, checks for execution on orgs peer, bug fix, lint issues
use addDiscoveryInterest to scope policy, instead of setEndorsingOrganizations
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* added js app to CI pipeline , and linting matrix
Signed-off-by: Sijo Cherian <sijo@ibm.com>
Co-authored-by: Sijo Cherian <sijo@ibm.com>
2020-08-06 14:23:11 -04:00
NIKHIL E GUPTA
d72be92feb
private data readme edits
...
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
2020-07-27 23:37:41 -04:00
nikhil550
8c32a85f66
Update private data chaincode to use test network script ( #249 )
...
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
Co-authored-by: NIKHIL E GUPTA <negupta@us.ibm.com>
2020-07-23 14:17:50 -04:00
NIKHIL E GUPTA
09ebf1c1ce
Initialize new private data asset transfer CC
...
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
2020-07-11 08:04:37 -04:00