fabric-samples/asset-transfer-basic/chaincode-java
Tatsuya Sato 385a35b744
Fix KIND cluster creation for test-network-k8s (#1375)
This PR replaces deprecated containerd registry.mirrors configuration with
config_path mode and hosts.toml, required for containerd 2.x
(KIND v0.27.0+). The old configuration prevents the CRI plugin
from loading, causing kubelet to fail on startup.

Also, this fixes CA enrollment in create_node_local_MSP() to specify
port 443 explicitly, and other minor issues, including removing
redundant throws from Java close() methods.

Signed-off-by: Tatsuya Sato <tatsuya.sato.so@hitachi.com>
Co-authored-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2026-02-09 10:16:42 +00: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 Support Java 25 (#1352) 2025-10-06 12:26:52 -04:00
src Fix KIND cluster creation for test-network-k8s (#1375) 2026-02-09 10:16:42 +00: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 Support Java 25 (#1352) 2025-10-06 12:26:52 -04:00
Dockerfile Support Java 25 (#1352) 2025-10-06 12:26:52 -04:00
gradlew Support Java 25 (#1352) 2025-10-06 12:26:52 -04:00
gradlew.bat Support Java 25 (#1352) 2025-10-06 12:26:52 -04: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: