Dave Enyeart
75b8419113
Sample apps should exit code 1 upon failure ( #1003 )
...
Ensure that all sample applications return exit code 1 upon failure
so that github actions can report the failure.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2023-03-17 13:18:18 +00: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
Mark S. Lewis
10e9377555
Avoid explicit import of grpc-js or fabric-protos in TypeScript apps
...
Rely on the dependencies of @hyperledger/fabric-gateway making these packages transitively available. Having explicit dependency versions in the application can cause type conflicts due to private member changes in the gRPC Client class across versions.
Also fix some missing or incorrect Node types and engines version contraints.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2023-02-10 11:36:41 -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
c323c95807
Update samples to use fabric-gateway v1.1.1 ( #842 )
...
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-10-20 17:43:55 +01: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