Skip to content

Commit

Permalink
Update the new learn links in BBEs
Browse files Browse the repository at this point in the history
  • Loading branch information
praneesha committed Aug 24, 2023
1 parent 31c6bbd commit 7a01e43
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions examples/aws-lambda-hello-world/aws-lambda-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions examples/aws-lambda-s3-trigger/aws-lambda-s3-trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/c2c-docker-deployment/c2c_docker_deployment.md
Original file line number Diff line number Diff line change
@@ -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 :::

Expand Down
2 changes: 1 addition & 1 deletion examples/c2c-k8s-deployment/c2c_k8s_deployment.md
Original file line number Diff line number Diff line change
@@ -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 :::

Expand Down
2 changes: 1 addition & 1 deletion examples/docker-hello-world/docker-hello-world.md
Original file line number Diff line number Diff line change
@@ -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 :::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
- [gRPC tool](/learn/grpc-tool/)
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion examples/grpc-client-simple/grpc_client_simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion examples/grpc-service-simple/grpc_service_simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion examples/kubernetes-hello-world/kubernetes-hello-world.md
Original file line number Diff line number Diff line change
@@ -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 :::

Expand Down

0 comments on commit 7a01e43

Please sign in to comment.