diff --git a/examples/aws-lambda-dynamodb-trigger/aws-lambda-dynamodb-trigger.md b/examples/aws-lambda-dynamodb-trigger/aws-lambda-dynamodb-trigger.md index 5476a0687e..907c94682b 100644 --- a/examples/aws-lambda-dynamodb-trigger/aws-lambda-dynamodb-trigger.md +++ b/examples/aws-lambda-dynamodb-trigger/aws-lambda-dynamodb-trigger.md @@ -2,11 +2,11 @@ This example creates a function, which will be executed for each entry added to a database in the [DynamoDB](https://aws.amazon.com/dynamodb/). -For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/). +For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/aws-lambda/). ## Set up the prerequisites -For instructions, see [Set up the prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/#set-up-the-prerequisites). +For instructions, see [Set up the prerequisites](https://ballerina.io/learn/aws-lambda/#set-up-the-prerequisites). ## Write the function diff --git a/examples/aws-lambda-execution-context/aws-lambda-execution-context.md b/examples/aws-lambda-execution-context/aws-lambda-execution-context.md index 4e0ae30cbf..987ef42aac 100644 --- a/examples/aws-lambda-execution-context/aws-lambda-execution-context.md +++ b/examples/aws-lambda-execution-context/aws-lambda-execution-context.md @@ -2,11 +2,11 @@ The example below demonstrates how the execution context information of an AWS function can be retrieved. -For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/). +For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/aws-lambda/). ## Set up the prerequisites -For instructions, see [Set up the prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/#set-up-the-prerequisites). +For instructions, see [Set up the prerequisites](https://ballerina.io/learn/aws-lambda/#set-up-the-prerequisites). ## Write the function diff --git a/examples/aws-lambda-hello-world/aws-lambda-hello-world.md b/examples/aws-lambda-hello-world/aws-lambda-hello-world.md index c20fd64db5..2ce419737b 100644 --- a/examples/aws-lambda-hello-world/aws-lambda-hello-world.md +++ b/examples/aws-lambda-hello-world/aws-lambda-hello-world.md @@ -2,11 +2,11 @@ This example demonstrates how to write a simple echo function in AWS Lambda. -For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/). +For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/aws-lambda/). ## Set up the prerequisites -For instructions, see [Set up the prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/#set-up-the-prerequisites). +For instructions, see [Set up the prerequisites](https://ballerina.io/learn/aws-lambda/#set-up-the-prerequisites). ## Write the function diff --git a/examples/aws-lambda-s3-trigger/aws-lambda-s3-trigger.md b/examples/aws-lambda-s3-trigger/aws-lambda-s3-trigger.md index af78124bc2..bbb5194bd2 100644 --- a/examples/aws-lambda-s3-trigger/aws-lambda-s3-trigger.md +++ b/examples/aws-lambda-s3-trigger/aws-lambda-s3-trigger.md @@ -2,11 +2,11 @@ This example creates a function, which will be executed for each object creation in AWS S3. -For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/). +For more information, see the [AWS Lambda learn guide](https://ballerina.io/learn/aws-lambda/). ## Set up the prerequisites -For instructions, see [Set up the prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/aws-lambda/#set-up-the-prerequisites). +For instructions, see [Set up the prerequisites](https://ballerina.io/learn/aws-lambda/#set-up-the-prerequisites). ## Write the function diff --git a/examples/azure-functions-cosmosdb-trigger/azure-functions-cosmosdb-trigger.md b/examples/azure-functions-cosmosdb-trigger/azure-functions-cosmosdb-trigger.md index 391acddc63..40a531dbef 100644 --- a/examples/azure-functions-cosmosdb-trigger/azure-functions-cosmosdb-trigger.md +++ b/examples/azure-functions-cosmosdb-trigger/azure-functions-cosmosdb-trigger.md @@ -2,13 +2,13 @@ This example demonstrates using a Cosmos DB trigger to invoke an Azure function and a queue output binding to write an entry to a queue. -For more information, see the [Azure Functions deployment guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/). +For more information, see the [Azure Functions deployment guide](https://ballerina.io/learn/azure-functions/). ## Set up the prerequisites Follow the steps below to create a Cosmos DB and a queue to make use of those services later in this example. -1. Set up the [general prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/#set-up-the-prerequisites). +1. Set up the [general prerequisites](https://ballerina.io/learn/azure-functions/#set-up-the-prerequisites). 2. Create the queue in the [HTTP trigger](/learn/by-example/azure-functions/http-trigger/) example to resue it in this one. 3. In the [**Azure Cosmos DB** service of the Azure Portal](https://portal.azure.com/#create/Microsoft.DocumentDB), click **Create**, and select **Azure Cosmos DB for NoSQL**. 4. Enter an account name and a resource group name, and click **Review + Create**, and then, click **Create**. diff --git a/examples/azure-functions-hello-world/azure-functions-hello-world.md b/examples/azure-functions-hello-world/azure-functions-hello-world.md index 4c170509e5..7a5f179acb 100644 --- a/examples/azure-functions-hello-world/azure-functions-hello-world.md +++ b/examples/azure-functions-hello-world/azure-functions-hello-world.md @@ -8,11 +8,11 @@ Output bindings are defined in the return type definition. For services with the In the code sample shown above, it has an empty service path and resource path named `hello`. The accessor is `get`. It expects a request with a query parameter for the field name. The required artifact generation and data binding will be handled by the `ballerinax/azure_functions` package automatically. -For more information, see the [Azure deployment guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/). +For more information, see the [Azure deployment guide](https://ballerina.io/learn/azure-functions/). ## Set up the prerequisites -For instructions, see [Set up the prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/#set-up-the-prerequisites). +For instructions, see [Set up the prerequisites](https://ballerina.io/learn/azure-functions/#set-up-the-prerequisites). ## Write the function diff --git a/examples/azure-functions-http-trigger-with-queue/azure-functions-http-trigger-with-queue.md b/examples/azure-functions-http-trigger-with-queue/azure-functions-http-trigger-with-queue.md index d1f31cc35d..e4d54b4450 100644 --- a/examples/azure-functions-http-trigger-with-queue/azure-functions-http-trigger-with-queue.md +++ b/examples/azure-functions-http-trigger-with-queue/azure-functions-http-trigger-with-queue.md @@ -2,11 +2,11 @@ This example demonstrates using an HTTP trigger to invoke an Azure function with multiple output bindings to return the HTTP response and queue output binding to write an entry to a queue. -For more information, see the [Azure Functions deployment guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/). +For more information, see the [Azure Functions deployment guide](https://ballerina.io/learn/azure-functions/). ## Set up the prerequisites -1. Set up the [general prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/#set-up-the-prerequisites). +1. Set up the [general prerequisites](https://ballerina.io/learn/azure-functions/#set-up-the-prerequisites). 2. In the AWS Portal, click **Storage accounts** to create a queue to hold the outputs of the function. 2. From the list, click on the storage account entry that corresponds with your function app. 3. Click **Queues** in the sidebar, and click **+ Queue**. diff --git a/examples/azure-functions-timer-trigger/azure-functions-timer-trigger.md b/examples/azure-functions-timer-trigger/azure-functions-timer-trigger.md index b417c1314c..6cddd29af7 100644 --- a/examples/azure-functions-timer-trigger/azure-functions-timer-trigger.md +++ b/examples/azure-functions-timer-trigger/azure-functions-timer-trigger.md @@ -2,11 +2,11 @@ This example demonstrates how a function can be scheduled to execute periodically by the Azure Functions app. Once the function is executed, the timer details will be stored in the selected queue storage for every invocation. -For more information, see the [Azure deployment guide](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/). +For more information, see the [Azure deployment guide](https://ballerina.io/learn/azure-functions/). ## Set up the prerequisites -For instructions, see [Set up the prerequisites](https://ballerina.io/learn/run-in-the-cloud/function-as-a-service/azure-functions/#set-up-the-prerequisites). +For instructions, see [Set up the prerequisites](https://ballerina.io/learn/azure-functions/#set-up-the-prerequisites). ## Write the function diff --git a/examples/c2c-docker-deployment/c2c_docker_deployment.md b/examples/c2c-docker-deployment/c2c_docker_deployment.md index aa26d55d08..d2affc808c 100644 --- a/examples/c2c-docker-deployment/c2c_docker_deployment.md +++ b/examples/c2c-docker-deployment/c2c_docker_deployment.md @@ -1,7 +1,7 @@ # Docker Ballerina supports generating Docker artifacts from code without any additional configuration. This simplifies the experience of developing and deploying Ballerina code in the cloud. Code to Cloud builds the containers and required artifacts by deriving the required values from the code. If you want to override the default values taken by the compiler, you can use a `Cloud.toml` file. -For more information, see [Code to Cloud Deployment](/learn/run-in-the-cloud/code-to-cloud/code-to-cloud-deployment/). +For more information, see [Code to Cloud Deployment](/learn/code-to-cloud-deployment/). ::: code c2c_docker_deployment.bal ::: diff --git a/examples/c2c-k8s-deployment/c2c_k8s_deployment.md b/examples/c2c-k8s-deployment/c2c_k8s_deployment.md index e897513ead..9ac12bb57e 100644 --- a/examples/c2c-k8s-deployment/c2c_k8s_deployment.md +++ b/examples/c2c-k8s-deployment/c2c_k8s_deployment.md @@ -1,7 +1,7 @@ # Kubernetes Ballerina supports generating Kubernetes artifacts from code without any additional configuration. This simplifies the experience of developing and deploying Ballerina code in the cloud. Code to Cloud builds the containers and required artifacts by deriving the required values from the code. If you want to override the default values taken by the compiler, you can use a `Cloud.toml` file. -For more information, see [Code to Cloud Deployment](/learn/run-in-the-cloud/code-to-cloud/code-to-cloud-deployment/). +For more information, see [Code to Cloud Deployment](/learn/code-to-cloud-deployment/). ::: code c2c_k8s_deployment.bal ::: diff --git a/examples/configurable-variables/configurable_variables.md b/examples/configurable-variables/configurable_variables.md index 89a99e5713..2d43fd239a 100644 --- a/examples/configurable-variables/configurable_variables.md +++ b/examples/configurable-variables/configurable_variables.md @@ -2,7 +2,7 @@ A module-level variable can be declared as configurable. The initializer of a configurable variable can be overridden at runtime (e.g., by a TOML file). A variable for which a configuration is required can use an initializer of `?`. The type of a configurable variable must be a subtype of `anydata`. -For more information, see [Configure a sample Ballerina service](/learn/configure-ballerina-programs/configure-a-sample-ballerina-service/). +For more information, see [Configure a sample Ballerina service](/learn/configure-a-sample-ballerina-service/). ::: code configurable_variables.bal ::: diff --git a/examples/configuring-via-cli/configuring_via_cli.md b/examples/configuring-via-cli/configuring_via_cli.md index 3ba918800a..21c732f632 100644 --- a/examples/configuring-via-cli/configuring_via_cli.md +++ b/examples/configuring-via-cli/configuring_via_cli.md @@ -5,7 +5,7 @@ The values of the configurable variables can be configured through the command-l The command-line-based configuration is only supported for configurable variables of types `int`, `byte`, `float`, `boolean`, `string`, `decimal`, `enum`, and `xml`. The `-Ckey=value` syntax can be used to provide values through the command-line parameters. -For more information, see [Configure via command-line arguments](/learn/configure-ballerina-programs/provide-values-to-configurable-variables/#provide-via-command-line-arguments/). +For more information, see [Configure via command-line arguments](/learn/provide-values-to-configurable-variables/#provide-via-command-line-arguments/). ::: code configuring_via_cli.bal ::: diff --git a/examples/configuring-via-toml/configuring-via-toml.md b/examples/configuring-via-toml/configuring-via-toml.md index 79a25b9311..8d96d2ed29 100644 --- a/examples/configuring-via-toml/configuring-via-toml.md +++ b/examples/configuring-via-toml/configuring-via-toml.md @@ -6,7 +6,7 @@ The file location can be specified through an environment variable with the name An environment variable with the name `BAL_CONFIG_DATA` can be used to provide the configuration file content instead of a separate file. -For more information, see [Configure via TOML syntax](/learn/configure-ballerina-programs/provide-values-to-configurable-variables/#provide-via-toml-syntax/). +For more information, see [Configure via TOML syntax](/learn/provide-values-to-configurable-variables/#provide-via-toml-syntax/). ::: code configuring_via_toml.bal ::: diff --git a/examples/docker-hello-world/docker-hello-world.md b/examples/docker-hello-world/docker-hello-world.md index 8805068e08..94ff99fe52 100644 --- a/examples/docker-hello-world/docker-hello-world.md +++ b/examples/docker-hello-world/docker-hello-world.md @@ -1,7 +1,7 @@ # Docker - Hello world Ballerina supports generating Docker artifacts from code without any additional configuration. This simplifies the experience of developing and deploying Ballerina code in the cloud. Code to Cloud builds the containers and required artifacts by deriving the required values from the code. If you want to override the default values taken by the compiler, you can use a `Cloud.toml` file. -For more information, see [Code to Cloud Deployment](/learn/run-in-the-cloud/code-to-cloud-deployment/). +For more information, see [Code to Cloud Deployment](/learn/code-to-cloud-deployment/). ::: code docker-hello-world.bal ::: diff --git a/examples/grpc-client-bidirectional-streaming/grpc_bidirectional_streaming.md b/examples/grpc-client-bidirectional-streaming/grpc_bidirectional_streaming.md index 1d8a602e4c..7ad7620b0a 100644 --- a/examples/grpc-client-bidirectional-streaming/grpc_bidirectional_streaming.md +++ b/examples/grpc-client-bidirectional-streaming/grpc_bidirectional_streaming.md @@ -34,4 +34,4 @@ Once you run the command, the `grpc_bidirectional_streaming_pb.bal` file gets ge ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC client bidirectional streaming - Specification](/spec/grpc/#44-bidirectional-streaming-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) \ No newline at end of file +- [gRPC tool](/learn/grpc-tool/) \ No newline at end of file diff --git a/examples/grpc-client-client-streaming/grpc_client_streaming.md b/examples/grpc-client-client-streaming/grpc_client_streaming.md index 430e050b57..e89c182648 100644 --- a/examples/grpc-client-client-streaming/grpc_client_streaming.md +++ b/examples/grpc-client-client-streaming/grpc_client_streaming.md @@ -34,4 +34,4 @@ Once you run the command, the `grpc_client_streaming_pb.bal` file gets generated ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC client client-side streaming - Specification](/spec/grpc/#43-client-streaming-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) +- [gRPC tool](/learn/grpc-tool/) diff --git a/examples/grpc-client-server-streaming/grpc_server_streaming.md b/examples/grpc-client-server-streaming/grpc_server_streaming.md index befd47d949..619da71a49 100644 --- a/examples/grpc-client-server-streaming/grpc_server_streaming.md +++ b/examples/grpc-client-server-streaming/grpc_server_streaming.md @@ -34,4 +34,4 @@ Once you run the command, the `grpc_server_streaming_pb.bal` file gets generated ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC client server-side streaming - Specification](/spec/grpc/#42-server-streaming-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) +- [gRPC tool](/learn/grpc-tool/) diff --git a/examples/grpc-client-simple/grpc_client_simple.md b/examples/grpc-client-simple/grpc_client_simple.md index 086fbc0d58..7630e83605 100644 --- a/examples/grpc-client-simple/grpc_client_simple.md +++ b/examples/grpc-client-simple/grpc_client_simple.md @@ -34,4 +34,4 @@ Once you run the command, the `grpc_simple_pb.bal` file gets generated inside th ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC client simple RPC - Specification](/spec/grpc/#41-simple-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) +- [gRPC tool](/learn/grpc-tool/) diff --git a/examples/grpc-service-bidirectional-streaming/grpc_bidirectional_streaming.md b/examples/grpc-service-bidirectional-streaming/grpc_bidirectional_streaming.md index 2a80fd1581..af151011a8 100644 --- a/examples/grpc-service-bidirectional-streaming/grpc_bidirectional_streaming.md +++ b/examples/grpc-service-bidirectional-streaming/grpc_bidirectional_streaming.md @@ -33,4 +33,4 @@ Once you run the command, the `grpc_bidirectional_streaming_pb.bal` file gets ge ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC service bidirectional streaming - Specification](/spec/grpc/#44-bidirectional-streaming-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) +- [gRPC tool](/learn/grpc-tool/) diff --git a/examples/grpc-service-client-streaming/grpc_client_streaming.md b/examples/grpc-service-client-streaming/grpc_client_streaming.md index 75c0a43239..1f089c726a 100644 --- a/examples/grpc-service-client-streaming/grpc_client_streaming.md +++ b/examples/grpc-service-client-streaming/grpc_client_streaming.md @@ -33,4 +33,4 @@ Once you run the command, the `grpc_client_streaming_pb.bal` file gets generated ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC service client-side streaming - Specification](/spec/grpc/#43-client-streaming-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) +- [gRPC tool](/learn/grpc-tool/) diff --git a/examples/grpc-service-server-streaming/grpc_server_streaming.md b/examples/grpc-service-server-streaming/grpc_server_streaming.md index ccfda13832..4a7cccddbf 100644 --- a/examples/grpc-service-server-streaming/grpc_server_streaming.md +++ b/examples/grpc-service-server-streaming/grpc_server_streaming.md @@ -33,4 +33,4 @@ Once you run the command, the `grpc_server_streaming_pb.bal` file gets generated ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC service server-side streaming - Specification](/spec/grpc/#42-server-streaming-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) +- [gRPC tool](/learn/grpc-tool/) diff --git a/examples/grpc-service-simple/grpc_service_simple.md b/examples/grpc-service-simple/grpc_service_simple.md index aa1a73f85d..8f29bdf927 100644 --- a/examples/grpc-service-simple/grpc_service_simple.md +++ b/examples/grpc-service-simple/grpc_service_simple.md @@ -33,4 +33,4 @@ Once you run the command, the `grpc_simple_pb.bal` file gets generated inside th ## Related links - [`grpc` module - API documentation](https://lib.ballerina.io/ballerina/grpc/latest) - [gRPC service simple RPC - Specification](/spec/grpc/#41-simple-rpc) -- [Ballerina protocol buffers guide](/learn/cli-documentation/grpc/) +- [gRPC tool](/learn/grpc-tool/) diff --git a/examples/kubernetes-hello-world/kubernetes-hello-world.md b/examples/kubernetes-hello-world/kubernetes-hello-world.md index c58adaca94..2d849a0683 100644 --- a/examples/kubernetes-hello-world/kubernetes-hello-world.md +++ b/examples/kubernetes-hello-world/kubernetes-hello-world.md @@ -1,7 +1,7 @@ # Kubernetes - Hello world Ballerina supports generating Kubernetes artifacts from code without any additional configuration. This simplifies the experience of developing and deploying Ballerina code in the cloud. Code to Cloud builds the containers and required artifacts by deriving the required values from the code. If you want to override the default values taken by the compiler, you can use a `Cloud.toml` file. -For more information, see [Code to Cloud deployment](/learn/run-in-the-cloud/code-to-cloud-deployment/). +For more information, see [Code to Cloud deployment](/learn/code-to-cloud-deployment/). ::: code kubernetes-hello-world.bal :::