fabric-samples/asset-transfer-basic/chaincode-java
Mark S. Lewis 86c71099cb
Simplify Java client error-handling example
The latest fabric-gateway client API release (v1.7.0) includes the gRPC error
details in the GatewayExcetion stack trace so it is not necessary to
programmatically access them to demonstrate that they are present.

This change updates the asset-transfer-basic/application-gateway-java
sample to simplify the updateNonExistentAsset example method. It also:

- Updates all samples to use the latest fabric-gateway release.
- Adds equivalent Maven POM files for fabric-gateway application samples.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-10-20 01:49:34 +01:00
..
config/checkstyle asset-transfer-basic Java CC. Adapted from fabcar. Unit tests are attached. Integration testing conducted using test network and asset-transfer-basic application-js. 2020-07-31 09:00:12 -04:00
docker Provide clear guidance for debugging Java chaincode as a service #684 (#724) 2022-04-26 15:33:14 +01:00
gradle/wrapper Use latest v2.5 fabric-chaincode-java 2024-02-25 22:13:26 -05:00
src Simplify Java client error-handling example 2024-10-20 01:49:34 +01:00
.gitattributes asset-transfer-basic Java CC. Adapted from fabcar. Unit tests are attached. Integration testing conducted using test network and asset-transfer-basic application-js. 2020-07-31 09:00:12 -04:00
.gitignore Provide clear guidance for debugging Java chaincode as a service #684 (#724) 2022-04-26 15:33:14 +01:00
build.gradle Update test dependencies for Java chaincode 2024-05-21 22:19:39 -04:00
Dockerfile Use latest v2.5 fabric-chaincode-java 2024-02-25 22:13:26 -05:00
gradlew Use latest v2.5 fabric-chaincode-java 2024-02-25 22:13:26 -05:00
gradlew.bat Use latest v2.5 fabric-chaincode-java 2024-02-25 22:13:26 -05:00
README.md Provide clear guidance for debugging Java chaincode as a service #684 (#724) 2022-04-26 15:33:14 +01:00
settings.gradle Move lint and test-network-basic tests from Azure to GHA - READY FOR MERGE (#862) 2022-11-14 13:36:55 +00:00

Basic Asset Transfer

This sample implements the basic asset transfer scenario, illustrating the use of the Java Contract SDKs to provide a smart contract as a service.

To run this chaincode contract locally on a development network, see: