PromucFlow_constructor/app/server/appsmith-plugins
tkAppsmith 4d18943099
chore: Added loginTimeout datasource param for jdbc connection to reduce tim… (#22922)
## Description

> In this pr, loginTimout param is added to datasourceProperties map of
HikariConfig object so that the ssl peer is verified within the UI
timeout limit
> This fixes the issue:
https://github.com/appsmithorg/appsmith/issues/22035

Fixes #22035

## Type of change
- Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?
> Add a Snowflake DB with wrong account name as provided in the related
issue. Test the datasource, and wait for the error to come up. Error
should show up on UI in ~15 seconds with message that ssl peer identity
validation has failed.

- Manual
- Jest
- Cypress

### Test Plan
> Add a Snowflake DB with wrong account name as provided in the related
issue. Test the datasource, and wait for the error to come up. Error
should show up on UI in ~15 seconds with message that ssl peer identity
validation has failed. A correct account id should be instantly
validated. This is because with the account id provided in the issue,
the error took 60 seconds to occur which now has been reduced to 15
seconds.


## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] 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
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-05-25 16:28:59 +05:30
..
amazons3Plugin chore: Added loginTimeout datasource param for jdbc connection to reduce tim… (#22922) 2023-05-25 16:28:59 +05:30
arangoDBPlugin chore: Added loginTimeout datasource param for jdbc connection to reduce tim… (#22922) 2023-05-25 16:28:59 +05:30
dynamoPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
elasticSearchPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
firestorePlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
googleSheetsPlugin chore: Remove unused datasource query endpoint (#23426) 2023-05-20 15:03:11 +05:30
graphqlPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
jsPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
mongoPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
mssqlPlugin feat: Implemented Schema Fetch for MSSQL Plugin (#16014) (#23498) 2023-05-24 11:38:06 +05:30
mysqlPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
oraclePlugin chore: Refactoring datasource storage consumption to start using the new collection (#23296) 2023-05-23 19:27:53 +05:30
postgresPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
redisPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
redshiftPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
restApiPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
saasPlugin chore: Fix unnecessary re-shading of jars (#21994) 2023-04-03 17:49:21 +05:30
smtpPlugin feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
snowflakePlugin chore: Added loginTimeout datasource param for jdbc connection to reduce tim… (#22922) 2023-05-25 16:28:59 +05:30
pom.xml feature: Introduce Oracle Integration behind feature flag (#21273) 2023-03-16 16:54:25 +05:30