kenya-jug/regression

Support Editing and Deleting Registered Data Sources

开放

#50 创建于 2025年5月20日

 (0 条评论) (0 个反应) (0 位负责人)Java (12 个派生)auto 404
UIgood first issue

仓库指标

星标
 (7 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南