Skip to content

Commit

Permalink
chore(release): release v1.6.0 (last release)
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <[email protected]>
  • Loading branch information
sandeepnRES committed Jun 5, 2024
1 parent d4e3827 commit 1e30a5d
Show file tree
Hide file tree
Showing 64 changed files with 154 additions and 114 deletions.
2 changes: 1 addition & 1 deletion common/protos-go/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.11
1.6.0
2 changes: 1 addition & 1 deletion common/protos-java-kt/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name=Interop Protos
group=com.weaver
version=1.5.7
version=1.6.0
kotlin.incremental=false
2 changes: 1 addition & 1 deletion common/protos-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperledger-labs/weaver-protos-js",
"version": "1.5.7",
"version": "1.6.0",
"description": "Interop protos for Node JS (Weaver)",
"main": "index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion common/protos-rs/pkg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weaver_protos_rs"
version = "1.5.7"
version = "1.6.0"
authors = ["Peter Somogyvari <[email protected]>", "Sandeep Nishad <[email protected]"]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion core/drivers/corda-driver/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.14
1.6.0
11 changes: 5 additions & 6 deletions core/drivers/corda-driver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ buildscript {
ext.corda_version = "4.8"
ext.corda_core_version = "4.8"
ext.arrow_version = "0.10.4"
ext.weaver_protos_version = "1.5.7"
ext.weaver_corda_version = "1.2.14"
ext.weaver_version = "1.6.0"

repositories {
mavenCentral()
Expand Down Expand Up @@ -94,10 +93,10 @@ dependencies {
implementation "net.corda:corda:$corda_version"
implementation "net.corda:corda-rpc:$corda_version"

implementation(group: 'com.weaver.corda.app.interop', name: 'interop-contracts', version: "$weaver_corda_version")
implementation(group: 'com.weaver.corda.app.interop', name: 'interop-workflows', version: "$weaver_corda_version")
implementation(group: 'com.weaver.corda.sdk', name: 'weaver-corda-sdk', version: "$weaver_corda_version")
implementation(group: 'com.weaver', name: 'protos-java-kt', version: "$weaver_protos_version")
implementation(group: 'com.weaver.corda.app.interop', name: 'interop-contracts', version: "$weaver_version")
implementation(group: 'com.weaver.corda.app.interop', name: 'interop-workflows', version: "$weaver_version")
implementation(group: 'com.weaver.corda.sdk', name: 'weaver-corda-sdk', version: "$weaver_version")
implementation(group: 'com.weaver', name: 'protos-java-kt', version: "$weaver_version")

// gRPC and protobuf dependencies
implementation "io.grpc:grpc-kotlin-stub:$grpc_kotlin_version"
Expand Down
2 changes: 1 addition & 1 deletion core/drivers/corda-driver/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kotlin.code.style=official
name=corda-driver
group=com.weaver.corda.driver
version=1.2.14
version=1.6.0
kotlin.incremental=false
2 changes: 1 addition & 1 deletion core/drivers/fabric-driver/.env.docker.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LEVELDB_LOCKED_RETRY_BACKOFF_MSEC=<retry-back-off-time-in-ms>
ENABLE_MONITOR=<true|false>
MONITOR_SYNC_PERIOD=<monitor-sync-period-in-seconds>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-fabric-driver
DOCKER_TAG=1.4.0
DOCKER_TAG=1.6.0
EXTERNAL_NETWORK=<docker-bridge-network>
COMPOSE_PROJECT_NAME=<docker-compose-project-name>
COMPOSE_PROJECT_NETWORK=<docker-compose-project-network>
2 changes: 1 addition & 1 deletion core/drivers/fabric-driver/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.14
1.6.0
2 changes: 1 addition & 1 deletion core/drivers/fabric-driver/package-local.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-driver",
"version": "1.5.13",
"version": "1.6.0",
"description": "",
"main": "out/server.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions core/drivers/fabric-driver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-driver",
"version": "1.5.13",
"version": "1.6.0",
"description": "",
"main": "out/server.js",
"scripts": {
Expand All @@ -19,8 +19,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"@hyperledger-labs/weaver-protos-js": "~1.5.7",
"@hyperledger-labs/weaver-fabric-interop-sdk": "~1.5.14",
"@hyperledger-labs/weaver-protos-js": "1.6.0",
"@hyperledger-labs/weaver-fabric-interop-sdk": "1.6.0",
"@fidm/x509": "^1.2.1",
"@grpc/grpc-js": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion core/identity-management/iin-agent/.env.docker.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SYNC_PERIOD=
AUTO_SYNC=
TLS_CREDENTIALS_DIR=<dir-with-tls-cert-and-key>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-iin-agent
DOCKER_TAG=1.5.2
DOCKER_TAG=1.6.0
EXTERNAL_NETWORK=<docker-bridge-network>
COMPOSE_PROJECT_NAME=<docker-compose-project-name>
COMPOSE_PROJECT_NETWORK=<docker-compose-project-network>
2 changes: 1 addition & 1 deletion core/identity-management/iin-agent/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.9
1.6.0
2 changes: 1 addition & 1 deletion core/identity-management/iin-agent/package-local.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iin-agent",
"version": "1.5.9",
"version": "1.6.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions core/identity-management/iin-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iin-agent",
"version": "1.5.9",
"version": "1.6.0",
"description": "",
"main": "index.js",
"scripts": {
Expand All @@ -19,8 +19,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"@hyperledger-labs/weaver-protos-js": "~1.5.0",
"@hyperledger-labs/weaver-fabric-interop-sdk": "~1.5.0",
"@hyperledger-labs/weaver-protos-js": "1.6.0",
"@hyperledger-labs/weaver-fabric-interop-sdk": "1.6.0",
"@fidm/x509": "^1.2.1",
"@grpc/grpc-js": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^3.5.0",
Expand Down
4 changes: 2 additions & 2 deletions core/network/corda-interop-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ and then follow above 4 steps.
5) Add this to your build.gradle (change the version accordingly):
```
dependencies {
compile(group: 'com.weaver.corda.app.interop', name: 'interop-contracts', version: "1.2.1")
compile(group: 'com.weaver.corda.app.interop', name: 'interop-workflows', version: "1.2.1")
compile(group: 'com.weaver.corda.app.interop', name: 'interop-contracts', version: "1.6.0")
compile(group: 'com.weaver.corda.app.interop', name: 'interop-workflows', version: "1.6.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion core/network/corda-interop-app/constants.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ slf4jVersion=1.7.25
nettyVersion=4.1.22.Final
arrowVersion=0.10.4

weaverVersion=1.5.7
weaverVersion=1.6.0
2 changes: 1 addition & 1 deletion core/network/corda-interop-app/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name=Interoperability CorDapp
group=com.weaver.corda.app.interop
version=1.2.14
version=1.6.0
kotlin.incremental=false
6 changes: 3 additions & 3 deletions core/network/fabric-interop-cc/contracts/interop/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.20
require (
github.com/ethereum/go-ethereum v1.13.15
github.com/golang/protobuf v1.5.4
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.5.11
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange v1.5.11
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange v1.6.0
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils v0.0.0-20240521164517-4cb6d4e59bfa
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils v1.5.11
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils v1.6.0
github.com/hyperledger/fabric-chaincode-go v0.0.0-20240425200701-0431f709af2c
github.com/hyperledger/fabric-contract-api-go v1.2.2
github.com/hyperledger/fabric-protos-go v0.3.3
Expand Down
6 changes: 6 additions & 0 deletions core/network/fabric-interop-cc/contracts/interop/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,9 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0 h1:6k9njgcIcWkNmrSeaN9SU1f7jzYu0+CMIMzHUHNWZow=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0/go.mod h1:HjNaNm5F7UDoLY4qsIwoAJ1tWEsmLK8yNcCjEQWyzXQ=
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange v1.6.0 h1:CRA16ciSV2dqogcxavqfl47OGggrzzcfgnM7I98cTuU=
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange v1.6.0/go.mod h1:Y02vQN1363iz6j1NXrT26+uMo4mM5Q0GTY7/YXQoslY=
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils v1.6.0 h1:Fd2IhI/8pVnhdE6cEJVataCPoCnv8PSHvJN+iIdhYt0=
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils v1.6.0/go.mod h1:vhscTYgVbY6vCRDxHymxcawyZFZhTo0QRvl5L8tgF8I=
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.11
1.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/golang/protobuf v1.5.4
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.5.11
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils v0.0.0-20240521164517-4cb6d4e59bfa
github.com/hyperledger/fabric-chaincode-go v0.0.0-20240425200701-0431f709af2c
github.com/hyperledger/fabric-contract-api-go v1.2.2
Expand Down
2 changes: 2 additions & 0 deletions core/network/fabric-interop-cc/interfaces/asset-mgmt/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,5 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0 h1:6k9njgcIcWkNmrSeaN9SU1f7jzYu0+CMIMzHUHNWZow=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0/go.mod h1:HjNaNm5F7UDoLY4qsIwoAJ1tWEsmLK8yNcCjEQWyzXQ=
2 changes: 1 addition & 1 deletion core/network/fabric-interop-cc/libs/assetexchange/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.11
1.6.0
2 changes: 1 addition & 1 deletion core/network/fabric-interop-cc/libs/assetexchange/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/golang/protobuf v1.5.4
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.5.11
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0
github.com/hyperledger/fabric-contract-api-go v1.2.2
github.com/hyperledger/fabric-protos-go v0.3.3
github.com/sirupsen/logrus v1.9.3
Expand Down
2 changes: 2 additions & 0 deletions core/network/fabric-interop-cc/libs/assetexchange/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,5 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0 h1:6k9njgcIcWkNmrSeaN9SU1f7jzYu0+CMIMzHUHNWZow=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0/go.mod h1:HjNaNm5F7UDoLY4qsIwoAJ1tWEsmLK8yNcCjEQWyzXQ=
2 changes: 1 addition & 1 deletion core/network/fabric-interop-cc/libs/utils/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.11
1.6.0
2 changes: 1 addition & 1 deletion core/network/fabric-interop-cc/libs/utils/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/golang/protobuf v1.5.4
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.5.11
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0
github.com/hyperledger/fabric-chaincode-go v0.0.0-20240425200701-0431f709af2c
github.com/hyperledger/fabric-contract-api-go v1.2.2
github.com/hyperledger/fabric-protos-go v0.3.3
Expand Down
2 changes: 2 additions & 0 deletions core/network/fabric-interop-cc/libs/utils/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,5 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0 h1:6k9njgcIcWkNmrSeaN9SU1f7jzYu0+CMIMzHUHNWZow=
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0/go.mod h1:HjNaNm5F7UDoLY4qsIwoAJ1tWEsmLK8yNcCjEQWyzXQ=
2 changes: 1 addition & 1 deletion core/relay/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH_TO_CONFIG=<PATH-TO-CONFIGURATION-FILE>
RELAY_NAME=<"name" in config toml file>
RELAY_PORT=<relay-server-port/"port" in config toml file>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-relay-server
DOCKER_TAG=1.4.2
DOCKER_TAG=1.6.0
EXTERNAL_NETWORK=<docker-bridge-network>
COMPOSE_PROJECT_NAME=<docker-compose-project-name>
COMPOSE_PROJECT_NETWORK=<docker-compose-project-network>
2 changes: 1 addition & 1 deletion core/relay/.env.template.2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RELAY_PORT=<relay-grpc-server-port>
DB_OPEN_MAX_RETRIES=<max-retries-for-opening-db-when-locked>
DB_OPEN_RETRY_BACKOFF_MSEC=<retry-backoff-time-for-opening-db-when-locked>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-relay-server
DOCKER_TAG=1.4.2
DOCKER_TAG=1.6.0
EXTERNAL_NETWORK=<docker-bridge-network>
COMPOSE_PROJECT_NAME=<docker-compose-project-name>
COMPOSE_PROJECT_NETWORK=<docker-compose-project-network>
Expand Down
2 changes: 1 addition & 1 deletion core/relay/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.12
1.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ repositories {
}
}
dependencies {
implementation(group: 'com.weaver.corda.sdk', name: 'weaver-corda-sdk', version: "1.2.13")
implementation(group: 'com.weaver.corda.app.interop', name: 'interop-contracts', version: "1.2.13")
implementation(group: 'com.weaver.corda.app.interop', name: 'interop-workflows', version: "1.2.13")
implementation(group: 'com.weaver', name: 'protos-java-kt', version: "1.5.7")
implementation(group: 'com.weaver.corda.sdk', name: 'weaver-corda-sdk', version: "1.6.0")
implementation(group: 'com.weaver.corda.app.interop', name: 'interop-contracts', version: "1.6.0")
implementation(group: 'com.weaver.corda.app.interop', name: 'interop-workflows', version: "1.6.0")
implementation(group: 'com.weaver', name: 'protos-java-kt', version: "1.6.0")
}
```
(Or check out the [package website](https://github.com/hyperledger-labs/weaver-dlt-interoperability/packages/952245) and select a different version.)
Expand Down Expand Up @@ -438,7 +438,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d
EXTERNAL_NETWORK=<docker-bridge-network>
DOCKER_REGISTRY=ghcr.io/hyperledger-labs
DOCKER_IMAGE_NAME=weaver-relay
DOCKER_TAG=1.5.4
DOCKER_TAG=1.6.0
```
- The `PATH_TO_CONFIG` variable should point to the properties file typically named `config.toml` (you can name this whatever you wish). See further below for instructions to write this file.
- The `RELAY_NAME` variable specifies a unique name for this relay. It should match what's specified in the `config.toml` (more on that below).
Expand Down Expand Up @@ -528,7 +528,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d
DRIVER_RPC_PASSWORD=<driver-rpc-username>
EXTERNAL_NETWORK=<docker-bridge-network>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-corda-driver
DOCKER_TAG=1.2.13
DOCKER_TAG=1.6.0
RELAY_TLS=<true|false>
RELAY_TLSCA_TRUST_STORE=<truststore-jks-file-path>
RELAY_TLSCA_TRUST_STORE_PASSWORD=<truststore-jks-file-password>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ Below, we list the template functions with sample code that you, as a developer,
```go
require(
...
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.5.6
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange v1.5.3
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange v1.6.0
...
)
```
Expand Down Expand Up @@ -172,8 +172,8 @@ Below, we list the template functions with sample code that you, as a developer,
```go
require(
...
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.5.6
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt v1.5.3
github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go v1.6.0
github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt v1.6.0
...
)
```
Expand Down Expand Up @@ -322,7 +322,7 @@ Consider a scenario inspired by the [global trade use case](../../user-stories/g

(In preparation, a suitable access control policy must be recorded on `tradelogisticschannel` in `trade-logistics-network`, and a suitable verification policy must be recorded on `tradefinancechannel` in `trade-finance-network`. We will see how to do this in the "Startup and Boostrap" section later.)

You will need to insert some code in the Layer-2 application that accepts a B/L and submits a `RecordBillOfLading` transaction in `trade-finance-network`. (No code changes need to be made in any application in the other network.) The logic to accept a B/L should be replaced (or you can simply add an alternative) by a call to the `interopFlow` function offered by the [weaver-fabric-interop-sdk](https://github.com/hyperledger-labs/weaver-dlt-interoperability/packages/888424) library (there's an [equivalent library in Golang](https://github.com/hyperledger-labs/weaver-dlt-interoperability/releases/tag/sdks%2Ffabric%2Fgo-sdk%2Fv1.2.3-alpha.1) too). The following code sample illustrates this (the Golang equivalent is left to the reader):
You will need to insert some code in the Layer-2 application that accepts a B/L and submits a `RecordBillOfLading` transaction in `trade-finance-network`. (No code changes need to be made in any application in the other network.) The logic to accept a B/L should be replaced (or you can simply add an alternative) by a call to the `interopFlow` function offered by the [weaver-fabric-interop-sdk](https://github.com/hyperledger-labs/weaver-dlt-interoperability/packages/888424) library (there's an [equivalent library in Golang](https://github.com/hyperledger-labs/weaver-dlt-interoperability/releases/tag/sdks%2Ffabric%2Fgo-sdk%2Fv1.6.0) too). The following code sample illustrates this (the Golang equivalent is left to the reader):
```js showLineNumbers
const ihelper = require('@hyperledger-labs/weaver-fabric-interop-sdk').InteroperableHelper;
const interopcc = <handle-to-fabric-interop-chaincode>; // Use Fabric SDK functions: (new Gateway()).getNetwork(...).getContract(<fabric-interop-chaincode-id>)
Expand Down Expand Up @@ -529,7 +529,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d
EXTERNAL_NETWORK=<docker-bridge-network>
DOCKER_REGISTRY=ghcr.io/hyperledger-labs
DOCKER_IMAGE_NAME=weaver-relay
DOCKER_TAG=1.5.4
DOCKER_TAG=1.6.0
```
- The `PATH_TO_CONFIG` variable should point to the properties file typically named `config.toml` (you can name this whatever you wish). See further below for instructions to write this file.
- The `RELAY_NAME` variable specifies a unique name for this relay. It should match what's specified in the `config.toml` (more on that below).
Expand Down Expand Up @@ -622,7 +622,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d
EXTERNAL_NETWORK=<docker-bridge-network>
TLS_CREDENTIALS_DIR=<dir-with-tls-cert-and-key>
DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-fabric-driver
DOCKER_TAG=1.5.6
DOCKER_TAG=1.6.0
DRIVER_TLS=<true|false>
DRIVER_TLS_CERT_PATH=path_to_tls_cert_pem_for_driver
DRIVER_TLS_KEY_PATH=path_to_tls_key_pem_for_driver
Expand Down
14 changes: 12 additions & 2 deletions go-gen-checksum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@
ROOT_DIR='.'

# Repo full go path
# REPO='github.com/hyperledger/cacti'
REPO='github.com/hyperledger-labs/weaver-dlt-interoperability'

VERSION=$1

GOMODULE_PATHS=("core/network/fabric-interop-cc/libs/utils"
"core/network/fabric-interop-cc/libs/assetexchange"
"core/network/fabric-interop-cc/interfaces/asset-mgmt"
"core/network/fabric-interop-cc/contracts/interop")
"core/network/fabric-interop-cc/contracts/interop"
"sdks/fabric/go-sdk"
"samples/fabric/go-cli"
"samples/fabric/simpleasset"
"samples/fabric/simpleassetandinterop"
"samples/fabric/simpleassettransfer"
"samples/fabric/simplestatewithacl"
"samples/fabric/simplestate")

for GOMODULE in ${GOMODULE_PATHS[@]}; do
echo "############# START $GOMODULE ################"
Expand All @@ -34,6 +41,9 @@ for GOMODULE in ${GOMODULE_PATHS[@]}; do
echo "------------ END --------------"
continue
fi

(cat VERSION | grep "$VERSION") || echo $VERSION > VERSION

GOMOD_VERSION=v$(cat VERSION)
GOMOD_SUM=$(go-checksum . $GOMOD_NAME@$GOMOD_VERSION | grep "GoCheckSum" | cut -d ' ' -f 2 | cut -d '"' -f 2)
GOMOD_DOTMOD_SUM=$(go-checksum go.mod | grep "GoCheckSum" | cut -d ' ' -f 2 | cut -d '"' -f 2)
Expand Down
4 changes: 2 additions & 2 deletions samples/besu/besu-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
],
"license": "MIT",
"dependencies": {
"@hyperledger-labs/weaver-besu-interop-sdk": "~1.0.0",
"@hyperledger-labs/weaver-protos-js": "~1.5.0",
"@hyperledger-labs/weaver-besu-interop-sdk": "1.6.0",
"@hyperledger-labs/weaver-protos-js": "1.6.0",
"@truffle/contract": "^4.2.14",
"gluegun": "latest",
"winston": "^3.3.3"
Expand Down
Loading

0 comments on commit 1e30a5d

Please sign in to comment.