fabric-samples/asset-transfer-private-data/application-gateway-typescript
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
..
src Explicitly specify hash in client applications 2024-10-07 12:25:40 -04:00
.gitignore Private data samples migration (#574) 2022-03-09 08:51:48 +00:00
.npmrc Enable engine-strict checks for TypeScript Gateway samples (#726) 2022-04-29 15:59:50 +01:00
eslint.config.mjs Update TypeScript implementations 2024-06-18 06:51:58 -04:00
package.json Simplify Java client error-handling example 2024-10-20 01:49:34 +01:00
README.md Private data samples migration (#574) 2022-03-09 08:51:48 +00:00
tsconfig.json Update TypeScript implementations 2024-06-18 06:51:58 -04:00

Asset Transfer Private Data Sample

This app uses fabric-samples/test-network based setup and the companion chaincode asset-transfer-private-data/chaincode-go/ with chaincode endorsement policy as "OR('Org1MSP.peer','Org2MSP.peer')"

For this usecase illustration, we will use both Org1 & Org2 client identity from this same app In real world the Org1 & Org2 identity will be used in different apps to achieve asset transfer.

For more details refer: https://hyperledger-fabric.readthedocs.io/en/release-2.4/private_data_tutorial.html#pd-use-case