From d6435dbb885430e45fa1aa2fad0846fd96c18e6e Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 14 Nov 2023 15:02:18 +0530 Subject: [PATCH 1/3] Fix link --- README.md | 2 +- ballerina/Module.md | 2 +- ballerina/Package.md | 2 +- examples/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index be6be19f..2013e210 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The `ballerinax/googleapis.gmail` package provides APIs to connect and interact ## Quickstart -**Note**: Ensure to follow the [prerequisites](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#setting-up-gmail-api) to set up the Gmail API. +**Note**: Ensure to follow the [prerequisites](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#set-up-gmail-api) to set up the Gmail API. To utilize the `gmail` connector in your Ballerina application, modify the `.bal` file as follows: diff --git a/ballerina/Module.md b/ballerina/Module.md index 40ec6c9d..6781a0da 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -7,7 +7,7 @@ The `ballerinax/googleapis.gmail` package provides APIs to connect and interact ## Quickstart -**Note**: Ensure to follow the [prerequisites](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#setting-up-gmail-api) to set up the Gmail API. +**Note**: Ensure to follow the [prerequisites](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#set-up-gmail-api) to set up the Gmail API. To utilize the `gmail` connector in your Ballerina application, modify the `.bal` file as follows: diff --git a/ballerina/Package.md b/ballerina/Package.md index 73ea3e98..dda2fac1 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -6,7 +6,7 @@ The `ballerinax/googleapis.gmail` package provides APIs to connect and interact ## Quickstart -**Note**: Ensure to follow the [prerequisites](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#setting-up-gmail-api) to set up the Gmail API. +**Note**: Ensure to follow the [prerequisites](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#set-up-gmail-api) to set up the Gmail API. To utilize the `gmail` connector in your Ballerina application, modify the `.bal` file as follows: diff --git a/examples/README.md b/examples/README.md index 68aa5b99..c1875bc5 100644 --- a/examples/README.md +++ b/examples/README.md @@ -15,7 +15,7 @@ For more detailed information about the connector's functionality including how ## Prerequisites -1. Follow the [instructions](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#setting-up-gmail-api) to set up the Gmail API. +1. Follow the [instructions](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail#set-up-gmail-api) to set up the Gmail API. 2. For each example, create a `config.toml` file with your OAuth2 tokens, client ID, and client secret. Here's an example of how your `config.toml` file should look: ```toml From 2e819bbf2bd98bcab94249423766d575f2811b52 Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 14 Nov 2023 15:30:56 +0530 Subject: [PATCH 2/3] Improve link to point to main bal file of examples --- README.md | 6 +++--- ballerina/Module.md | 6 +++--- ballerina/Package.md | 6 +++--- examples/README.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 2013e210..bc5204e1 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,13 @@ gmail:MessageListPage messageList = check gmailClient->/users/me/messages(q = "l The `gmail` connector provides several practical examples that illustrate its usage in various scenarios. These [examples](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples) cover a variety of use cases including sending emails, retrieving messages, and managing labels. -1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails) +1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails/main.bal) This example shows how to manage customer feedback emails. It checks for unread emails in the inbox, processes these emails, and adds details such as the subject and sender to a CSV file. After processing, all emails will be marked as read. -2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails) +2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails/main.bal) This example demonstrates how to automatically send emails to users or administrators when a scheduled maintenance break is imminent or has begun. It includes code to embed inline images in the email. -3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads) +3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads/main.bal) This example shows how to use the Gmail API to search for email threads based on a specific query. For more detailed information about the connector's functionality including how to configure and use it in your Ballerina programs, go to the comprehensive reference guide for the `gmail` connector available in [Ballerina Central](https://central.ballerina.io/ballerinax/googleapis.gmail/latest). diff --git a/ballerina/Module.md b/ballerina/Module.md index 6781a0da..c22da542 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -41,13 +41,13 @@ gmail:MessageListPage messageList = check gmailClient->/users/me/messages(q = "l The `gmail` connector provides several practical examples that illustrate its usage in various scenarios. These [examples](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples) cover a variety of use cases including sending emails, retrieving messages, and managing labels. -1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails) +1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails/main.bal) This example shows how to manage customer feedback emails. It checks for unread emails in the inbox, processes these emails, and adds details such as the subject and sender to a CSV file. After processing, all emails will be marked as read. -2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails) +2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails/main.bal) This example demonstrates how to automatically send emails to users or administrators when a scheduled maintenance break is imminent or has begun. It includes code to embed inline images in the email. -3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads) +3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads/main.bal) This example shows how to use the Gmail API to search for email threads based on a specific query. For more detailed information about the connector's functionality including how to configure and use it in your Ballerina programs, go to the comprehensive reference guide for the `gmail` connector available in [Ballerina Central](https://central.ballerina.io/ballerinax/googleapis.gmail/latest). diff --git a/ballerina/Package.md b/ballerina/Package.md index dda2fac1..7b5ce8cc 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -40,13 +40,13 @@ gmail:MessageListPage messageList = check gmailClient->/users/me/messages(q = "l The `gmail` connector provides several practical examples that illustrate its usage in various scenarios. These [examples](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples) cover a variety of use cases including sending emails, retrieving messages, and managing labels. -1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails) +1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails/main.bal) This example shows how to manage customer feedback emails. It checks for unread emails in the inbox, processes these emails, and adds details such as the subject and sender to a CSV file. After processing, all emails will be marked as read. -2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails) +2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails/main.bal) This example demonstrates how to automatically send emails to users or administrators when a scheduled maintenance break is imminent or has begun. It includes code to embed inline images in the email. -3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads) +3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads/main.bal) This example shows how to use the Gmail API to search for email threads based on a specific query. For more detailed information about the connector's functionality including how to configure and use it in your Ballerina programs, go to the comprehensive reference guide for the `gmail` connector available in [Ballerina Central](https://central.ballerina.io/ballerinax/googleapis.gmail/latest). diff --git a/examples/README.md b/examples/README.md index c1875bc5..1f8c73f6 100644 --- a/examples/README.md +++ b/examples/README.md @@ -2,13 +2,13 @@ The `gmail` connector provides several practical examples that illustrate its usage in various scenarios. These [examples](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples) cover a variety of use cases including sending emails, retrieving messages, and managing labels. -1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails) +1. [Process customer feedback emails](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/process-mails/main.bal) This example shows how to manage customer feedback emails. It checks for unread emails in the inbox, processes these emails, and adds details such as the subject and sender to a CSV file. After processing, all emails will be marked as read. -2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails) +2. [Send maintenance break notifications](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/send-mails/main.bal) This example demonstrates how to automatically send emails to users or administrators when a scheduled maintenance break is imminent or has begun. It includes code to embed inline images in the email. -3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads) +3. [Search for relevant email threads](https://github.com/ballerina-platform/module-ballerinax-googleapis.gmail/tree/master/examples/search-threads/main.bal) This example shows how to use the Gmail API to search for email threads based on a specific query. For more detailed information about the connector's functionality including how to configure and use it in your Ballerina programs, go to the comprehensive reference guide for the `gmail` connector available in [Ballerina Central](https://central.ballerina.io/ballerinax/googleapis.gmail/latest). From 98ae21af0261251d01b91b080347aef3cf3a2794 Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 14 Nov 2023 15:31:29 +0530 Subject: [PATCH 3/3] Move to latest plugin version --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 1b1d8beb..63393024 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,4 +9,4 @@ downloadPluginVersion=5.4.0 releasePluginVersion=2.8.0 testngVersion=7.6.1 eclipseLsp4jVersion=0.12.0 -ballerinaGradlePluginVersion=2.1.5 +ballerinaGradlePluginVersion=2.1.6