[Task]: Add MongoDB connection link details when testing the connection
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 476
- Avg merge
- 18h 32m
- Merged PRs (30d)
- 216
Description
### What needs to happen?
## Objective:
The goal of this task is to enhance the visibility of the MongoDB connection during the connection test process in Apache Hop. Currently, when testing the connection to MongoDB, only an "OK" message is displayed, which does not provide detailed information about the parameters used to establish the connection.
## Context:
For PostgreSQL connections, Apache Hop displays detailed connection parameters, such as the URL, port, and credentials used. This information is useful both for verifying that the configuration is correct and for identifying potential connection issues.
## Proposed Improvement:
Similar to PostgreSQL, it is important for Apache Hop to display the connection details when performing a test connection for MongoDB. This includes showing the connection URL, port, database, and any other relevant parameters that allow users to validate that the connection has been established correctly.
## Expected Benefits:
- Improves troubleshooting capabilities in case of MongoDB connection failures.
- Facilitates configuration validation for the connection.
- Increases transparency in the connection process within Apache Hop, enhancing the user experience.
-


### Issue Priority
Priority: 2
### Issue Component
Component: Hop Gui, Component: Metadata, Component: Database
Contributor guide
Research direction
Start by comparing the MongoDB connection-test flow with the PostgreSQL connection-test behavior referenced in the issue, focusing on the Hop GUI metadata database component. Run both connection tests to observe the current messages; done means MongoDB displays its connection URL, port, database, and other relevant parameters rather than only “OK”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mongodb
- Domain
- database, desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100