From 802e478a1f90b41b7f48a989cc586e0ce2221ca2 Mon Sep 17 00:00:00 2001 From: Sandeep Nishad Date: Wed, 5 Jun 2024 14:24:51 +0530 Subject: [PATCH] chore: upgrade docs to reflect 1.6.0 package version Signed-off-by: Sandeep Nishad --- core/drivers/fabric-driver/.env.docker.template | 2 +- .../iin-agent/.env.docker.template | 2 +- core/network/corda-interop-app/README.md | 4 ++-- core/relay/.env.template | 2 +- core/relay/.env.template.2 | 2 +- .../enabling-weaver-network/corda.md | 12 ++++++------ .../enabling-weaver-network/fabric.md | 14 +++++++------- sdks/corda/README.md | 8 ++++---- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/core/drivers/fabric-driver/.env.docker.template b/core/drivers/fabric-driver/.env.docker.template index 89421845f..43276544c 100644 --- a/core/drivers/fabric-driver/.env.docker.template +++ b/core/drivers/fabric-driver/.env.docker.template @@ -17,7 +17,7 @@ LEVELDB_LOCKED_RETRY_BACKOFF_MSEC= ENABLE_MONITOR= MONITOR_SYNC_PERIOD= DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-fabric-driver -DOCKER_TAG=1.4.0 +DOCKER_TAG=1.6.0 EXTERNAL_NETWORK= COMPOSE_PROJECT_NAME= COMPOSE_PROJECT_NETWORK= diff --git a/core/identity-management/iin-agent/.env.docker.template b/core/identity-management/iin-agent/.env.docker.template index eca631fb4..47fbe55f0 100644 --- a/core/identity-management/iin-agent/.env.docker.template +++ b/core/identity-management/iin-agent/.env.docker.template @@ -13,7 +13,7 @@ SYNC_PERIOD= AUTO_SYNC= TLS_CREDENTIALS_DIR= DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-iin-agent -DOCKER_TAG=1.5.2 +DOCKER_TAG=1.6.0 EXTERNAL_NETWORK= COMPOSE_PROJECT_NAME= COMPOSE_PROJECT_NETWORK= diff --git a/core/network/corda-interop-app/README.md b/core/network/corda-interop-app/README.md index f531d48bb..1ca709bba 100644 --- a/core/network/corda-interop-app/README.md +++ b/core/network/corda-interop-app/README.md @@ -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") } ``` diff --git a/core/relay/.env.template b/core/relay/.env.template index cb1da1cf9..9acbb4839 100644 --- a/core/relay/.env.template +++ b/core/relay/.env.template @@ -2,7 +2,7 @@ PATH_TO_CONFIG= RELAY_NAME=<"name" in config toml file> RELAY_PORT= DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-relay-server -DOCKER_TAG=1.4.2 +DOCKER_TAG=1.6.0 EXTERNAL_NETWORK= COMPOSE_PROJECT_NAME= COMPOSE_PROJECT_NETWORK= \ No newline at end of file diff --git a/core/relay/.env.template.2 b/core/relay/.env.template.2 index b74e7c748..5031be151 100644 --- a/core/relay/.env.template.2 +++ b/core/relay/.env.template.2 @@ -9,7 +9,7 @@ RELAY_PORT= DB_OPEN_MAX_RETRIES= DB_OPEN_RETRY_BACKOFF_MSEC= DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-relay-server -DOCKER_TAG=1.4.2 +DOCKER_TAG=1.6.0 EXTERNAL_NETWORK= COMPOSE_PROJECT_NAME= COMPOSE_PROJECT_NETWORK= diff --git a/docs/docs/external/getting-started/enabling-weaver-network/corda.md b/docs/docs/external/getting-started/enabling-weaver-network/corda.md index e37263a07..13f75c9ec 100644 --- a/docs/docs/external/getting-started/enabling-weaver-network/corda.md +++ b/docs/docs/external/getting-started/enabling-weaver-network/corda.md @@ -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.) @@ -438,7 +438,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d EXTERNAL_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). @@ -528,7 +528,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d DRIVER_RPC_PASSWORD= EXTERNAL_NETWORK= DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-corda-driver - DOCKER_TAG=1.2.13 + DOCKER_TAG=1.6.0 RELAY_TLS= RELAY_TLSCA_TRUST_STORE= RELAY_TLSCA_TRUST_STORE_PASSWORD= diff --git a/docs/docs/external/getting-started/enabling-weaver-network/fabric.md b/docs/docs/external/getting-started/enabling-weaver-network/fabric.md index cc0da0fce..e6de1b953 100644 --- a/docs/docs/external/getting-started/enabling-weaver-network/fabric.md +++ b/docs/docs/external/getting-started/enabling-weaver-network/fabric.md @@ -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 ... ) ``` @@ -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 ... ) ``` @@ -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 = ; // Use Fabric SDK functions: (new Gateway()).getNetwork(...).getContract() @@ -529,7 +529,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d EXTERNAL_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). @@ -622,7 +622,7 @@ Weaver provides a [pre-built image](https://github.com/hyperledger-labs/weaver-d EXTERNAL_NETWORK= TLS_CREDENTIALS_DIR= DOCKER_IMAGE_NAME=ghcr.io/hyperledger-labs/weaver-fabric-driver - DOCKER_TAG=1.5.6 + DOCKER_TAG=1.6.0 DRIVER_TLS= DRIVER_TLS_CERT_PATH=path_to_tls_cert_pem_for_driver DRIVER_TLS_KEY_PATH=path_to_tls_key_pem_for_driver diff --git a/sdks/corda/README.md b/sdks/corda/README.md index 06449fbe0..5756c83c1 100644 --- a/sdks/corda/README.md +++ b/sdks/corda/README.md @@ -64,10 +64,10 @@ repositories { } } dependencies { - implementation(group: 'com.weaver.corda.sdk', name: 'weaver-corda-sdk', version: "1.2.3") - implementation(group: 'com.weaver.corda.app.interop', name: 'interop-contracts', version: "1.2.3") - implementation(group: 'com.weaver.corda.app.interop', name: 'interop-workflows', version: "1.2.3") - implementation(group: 'com.weaver', name: 'protos-java-kt', version: "1.2.3") + 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") } ```