From 5569b4d22e98649c349423aea301900f9b1d9f49 Mon Sep 17 00:00:00 2001 From: praneesha Date: Tue, 22 Aug 2023 00:08:20 +0530 Subject: [PATCH 1/3] Fix links post learn page revamp --- .../aws-lambda-dynamodb-trigger.md | 4 ++-- .../aws-lambda-execution-context.md | 4 ++-- examples/aws-lambda-hello-world/aws-lambda-hello-world.md | 4 ++-- examples/aws-lambda-s3-trigger/aws-lambda-s3-trigger.md | 4 ++-- .../azure-functions-cosmosdb-trigger.md | 4 ++-- .../azure-functions-hello-world.md | 4 ++-- .../azure-functions-http-trigger-with-queue.md | 4 ++-- .../azure-functions-timer-trigger.md | 4 ++-- examples/configurable-variables/configurable_variables.md | 2 +- examples/configuring-via-cli/configuring_via_cli.md | 2 +- examples/configuring-via-toml/configuring-via-toml.md | 2 +- .../grpc_bidirectional_streaming.md | 2 +- .../grpc-client-client-streaming/grpc_client_streaming.md | 2 +- .../grpc-client-server-streaming/grpc_server_streaming.md | 2 +- examples/grpc-client-simple/grpc_client_simple.md | 2 +- .../grpc_bidirectional_streaming.md | 2 +- .../grpc-service-client-streaming/grpc_client_streaming.md | 2 +- .../grpc-service-server-streaming/grpc_server_streaming.md | 2 +- examples/grpc-service-simple/grpc_service_simple.md | 2 +- 19 files changed, 27 insertions(+), 27 deletions(-) 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..d84daadb7b 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/run-in-the-cloud/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/run-in-the-cloud/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..213cd70f37 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/run-in-the-cloud/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/run-in-the-cloud/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..5cf878cafc 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/run-in-the-cloud/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/run-in-the-cloud/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..80b589cbcc 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/run-in-the-cloud/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/run-in-the-cloud/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..126ef0befb 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/run-in-the-cloud/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/run-in-the-cloud/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..8c0f39019e 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/run-in-the-cloud/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/run-in-the-cloud/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..edc6ff781f 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/run-in-the-cloud/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/run-in-the-cloud/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..44763b9aba 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/run-in-the-cloud/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/run-in-the-cloud/azure-functions/#set-up-the-prerequisites). ## Write the function 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/grpc-client-bidirectional-streaming/grpc_bidirectional_streaming.md b/examples/grpc-client-bidirectional-streaming/grpc_bidirectional_streaming.md index 1d8a602e4c..50bbca61f8 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 +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) \ 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..6726ecb7bf 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/) +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) diff --git a/examples/grpc-client-server-streaming/grpc_server_streaming.md b/examples/grpc-client-server-streaming/grpc_server_streaming.md index befd47d949..81818c313a 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/) +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) diff --git a/examples/grpc-client-simple/grpc_client_simple.md b/examples/grpc-client-simple/grpc_client_simple.md index 086fbc0d58..0b01bfa23f 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/) +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) diff --git a/examples/grpc-service-bidirectional-streaming/grpc_bidirectional_streaming.md b/examples/grpc-service-bidirectional-streaming/grpc_bidirectional_streaming.md index 2a80fd1581..6ab02810fe 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/) +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) diff --git a/examples/grpc-service-client-streaming/grpc_client_streaming.md b/examples/grpc-service-client-streaming/grpc_client_streaming.md index 75c0a43239..d390dd9f7c 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/) +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) diff --git a/examples/grpc-service-server-streaming/grpc_server_streaming.md b/examples/grpc-service-server-streaming/grpc_server_streaming.md index ccfda13832..5158e05169 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/) +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) diff --git a/examples/grpc-service-simple/grpc_service_simple.md b/examples/grpc-service-simple/grpc_service_simple.md index aa1a73f85d..58c7e8d2a3 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/) +- [Ballerina protocol buffers guide](/learn/bal-command/grpc/) From 7a01e43b3bd99175c3e7f5849ff93520b513d493 Mon Sep 17 00:00:00 2001 From: praneesha Date: Thu, 24 Aug 2023 13:33:43 +0530 Subject: [PATCH 2/3] Update the new learn links in BBEs --- .../aws-lambda-dynamodb-trigger.md | 4 ++-- .../aws-lambda-execution-context.md | 4 ++-- examples/aws-lambda-hello-world/aws-lambda-hello-world.md | 4 ++-- examples/aws-lambda-s3-trigger/aws-lambda-s3-trigger.md | 4 ++-- .../azure-functions-cosmosdb-trigger.md | 4 ++-- .../azure-functions-hello-world.md | 4 ++-- .../azure-functions-http-trigger-with-queue.md | 4 ++-- .../azure-functions-timer-trigger.md | 4 ++-- examples/c2c-docker-deployment/c2c_docker_deployment.md | 2 +- examples/c2c-k8s-deployment/c2c_k8s_deployment.md | 2 +- examples/docker-hello-world/docker-hello-world.md | 2 +- .../grpc_bidirectional_streaming.md | 2 +- .../grpc-client-client-streaming/grpc_client_streaming.md | 2 +- .../grpc-client-server-streaming/grpc_server_streaming.md | 2 +- examples/grpc-client-simple/grpc_client_simple.md | 2 +- .../grpc_bidirectional_streaming.md | 2 +- .../grpc-service-client-streaming/grpc_client_streaming.md | 2 +- .../grpc-service-server-streaming/grpc_server_streaming.md | 2 +- examples/grpc-service-simple/grpc_service_simple.md | 2 +- examples/kubernetes-hello-world/kubernetes-hello-world.md | 2 +- 20 files changed, 28 insertions(+), 28 deletions(-) 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 d84daadb7b..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/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/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 213cd70f37..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/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/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 5cf878cafc..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/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/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 80b589cbcc..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/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/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 126ef0befb..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/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/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 8c0f39019e..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/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/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 edc6ff781f..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/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/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 44763b9aba..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/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/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..3000bff0a4 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/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..6e7bb1e768 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/code-to-cloud-deployment/). ::: code c2c_k8s_deployment.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 50bbca61f8..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/bal-command/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 6726ecb7bf..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/bal-command/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 81818c313a..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/bal-command/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 0b01bfa23f..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/bal-command/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 6ab02810fe..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/bal-command/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 d390dd9f7c..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/bal-command/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 5158e05169..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/bal-command/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 58c7e8d2a3..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/bal-command/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 ::: From c65626a1bfc3dbea4b6f22bec983ca2ed28cb30e Mon Sep 17 00:00:00 2001 From: praneesha Date: Thu, 24 Aug 2023 15:25:07 +0530 Subject: [PATCH 3/3] Address review comments --- examples/c2c-docker-deployment/c2c_docker_deployment.md | 2 +- examples/c2c-k8s-deployment/c2c_k8s_deployment.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/c2c-docker-deployment/c2c_docker_deployment.md b/examples/c2c-docker-deployment/c2c_docker_deployment.md index 3000bff0a4..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/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 6e7bb1e768..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/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 :::