feat(datasource): add DingTalk Docs integration - #2313
Open
WHUTcjh-2024 wants to merge 1 commit into
Open
Conversation
WHUTcjh-2024
marked this pull request as ready for review
July 25, 2026 19:03
Contributor
Author
|
Ready for review. Validated against a real DingTalk enterprise for authentication, resource selection, create, update, idempotent re-sync, and source-deletion detection. The implementation uses documented OpenAPI only and requires no gray permissions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(datasource): add DingTalk Docs integration
Fixes #1707.
概要
在现有数据源流程中新增钉钉文档:
同步安全
401后仅刷新一次 Token验证
自动化:
go test -race ./internal/datasource/connector/dingtalk(20 项测试)go vet ./internal/datasource/connector/dingtalkgo test ./internal/container ./internal/datasource ./internal/datasource/connector/dingtalknpm run build-only真实钉钉企业:
验收文档已移入钉钉回收站。按照 WeKnora 现有安全策略,删除同步只检测并计数,不自动移除知识库记录。
范围
当前仅导入
ALIDOC/adoc在线文档,其他节点类型会跳过。实现只使用公开 OpenAPI,不依赖灰度权限、异步导出或回调服务。