PromucFlow_constructor/app/server/appsmith-plugins
Nilansh Bansal 4516129908
fix: postgres plugin blocking call (#36046)
## Description
This PR resolves the blockhound callout `Blocking call!
java.io.FileInputStream#readBytes` in the /v1/actions/execute (POST) API
call when used with Postgres Plugin.
This blocking call was present in the PostgresPlugin.java

Fixes #36008   

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> 🟣 🟣 🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/10666128697>
> Commit: 9224297c20722ebd5b2891e9e2f306f75e78ed1b
> Workflow: `PR Automation test suite`
> Tags: `@tag.Sanity`
> Spec: ``
> <hr>Mon, 02 Sep 2024 11:19:10 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Chores**
- Improved the readability and conciseness of the connection pool
creation logic in the Postgres plugin, enhancing maintainability without
affecting functionality.
- Updated logging level from debug to info for better clarity on log
messages.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-02 11:45:28 +00:00
..
amazons3Plugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
anthropicPlugin feat: Action redesign: updated Anthropic plugin config (#35754) 2024-08-23 08:35:12 +05:30
appsmithAiPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
arangoDBPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
awsLambdaPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
databricksPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
dynamoPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
elasticSearchPlugin Revert "chore: added JSON files linting check" (#35445) 2024-08-06 14:15:23 +05:30
firestorePlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
googleAiPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
googleSheetsPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
graphqlPlugin Revert "chore: added JSON files linting check" (#35445) 2024-08-06 14:15:23 +05:30
jsPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
mongoPlugin Revert "feat: Action redesign: Updating Mongo plugin form config" (#35903) 2024-08-27 15:48:46 +05:30
mssqlPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
mysqlPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
openAiPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
oraclePlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
postgresPlugin fix: postgres plugin blocking call (#36046) 2024-09-02 11:45:28 +00:00
redisPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
redshiftPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
restApiPlugin Revert "chore: added JSON files linting check" (#35445) 2024-08-06 14:15:23 +05:30
saasPlugin fix: graphQL bindings issue resolved (#32760) 2024-04-18 17:36:54 +05:30
smtpPlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
snowflakePlugin chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
pom.xml test: Add AssertJ for plugins, for better assertions (#31380) 2024-03-04 07:33:45 +05:30