PromucFlow_constructor/app/server/appsmith-plugins
devin-ai-integration[bot] ed01cc8a6f
feat: add configurable connection pool support for MySQL plugin (#39148)
## Description
With current implementation, MySQL is configured with HikariCP to have
maximum pool size of 20. This PR makes the connection pool size
configurable from admin settings for MySQL as well, similar to MSSQL
implementation.

This PR adds:
- ConnectionPoolConfig injection in MySqlPluginExecutor
- Support for configurable pool size in datasourceCreate
- Default fallback to 20 connections if not configured
- Test coverage with MockConnectionPoolConfig

Fixes #22525

Link to Devin run:
https://app.devin.ai/sessions/aa7f7e398dae4d24b9bbbac7dc3615b1
Requested by: Sneha

## Automation

/ok-to-test tags="@tag.Datasource"

### 🔍 Cypress test results
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.



<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13695631768>
> Commit: 8f5d7e0eecfc3465bc7617546cec5c743fad2414
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13695631768&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> Spec:
> <hr>Thu, 06 Mar 2025 11:41:54 UTC
<!-- end of auto-generated comment: Cypress test results  -->

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Sneha Bodke <sneha@appsmith.com>
Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-03-06 17:33:00 +05:30
..
amazons3Plugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
anthropicPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
appsmithAiPlugin fix: rename the header from organizationId to tenantId (#39385) 2025-02-21 05:27:20 +05:30
arangoDBPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
awsLambdaPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
databricksPlugin chore: bump com.databricks:databricks-jdbc from 2.6.36 to 2.6.40 in /app/server/appsmith-plugins/databricksPlugin (#38245) 2025-02-10 13:49:57 +05:30
dynamoPlugin fix: connection pool config added for dynamoDB to avoid stale connections (#38940) 2025-02-25 22:03:11 +05:30
elasticSearchPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
firestorePlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
googleAiPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
googleSheetsPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
graphqlPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
jsPlugin
mongoPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
mssqlPlugin fix: Scheduling the heavy database ops on bounded elastic thread pool for Ms-sql (#39176) 2025-02-11 20:24:31 +05:30
mysqlPlugin feat: add configurable connection pool support for MySQL plugin (#39148) 2025-03-06 17:33:00 +05:30
openAiPlugin fix: Bugfix for validation of system messages in open ai vision command. (#39462) 2025-02-27 11:42:27 +05:30
oraclePlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
postgresPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
redisPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
redshiftPlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
restApiPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
saasPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
smtpPlugin fix: SMTP datasource should work without username and password (#37319) 2024-11-15 12:32:41 +05:30
snowflakePlugin chore: bump net.snowflake:snowflake-jdbc from 3.20.0 to 3.22.0 in /app/server/appsmith-plugins/snowflakePlugin (#38998) 2025-02-10 13:06:04 +05:30
pom.xml chore: added comment to avoid merge conflicts (#38211) 2024-12-17 20:21:28 +05:30