kenya-jug/regression

Support Editing and Deleting Registered Data Sources

Open

#50 opened on May 20, 2025

 (0 comments) (0 reactions) (0 assignees)Java (12 forks)auto 404
UIgood first issue

Repository metrics

Stars
 (7 stars)
PR merge metrics
 (PR metrics pending)

Description

Implement functionality to allow users to edit and delete registered data sources, improving management and cleanup of data source configurations.

Current Behavior:

  • Once a data source is registered, it cannot be modified or removed through the UI or API.

Expected Features:

  1. Edit Data Source:

    • Update properties such as name, connection details, or credentials.
    • Validate inputs to prevent misconfiguration.
  2. Delete Data Source:

    • Remove unused or obsolete data sources.
    • Provide confirmation prompts to avoid accidental deletion.
    • Consider handling or warning about dependent applications or data.

Tasks:

  • Add UI controls for editing and deleting data sources.
  • Create corresponding backend API endpoints (PUT /data-sources/{id}, DELETE /data-sources/{id}).
  • Implement validation and permission checks.
  • Handle potential cascading impacts or restrict deletion if dependencies exist.

Benefits:

  • Enhances flexibility in managing data sources.
  • Keeps configuration clean and up-to-date.
  • Supports better system hygiene and administration.

Contributor guide