Skip to content

Commit

Permalink
chore: upgrade docs to reflect 1.6.0 package version
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 ca5aab5 commit 802e478
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
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/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>
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/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
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
8 changes: 4 additions & 4 deletions sdks/corda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand Down

0 comments on commit 802e478

Please sign in to comment.