Skip to content

feat: remove MongoDB advanced options and standardize topology labels - #864

Open
LordofAvernus wants to merge 6 commits into
mainfrom
dev-decathlon-mongo-odc-visibility
Open

feat: remove MongoDB advanced options and standardize topology labels#864
LordofAvernus wants to merge 6 commits into
mainfrom
dev-decathlon-mongo-odc-visibility

Conversation

@LordofAvernus

@LordofAvernus LordofAvernus commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

关联的 issue

https://github.com/actiontech/dms-ee/issues/941

描述你的变更

  • 移除 MongoDB 数据源高级选项(auth_mechanism / tls / tls_skip_verify / direct_connection),前后端与插件 meta/DSN 一并删除
  • 形态文案统一为「单机 / 副本集 / 分片集群」
  • 不再保留遗留四键的读取忽略 / 兼容 shim(开发期不引入向后兼容)
  • 补充/调整相关单测

确认项(pr提交后操作)

Tip

请在指定复审人之前,确认并完成以下事项,完成后✅


  • 我已完成自测
  • 我已记录完整日志方便进行诊断
  • 我已在关联的issue里补充了实现方案
  • 我已在关联的issue里补充了测试影响面
  • 我已确认了变更的兼容性,如果不兼容则在issue里标记 not_compatible
  • 我已确认了是否要更新文档,如果要更新则在issue里标记 need_update_doc

LordofAvernus and others added 6 commits July 28, 2026 14:36
Drop advanced auth/TLS/direct-connection UI; keep topology + auth_source/seed hosts; normalize request params so legacy keys are not rewritten.
Align AddDataSource and tool unit tests with removed advanced options and topology label changes.
Update ConfirmSwitch wrapper snapshots and Mongo/UpdateDataSource
expectations so test(4) matches current form behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 80.88% 29944/37024
🟡 Branches 63.12% 11304/17909
🟢 Functions 84.3% 10068/11943
🟢 Lines 84.8% 28625/33754

Test suite run success

3748 tests passing in 820 suites.

Report generated by 🧪jest coverage report action from 2efc474

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.

1 participant