fabric-samples/chaincode/fabcar/java
Simon Stone 521a7ffc4a [FAB-16607] Update FabCar to reflect CC updates
Node.js CC:
As a result of using the new protobufjs library, certain
external APIs have changed in the Node.js chaincode. The
samples need to be updated to use these new APIs.

Java CC:
As a result of moving to Java 11, we hit this issue:
https://github.com/gradle/gradle/issues/8286
The sample needs to be updated to specify the absolute
path to checkstyle's suppression.xml.

Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
Change-Id: I4db886b3feff46d165e05a7eda624230b65f9cbe
2019-09-19 13:26:51 +01:00
..
config/checkstyle [FAB-16607] Update FabCar to reflect CC updates 2019-09-19 13:26:51 +01:00
gradle/wrapper [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
src [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
.gitignore [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
build.gradle [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
gradlew [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
gradlew.bat [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
README.md [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
settings.gradle [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00

Java FabCar contract sample

The directions for using this sample are documented in the Hyperledger Fabric Writing Your First Application tutorial.

The tutorial is based on JavaScript, however the same concepts are applicable when using Java.

To install and instantiate the Java version of FabCar, use the following command instead of the command shown in the Launch the network section of the tutorial:

./startFabric.sh javascript

NOTE: After navigating to the documentation, choose the documentation version that matches your version of Fabric