PromucFlow_constructor/app/server/appsmith-plugins
Manish Kumar 77aeca27a0
feat: adding email property in google sheets (#22321)
## Description
As a part of google sheet scope limitation, the email address is being
added in datasource configuration. The email address
is being stored in a property, an element in properties
(`List<Property>`) with key: 'emailAddress' and value: (<emailId>) .

In order to retrieve this property a GET call to endpoint
`https://www.googleapis.com/drive/v3/about?fields=user` is being made.

This property is being saved while google sheet datasource gets
authorised, after access toke retrieval from cloud services.
in the endpoint `/saas/{datasourceId}/token`.

Since the flow is specific to google sheets, the main code is
implemented in googlesheetPluginExecutor. The flow has three steps

- Getting access token from datasourceConfiguration
- making the call to googleApis and obtaining the email address
- saving it back into datasource configuration

The authorisation flow itself saves the datasource later on.  


> TL;DR Adding emailAddress in properties of datasource configuration
when google sheets is authorised.

Fixes #21902 
- New feature (non-breaking change which adds functionality)

## This has been tested
- Manual
- JUnit

## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] PR is being merged under a feature flag
2023-04-21 14:17:34 +05:30
..
amazons3Plugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
arangoDBPlugin fix: Hint text in create query (sql based datasources) (#22190) 2023-04-10 17:50:09 +05:30
dynamoPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
elasticSearchPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
firestorePlugin fix: Firestore Invalid DS Test Success (#21954) 2023-04-13 15:47:35 +05:30
googleSheetsPlugin feat: adding email property in google sheets (#22321) 2023-04-21 14:17:34 +05:30
graphqlPlugin chore: Upgrading graphql dependency (#21809) 2023-04-14 16:36:50 +05:30
jsPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
mongoPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
mssqlPlugin fix: Hint text in create query (sql based datasources) (#22190) 2023-04-10 17:50:09 +05:30
mysqlPlugin fix: Hint text in create query (sql based datasources) (#22190) 2023-04-10 17:50:09 +05:30
oraclePlugin fix: Hint text in create query (sql based datasources) (#22190) 2023-04-10 17:50:09 +05:30
postgresPlugin fix: Allow empty password in PostgreSQL trust authentication login (#22186) 2023-04-13 16:20:46 +06:00
redisPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
redshiftPlugin fix: Hint text in create query (sql based datasources) (#22190) 2023-04-10 17:50:09 +05:30
restApiPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
saasPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
smtpPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
snowflakePlugin chore: bump snowflake-jdbc from 3.13.26 to 3.13.29 in /app/server/appsmith-plugins/snowflakePlugin (#22444) 2023-04-18 09:03:22 +05:30
pom.xml feature: Introduce Oracle Integration behind feature flag (#21273) 2023-03-16 16:54:25 +05:30