apache / apache/hop

[Task]: Add MongoDB connection link details when testing the connection

Open
#4,861 0 comments 0 reactions 0 assignees View on GitHub
awaiting triage Database Hop Gui Metadata P2
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.
-

![Image](https://github.com/user-attachments/assets/c233f734-8565-47a3-9315-a58282dd948c)

![Image](https://github.com/user-attachments/assets/a56931b6-b41c-449b-ab62-079c28c8f1db)

### Issue Priority

Priority: 2

### Issue Component

Component: Hop Gui, Component: Metadata, Component: Database

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.