Skip to content

Cb rule template#493

Merged
BugsGuru merged 2 commits into
mainfrom
cb_rule_template
Jul 17, 2025
Merged

Cb rule template#493
BugsGuru merged 2 commits into
mainfrom
cb_rule_template

Conversation

@iwanghc
Copy link
Copy Markdown
Collaborator

@iwanghc iwanghc commented Jul 17, 2025

User description

issue: https://github.com/actiontech/dms-ee/issues/622

描述:
数据源配置数据导出专属规则模板接口定义


Description

  • 新增SQL工作台数据导出规则模板字段

  • 更新BizDBServiceArgs结构体配置字段

  • 调整swagger接口文档中包路径及字段说明

  • 优化数据导出审核流程文档描述


Changes diagram

flowchart LR
  A["\"SQLEConfig结构体新增字段\""] -- "新增字段" --> B["\"BizDBServiceArgs配置更新\""]
  A -- "同步更新" --> C["\"Swagger JSON更新\""]
  A -- "同步更新" --> D["\"Swagger YAML更新\""]
Loading

Changes walkthrough 📝

Relevant files
Enhancement
db_service.go
新增数据导出规则模板字段于配置结构体                                                                             

internal/dms/biz/db_service.go

  • 在SQLEConfig中新增DataExportRuleTemplateName和DataExportRuleTemplateID字段
  • 在BizDBServiceArgs中同步添加新增字段
  • +13/-7   
    db_service.go
    更新数据导出规则模板字段定义                                                                                     

    pkg/dms-common/api/dms/v1/db_service.go

    • 在SQLEConfig中新增数据导出规则模板字段
    • 保持与内部结构一致性
    +4/-0     
    Documentation
    swagger.json
    更新Swagger JSON包路径和字段说明                                                                     

    api/swagger.json

    • 修改x-go-package字段值更新包路径
    • 加入数据导出规则模板字段描述
    +24/-3   
    swagger.yaml
    更新Swagger YAML包路径及数据导出字段描述                                                             

    api/swagger.yaml

    • 同步更新x-go-package字段,调整路径
    • 完善SQLEConfig字段描述,新增导出规则模板字段
    +19/-3   

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • @actiontech-bot actiontech-bot requested a review from BugsGuru July 17, 2025 07:39
    @github-actions
    Copy link
    Copy Markdown

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    @BugsGuru BugsGuru merged commit f943a54 into main Jul 17, 2025
    1 check passed
    @BugsGuru BugsGuru deleted the cb_rule_template branch July 17, 2025 07:55
    LordofAvernus pushed a commit that referenced this pull request Apr 9, 2026
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants