chore: added application name in JDBC url for connection URI (#23074)
## Description This PR includes changes for: - Snowflake - Redshift > TL;DR: Modifying connection string to reduce auxiliary connection to datasources in order to required properties. Fixes #22659 #### Type of change - Chore (housekeeping or task changes that don't impact user perception) ## Testing #### How Has This Been Tested? This has been tested - [x] Manual - [ ] Jest - [ ] Cypress > > ## Checklist: #### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [ ] 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: - [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change) have been covered - [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest) - [ ] Test plan has been peer reviewed by project stakeholders and other QA members - [ ] Manually tested functionality on DP - [ ] We had an implementation alignment call with stakeholders post QA Round 2 - [ ] Cypress test cases have been added and approved by SDET/manual QA - [ ] Added `Test Plan Approved` label after Cypress tests were reviewed - [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
This commit is contained in:
parent
bd993e145c
commit
99466e197d
|
|
@ -152,6 +152,7 @@ public class SnowflakePlugin extends BasePlugin {
|
|||
properties.setProperty("role", String.valueOf(datasourceConfiguration.getProperties().get(3).getValue()));
|
||||
/* Ref: https://github.com/appsmithorg/appsmith/issues/19784 */
|
||||
properties.setProperty("jdbc_query_result_format", "json");
|
||||
properties.setProperty("APPLICATION", "APPSMITH_JDBC_DRIVER");
|
||||
|
||||
return Mono
|
||||
.fromCallable(() -> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user