Mark S. Lewis
42b9b60ebc
Update Go gRPC dependency
...
grpc.Dial() is (soon to be) deprecated in current gRPC versions. Use grpc.NewClient() instead.
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-04-24 16:24:37 +09:00
Mark S. Lewis
85fbbc0924
Fix Node HSM sample
...
Also:
- Tidy up README documentation.
- Add MacOS/Homebrew (Apple silicon) default SoftHSM library location to HSM scripts and sample applications to avoid the need to explicitly override the library location when running the sample.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2023-03-14 11:33:21 -04:00
David Enyeart
128950edca
Fix go lint issue
...
Fix go lint issue by running goimports.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2023-03-02 00:44:36 -05:00
jkneubuh
0ce94bbb9b
Move lint and test-network-basic tests from Azure to GHA - READY FOR MERGE ( #862 )
...
* Move Test Network Basic tests from Azure to GHA
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
* Move linters from Azure to GHA
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
* Apply review comments - pin java, node, and go runtimes
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
2022-11-14 13:36:55 +00:00
Mark S. Lewis
63cc77bdc3
Avoid usage of deprecated ioutil Go package ( #843 )
...
* Refactor Go files
1. replace deprecated ioutil functions (ioutil is deprecated since Go 1.16)
2. fix variable names that collide with imported package name
3. fix typos
Also update Go version specified by Go modules to ensure a Go version is used in which ioutil is deprecated and replacement functions are available in os and io packages.
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Co-authored-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
* Specify go 1.18 instead of go 1.19 in go.mod files
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Co-authored-by: Tommy TIAN <xtianae@connect.ust.hk>
2022-10-25 07:04:39 -04:00
Saptha Surendran
6aa3017ccb
Added hsm samples using Gateway ( #759 )
...
* Added hsmm Samples using Gateway
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Used asset-transfer-basic chaincode
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* moved samples under asset-transfer-basic
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* ci pipeline changes
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* HSM config path changed
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* added pkcs11 enabled ca
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* HSM template added
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* moved binaries to fabric samples bin
added go mod and go sum
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Gopath reverrted back to localDirectory
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* go mod added and cleanup
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* test file directory
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* test file directory
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* migrate to latest gateway and go version
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* hsm script changes
Readme changes
Added npm prepare
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* moved samples out of asset-transfer-basic
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Name changes
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* code refactor
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* go vet by tag
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* pkcs11 tag added to lint script
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* Readme updates
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* application-typescript code refactor
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
* readme note added
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2022-07-15 09:18:30 -04:00