diff --git a/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md b/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md index 3823f1a9..491ed008 100644 --- a/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md +++ b/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md @@ -4,12 +4,11 @@ This tutorial describes how to use ScalarDB Cluster GraphQL. ## Prerequisites -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). ## Sample application @@ -101,11 +100,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](https://github.com/scalar-labs/scalardb/blob/master/docs/schema-loader.md) except the name of the JAR file is different. -You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.10.1). +You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.10.2). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-schema-loader-3.10.1-all.jar --config database.properties -f schema.json --coordinator +$ java -jar scalardb-cluster-schema-loader-3.10.2-all.jar --config database.properties -f schema.json --coordinator ``` ## Step 4. Run operations from GraphiQL diff --git a/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md b/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md index 5f952021..a4e99bc6 100644 --- a/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md +++ b/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md @@ -8,12 +8,11 @@ You'll be using the same sample application as found in the [ScalarDB SQL (JDBC) - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). You also need to set the `gpr.user` property to your GitHub username and the `gpr.key` property to your personal access token. To do so, you must either add these properties in `~/.gradle/gradle.properties` or specify the properties by using the `-P` option when running the `./gradlew` command as follows: @@ -90,13 +89,13 @@ repositories { } ``` -Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.10.1` from the `dependencies` section, and add the following dependency to the `dependencies` section: +Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.10.2` from the `dependencies` section, and add the following dependency to the `dependencies` section: ```gradle dependencies { ... - implementation 'com.scalar-labs:scalardb-cluster-client:3.10.1' + implementation 'com.scalar-labs:scalardb-cluster-client:3.10.2' } ``` @@ -134,11 +133,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster SQL, you need to use the dedicated SQL CLI for ScalarDB Cluster (SQL CLI for Cluster). Using the SQL CLI for Cluster is basically the same as using the [ScalarDB SQL Command Line Interface](https://github.com/scalar-labs/scalardb-sql/blob/main/docs/command-line-interface.md) except the name of the JAR file is different. -You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.10.1). +You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.10.2). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command: ```shell -$ java -jar scalardb-cluster-sql-cli-3.10.1-all.jar --config scalardb-sql.properties --file schema.sql +$ java -jar scalardb-cluster-sql-cli-3.10.2-all.jar --config scalardb-sql.properties --file schema.sql ``` ## Step 5. Load the initial data diff --git a/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md b/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md index fb8834b9..99cefd0c 100644 --- a/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md +++ b/docs/3.10/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md @@ -8,12 +8,11 @@ You'll be using the same sample application as found in the [Sample application - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). You also need to set the `gpr.user` property to your GitHub username and the `gpr.key` property to your personal access token. To do so, you must either add these properties in `~/.gradle/gradle.properties` or specify the properties by using the `-P` option when running the `./gradlew` command as follows: @@ -90,13 +89,13 @@ repositories { } ``` -Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.10.1` from the `dependencies` section, and add the following dependency to the `dependencies` section: +Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.10.2` from the `dependencies` section, and add the following dependency to the `dependencies` section: ```gradle dependencies { ... - implementation 'com.scalar-labs:scalardb-cluster-client:3.10.1' + implementation 'com.scalar-labs:scalardb-cluster-client:3.10.2' } ``` @@ -134,11 +133,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster SQL, you need to use the dedicated SQL CLI for ScalarDB Cluster (SQL CLI for Cluster). Using the SQL CLI for Cluster is basically the same as using the [ScalarDB SQL Command Line Interface](https://github.com/scalar-labs/scalardb-sql/blob/main/docs/command-line-interface.md) except the name of the JAR file is different. -You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.10.1). +You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.10.2). After downloading the JAR file, you can run SQL CLI for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-sql-cli-3.10.1-all.jar --config scalardb-sql.properties --file schema.sql +$ java -jar scalardb-cluster-sql-cli-3.10.2-all.jar --config scalardb-sql.properties --file schema.sql ``` ## Step 5. Modify `application.properties` diff --git a/docs/3.10/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md b/docs/3.10/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md index 22b76dc0..72dd697c 100644 --- a/docs/3.10/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md +++ b/docs/3.10/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md @@ -7,12 +7,11 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Go: any one of the three latest major releases -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). ## Sample application @@ -71,7 +70,7 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](https://github.com/scalar-labs/scalardb/blob/master/docs/schema-loader.md) except the name of the JAR file is different. You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-schema-loader-3.10.1-all.jar --config database.properties -f schema.json --coordinator +$ java -jar scalardb-cluster-schema-loader-3.10.2-all.jar --config database.properties -f schema.json --coordinator ``` ## Step 4. Set up a Go environment @@ -92,7 +91,7 @@ First, in a new working directory, create a directory named `scalardb-cluster`, $ mkdir scalardb-cluster ``` -Then, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.10.1/rpc/src/main/proto/scalardb-cluster.proto) file and save it in the directory that you created. +Then, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.10.2/rpc/src/main/proto/scalardb-cluster.proto) file and save it in the directory that you created. Generate the gRPC code by running the following command: @@ -110,7 +109,6 @@ After running the command, you should see two files in the `scalardb-cluster` su The following is the program that uses the gRPC code. Save it as `main.go` in the working directory. This program does the same thing as the `ElectronicMoney.java` program in [Getting Started with ScalarDB](https://scalardb.scalar-labs.com/docs/latest/getting-started-with-scalardb/). Note that you have to update the value of `SERVER_ADDRESS` based on the `EXTERNAL-IP` value of the ScalarDB Cluster `LoadBalancer` service in your environment. -{% raw %} ```go package main @@ -360,7 +358,6 @@ func printUsageAndExit() { os.Exit(1) } ``` -{% endraw %} After creating the `main.go` file, you need to create the `go.mod` file by running the following commands: diff --git a/docs/3.10/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md b/docs/3.10/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md index 36337f18..42557c12 100644 --- a/docs/3.10/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md +++ b/docs/3.10/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md @@ -7,12 +7,11 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Python 3.7 or later -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). ## Sample application @@ -71,7 +70,7 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](https://github.com/scalar-labs/scalardb/blob/master/docs/schema-loader.md) except the name of the JAR file is different. You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-schema-loader-3.10.1-all.jar --config database.properties -f schema.json --coordinator +$ java -jar scalardb-cluster-schema-loader-3.10.2-all.jar --config database.properties -f schema.json --coordinator ``` ## Step 4. Set up a Python environment @@ -95,7 +94,7 @@ $ pip install grpcio grpcio-tools To communicate with the gRPC server for ScalarDB Cluster, you will need to generate the stub code from the proto file. -First, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.10.1/rpc/src/main/proto/scalardb-cluster.proto) file, then save it in the working directory. +First, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.10.2/rpc/src/main/proto/scalardb-cluster.proto) file, then save it in the working directory. You can generate the stub code by running the following command: diff --git a/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md b/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md index d08b6a07..b97a0b54 100644 --- a/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md +++ b/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md @@ -4,8 +4,7 @@ This tutorial describes how to use ScalarDB Cluster GraphQL. ## Prerequisites -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. diff --git a/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md b/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md index b2019add..96d71210 100644 --- a/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md +++ b/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md @@ -8,8 +8,7 @@ You'll be using the same sample application as found in the [ScalarDB SQL (JDBC) - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. diff --git a/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md b/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md index 4b2874a4..c5a58849 100644 --- a/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md +++ b/docs/3.11/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md @@ -8,8 +8,7 @@ You'll be using the same sample application as found in the [Sample application - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. diff --git a/docs/3.11/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md b/docs/3.11/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md index 650bb3c9..b69bea99 100644 --- a/docs/3.11/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md +++ b/docs/3.11/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md @@ -7,8 +7,7 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Go: any one of the three latest major releases -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. diff --git a/docs/3.11/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md b/docs/3.11/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md index 832b9b7f..f030cd76 100644 --- a/docs/3.11/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md +++ b/docs/3.11/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md @@ -7,8 +7,7 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Python 3.7 or later -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. diff --git a/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md b/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md index 051a5664..09e6482b 100644 --- a/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md +++ b/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md @@ -4,12 +4,11 @@ This tutorial describes how to use ScalarDB Cluster GraphQL. ## Prerequisites -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). ## Sample application @@ -101,11 +100,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](https://github.com/scalar-labs/scalardb/blob/master/docs/schema-loader.md) except the name of the JAR file is different. -You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.9.2). +You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.9.3). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-schema-loader-3.9.2-all.jar --config database.properties -f schema.json --coordinator +$ java -jar scalardb-cluster-schema-loader-3.9.3-all.jar --config database.properties -f schema.json --coordinator ``` ## Step 4. Run operations from GraphiQL diff --git a/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md b/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md index 0d9b7c1e..d0a6d75a 100644 --- a/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md +++ b/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md @@ -8,12 +8,11 @@ You'll be using the same sample application as found in the [ScalarDB SQL (JDBC) - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). You also need to set the `gpr.user` property to your GitHub username and the `gpr.key` property to your personal access token. To do so, you must either add these properties in `~/.gradle/gradle.properties` or specify the properties by using the `-P` option when running the `./gradlew` command as follows: @@ -90,13 +89,13 @@ repositories { } ``` -Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.9.2` from the `dependencies` section, and add the following dependency to the `dependencies` section: +Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.9.3` from the `dependencies` section, and add the following dependency to the `dependencies` section: ```gradle dependencies { ... - implementation 'com.scalar-labs:scalardb-cluster-client:3.9.2' + implementation 'com.scalar-labs:scalardb-cluster-client:3.9.3' } ``` @@ -134,11 +133,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster SQL, you need to use the dedicated SQL CLI for ScalarDB Cluster (SQL CLI for Cluster). Using the SQL CLI for Cluster is basically the same as using the [ScalarDB SQL Command Line Interface](https://github.com/scalar-labs/scalardb-sql/blob/main/docs/command-line-interface.md) except the name of the JAR file is different. -You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.9.2). +You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.9.3). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command: ```shell -$ java -jar scalardb-cluster-sql-cli-3.9.2-all.jar --config scalardb-sql.properties --file schema.sql +$ java -jar scalardb-cluster-sql-cli-3.9.3-all.jar --config scalardb-sql.properties --file schema.sql ``` ## Step 5. Load the initial data diff --git a/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md b/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md index 00972afb..53cb6dd9 100644 --- a/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md +++ b/docs/3.9/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md @@ -8,12 +8,11 @@ You'll be using the same sample application as found in the [Sample application - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). You also need to set the `gpr.user` property to your GitHub username and the `gpr.key` property to your personal access token. To do so, you must either add these properties in `~/.gradle/gradle.properties` or specify the properties by using the `-P` option when running the `./gradlew` command as follows: @@ -90,13 +89,13 @@ repositories { } ``` -Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.9.2` from the `dependencies` section, and add the following dependency to the `dependencies` section: +Then, delete the existing dependency for `com.scalar-labs:scalardb-sql-direct-mode:3.9.3` from the `dependencies` section, and add the following dependency to the `dependencies` section: ```gradle dependencies { ... - implementation 'com.scalar-labs:scalardb-cluster-client:3.9.2' + implementation 'com.scalar-labs:scalardb-cluster-client:3.9.3' } ``` @@ -134,11 +133,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster SQL, you need to use the dedicated SQL CLI for ScalarDB Cluster (SQL CLI for Cluster). Using the SQL CLI for Cluster is basically the same as using the [ScalarDB SQL Command Line Interface](https://github.com/scalar-labs/scalardb-sql/blob/main/docs/command-line-interface.md) except the name of the JAR file is different. -You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.9.2). +You can download the SQL CLI for Cluster from [Releases](https://github.com/scalar-labs/scalardb-cluster/releases/tag/v3.9.3). After downloading the JAR file, you can run SQL CLI for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-sql-cli-3.9.2-all.jar --config scalardb-sql.properties --file schema.sql +$ java -jar scalardb-cluster-sql-cli-3.9.3-all.jar --config scalardb-sql.properties --file schema.sql ``` ## Step 5. Modify `application.properties` diff --git a/docs/3.9/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md b/docs/3.9/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md index 90764ddd..a04522a5 100644 --- a/docs/3.9/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md +++ b/docs/3.9/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md @@ -7,12 +7,11 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Go: any one of the three latest major releases -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). ## Sample application @@ -71,7 +70,7 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](https://github.com/scalar-labs/scalardb/blob/master/docs/schema-loader.md) except the name of the JAR file is different. You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-schema-loader-3.9.2-all.jar --config database.properties -f schema.json --coordinator +$ java -jar scalardb-cluster-schema-loader-3.9.3-all.jar --config database.properties -f schema.json --coordinator ``` ## Step 4. Set up a Go environment @@ -92,7 +91,7 @@ First, in a new working directory, create a directory named `scalardb-cluster`, $ mkdir scalardb-cluster ``` -Then, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.9.2/rpc/src/main/proto/scalardb-cluster.proto) file and save it in the directory that you created. +Then, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.9.3/rpc/src/main/proto/scalardb-cluster.proto) file and save it in the directory that you created. Generate the gRPC code by running the following command: @@ -110,7 +109,6 @@ After running the command, you should see two files in the `scalardb-cluster` su The following is the program that uses the gRPC code. Save it as `main.go` in the working directory. This program does the same thing as the `ElectronicMoney.java` program in [Getting Started with ScalarDB](https://scalardb.scalar-labs.com/docs/latest/getting-started-with-scalardb/). Note that you have to update the value of `SERVER_ADDRESS` based on the `EXTERNAL-IP` value of the ScalarDB Cluster `LoadBalancer` service in your environment. -{% raw %} ```go package main @@ -360,7 +358,6 @@ func printUsageAndExit() { os.Exit(1) } ``` -{% endraw %} After creating the `main.go` file, you need to create the `go.mod` file by running the following commands: diff --git a/docs/3.9/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md b/docs/3.9/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md index c1c3198f..1f3c4ec1 100644 --- a/docs/3.9/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md +++ b/docs/3.9/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md @@ -7,12 +7,11 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Python 3.7 or later -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. -To get a license and permission, please [contact us](https://www.scalar-labs.com/contact/). +To get a license and permission, please [contact us](https://scalar-labs.com/contact_us/). ## Sample application @@ -71,7 +70,7 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](https://github.com/scalar-labs/scalardb/blob/master/docs/schema-loader.md) except the name of the JAR file is different. You can download the Schema Loader for Cluster at [Releases](https://github.com/scalar-labs/scalardb-cluster/releases). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command: ```shell -$ java -jar scalardb-cluster-schema-loader-3.9.2-all.jar --config database.properties -f schema.json --coordinator +$ java -jar scalardb-cluster-schema-loader-3.9.3-all.jar --config database.properties -f schema.json --coordinator ``` ## Step 4. Set up a Python environment @@ -95,7 +94,7 @@ $ pip install grpcio grpcio-tools To communicate with the gRPC server for ScalarDB Cluster, you will need to generate the stub code from the proto file. -First, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.9.2/rpc/src/main/proto/scalardb-cluster.proto) file, then save it in the working directory. +First, download the [`scalardb-cluster.proto`](https://github.com/scalar-labs/scalardb-cluster/blob/v3.9.3/rpc/src/main/proto/scalardb-cluster.proto) file, then save it in the working directory. You can generate the stub code by running the following command: diff --git a/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md b/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md index d08b6a07..b97a0b54 100644 --- a/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md +++ b/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-graphql.md @@ -4,8 +4,7 @@ This tutorial describes how to use ScalarDB Cluster GraphQL. ## Prerequisites -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. diff --git a/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md b/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md index b2019add..96d71210 100644 --- a/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md +++ b/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-jdbc.md @@ -8,8 +8,7 @@ You'll be using the same sample application as found in the [ScalarDB SQL (JDBC) - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. diff --git a/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md b/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md index 4b2874a4..c5a58849 100644 --- a/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md +++ b/docs/latest/scalardb-cluster/getting-started-with-scalardb-cluster-sql-spring-data-jdbc.md @@ -8,8 +8,7 @@ You'll be using the same sample application as found in the [Sample application - Java (OpenJDK 8 or higher) - Gradle -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster), [packages in the ScalarDB Cluster repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-cluster), and [packages in the ScalarDB SQL repository](https://github.com/orgs/scalar-labs/packages?repo_name=scalardb-sql). These repositories are available only to users with a commercial license and permission. diff --git a/docs/latest/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md b/docs/latest/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md index 650bb3c9..b69bea99 100644 --- a/docs/latest/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md +++ b/docs/latest/scalardb-cluster/getting-started-with-using-go-for-scalardb-cluster.md @@ -7,8 +7,7 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Go: any one of the three latest major releases -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission. diff --git a/docs/latest/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md b/docs/latest/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md index 832b9b7f..f030cd76 100644 --- a/docs/latest/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md +++ b/docs/latest/scalardb-cluster/getting-started-with-using-python-for-scalardb-cluster.md @@ -7,8 +7,7 @@ This document explains how to write gRPC client code for ScalarDB Cluster by usi - ScalarDB Cluster 3.9.0 or later - Python 3.7 or later -In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster. -If you don't have ScalarDB Cluster set up, please follow the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). +In this tutorial, we assume that you have a ScalarDB Cluster running on a Kubernetes cluster that you deployed by following the instructions in [Set Up ScalarDB Cluster on Kubernetes by Using a Helm Chart](setup-scalardb-cluster-on-kubernetes-by-using-helm-chart.md). In addition, you need access to the [ScalarDB Cluster GitHub repository](https://github.com/scalar-labs/scalardb-cluster). This repository is available only to users with a commercial license and permission.