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

Commit 518114c

Browse files
committed
FAB-11352 v1.3.0 Commencement
Change-Id: Ib4094d08eec3cb728159abf2bd03f090869efe90 Signed-off-by: rickr <cr22rc@gmail.com>
1 parent d02d7dd commit 518114c

File tree

3 files changed

+45
-11
lines changed

3 files changed

+45
-11
lines changed

README.md

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
k# Java SDK for Hyperledger Fabric 1.2
1+
# Java SDK for Hyperledger Fabric 1.3
22
Welcome to Java SDK for Hyperledger project. The SDK helps facilitate Java applications to manage the lifecycle of
33
Hyperledger channels and user chaincode. The SDK also provides a means to execute
44
user chaincode, query blocks
@@ -22,6 +22,12 @@ SDK's `Enrollment` interface.
2222
only help you familiarize to get started with the SDK if you are new in this domain.
2323

2424

25+
## IMPORTANT: Version 1.3 IS WORK IN PROGRESS!
26+
If you don't require features of Fabric or Fabric CA version 1.3 you probably should consider the v1.2.x version of the SDK.
27+
To get the actual v1.2.0 SDK: [v1.2.0](https://github.com/hyperledger/fabric-sdk-java/tree/33760188370ed4653cca93e727e509e774c5c8c1)
28+
If you are trying to use new features of Fabric you will probably have to build Fabric to get those features.
29+
30+
2531
## Release notes
2632

2733
|Release | Notes |
@@ -39,13 +45,13 @@ git checkout -b release-1.2
3945
```
4046

4147
## Java applications
42-
For Java applications use the latest published v1.2.x releases:
48+
For Java applications use the latest published v1.3.x releases:
4349
```
4450
<!-- https://mvnrepository.com/artifact/org.hyperledger.fabric-sdk-java/fabric-sdk-java -->
4551
<dependency>
4652
<groupId>org.hyperledger.fabric-sdk-java</groupId>
4753
<artifactId>fabric-sdk-java</artifactId>
48-
<version>1.2.0/version>
54+
<version>1.3.0-SNAPHOST/version>
4955
</dependency>
5056
5157
```
@@ -61,16 +67,44 @@ For Java applications use the latest published v1.2.x releases:
6167

6268
`*************************************************`
6369

70+
## 1.3.0-SNAPSHOT builds
71+
Work in progress 1.3.0 SNAPSHOT builds can be used by adding the following to your application's
72+
pom.xml
73+
```
74+
<repositories>
75+
<repository>
76+
<id>snapshots-repo</id>
77+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
78+
<releases>
79+
<enabled>false</enabled>
80+
</releases>
81+
<snapshots>
82+
<enabled>true</enabled>
83+
</snapshots>
84+
</repository>
85+
</repositories>
86+
87+
<dependencies>
88+
89+
<!-- https://mvnrepository.com/artifact/org.hyperledger.fabric-sdk-java/fabric-sdk-java -->
90+
<dependency>
91+
<groupId>org.hyperledger.fabric-sdk-java</groupId>
92+
<artifactId>fabric-sdk-java</artifactId>
93+
<version>1.3.0-SNAPSHOT</version>
94+
</dependency>
95+
96+
</dependencies>
97+
```
6498

6599

66100

67101
## Latest Fabric Builds.
68102
Latest Fabric builds are seldom needed except for those working on the very latest Fabric features.
69103
Some information to help with that can been found in [Developer Instructions](./docs/DeveloperInstructions.md)
70104

71-
## Latest builds of Fabric and Fabric-ca v1.2.0
105+
## Latest builds of Fabric and Fabric-ca v1.3.0
72106

73-
To get a functioning Fabric v1.2.0 network needed by the SDK Integration tests once it's built.
107+
To get a functioning Fabric v1.3.0 network needed by the SDK Integration tests once it's built.
74108
In the directory `src/test/fixture/sdkintegration` issue :
75109

76110
`./fabric.sh restart`
@@ -274,7 +308,7 @@ JIRA Fields should be:
274308
<dt>Component</dt>
275309
<dd>fabric-sdk-java</dd>
276310
<dt>Fix Versions</dt>
277-
<dd>v1.1</dd>
311+
<dd>v1.3</dd>
278312
</dl>
279313

280314
Pleases provide as much information that you can with the issue you're experiencing: stack traces logs.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>org.hyperledger.fabric-sdk-java</groupId>
55
<artifactId>fabric-sdk-java</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.2.0</version>
7+
<version>1.3.0-SNAPSHOT</version>
88
<name>fabric-java-sdk</name>
99
<description>Java SDK for Hyperledger fabric project</description>
1010
<url>https://www.hyperledger.org/community/projects</url>

src/test/fixture/sdkintegration/.env

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ ORG_HYPERLEDGER_FABRIC_SDKTEST_INTEGRATIONTESTS_CA_TLS=
1212
ORG_HYPERLEDGER_FABRIC_SDKTEST_INTEGRATIONTESTS_CLIENT_AUTH_REQUIRED=false
1313
#
1414
#Image tags:
15-
IMAGE_TAG_FABRIC=:1.2.0
16-
IMAGE_TAG_FABRIC_CA=:1.2.0
17-
#IMAGE_TAG_FABRIC=
18-
#IMAGE_TAG_FABRIC_CA=
15+
#IMAGE_TAG_FABRIC=:1.2.0
16+
#IMAGE_TAG_FABRIC_CA=:1.2.0
17+
IMAGE_TAG_FABRIC=
18+
IMAGE_TAG_FABRIC_CA=
1919
#FAB_CONFIG_GEN_VERS=v1.0
2020
FAB_CONFIG_GEN_VERS=v1.2
2121
V11_IDENTITIES_ALLOWREMOVE=--cfg.identities.allowremove

0 commit comments

Comments
 (0)