Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit bf94912

Browse files
committed
FAB-6998 update-dep
Change-Id: I552eb1a6652c21f258c41867005c48594528c079 Signed-off-by: rickr <cr22rc@gmail.com>
1 parent b8c81c2 commit bf94912

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Note, the SDK does ***not*** provide a means of persistence
1111
for the application defined channels and user artifacts on the client. This is left for the embedding application to best manage.
1212
Channels may be serialized via Java serialization in the context of a client.
1313
Channels deserialized are not in an initialized state.
14+
Applications need to handle migration of serialzed files between versions.
1415

1516
The SDK also provides a client for Hyperledger's certificate authority. The SDK is however not dependent on this
1617
particular implementation of a certificate authority. Other Certificate authority's maybe used by implementing the
@@ -215,6 +216,14 @@ Use this `maven` command to run the integration tests:
215216
The _src/test/java/org/hyperledger/fabric/sdkintegration/End2endIT.java_ integration test is an example of installing, instantiating, invoking and querying a chaincode.
216217
It constructs the Hyperledger channel, deploys the `GO` chaincode, invokes the chaincode to do a transfer amount operation and queries the resulting blockchain world state.
217218

219+
The _src/test/java/org/hyperledger/fabric/sdkintegration/End2endAndBackAgainIT.java_ Shows recreating the channel objects created in End2endIT.java and
220+
upgrading chaincode and invoking the up graded chaincode.
221+
222+
Between End2endIT.java and End2endAndBackAgainIT.java this code shows almost all that the SDK can do.
223+
To learn the SDK you must have some understanding first of the Fabric. Then it's best to study these two integrations tests and better yet work with them in a debugger to follow the code. ( *a live demo* )
224+
Then once you understand them you can cut and paste from there to your own application. ( _the code is done for you!_ )
225+
226+
218227
This test is a reworked version of the Fabric [e2e_cli example](https://github.com/hyperledger/fabric/tree/master/examples/e2e_cli) to demonstrate the features of the SDK.
219228
To better understand blockchain and Fabric concepts, we recommend you install and run the _e2e_cli_ example.
220229

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<dependency>
9797
<groupId>io.netty</groupId>
9898
<artifactId>netty-codec-http2</artifactId>
99-
<version>4.1.17.Final</version>
99+
<version>4.1.19.Final</version>
100100
</dependency>
101101
<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
102102
<dependency>

0 commit comments

Comments
 (0)