feat(atlassian): Confluence Cloud adapter with Markdown→Storage converter - #16
Merged
Conversation
- src/core/config.py: add ConfluenceConfig, JiraConfig, AtlassianConfig models; extend CoreConfig with optional atlassian field - config/atlassian.yaml: updated overlay template with nested atlassian.* keys, single ATLASSIAN_API_TOKEN for both services - adapters/atlassian/confluence.py: md_to_confluence_storage() converter (headings, bold/italic, tables, lists, blockquotes, HR, code, links); ConfluenceAdapter with idempotent create_or_update_page(), space ID resolution, and flat deploy under a root index page - tests/test_confluence.py: 21 unit tests (converter + adapter, all mocked) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
ConfluenceConfig,JiraConfig,AtlassianConfigPydantic models insrc/core/config.pyconfig/atlassian.yamloverlay template — oneATLASSIAN_API_TOKENfor both Confluence + Jiraadapters/atlassian/confluence.py:md_to_confluence_storage()— Markdown → Confluence Storage Format (XHTML)ConfluenceAdapter— idempotent page upsert, space ID resolution, flat deploy under root index pageConverter coverage
headings (h1–h6) · bold · italic · bold+italic · tables (th/td) · unordered/ordered lists (grouped) · blockquotes · HR · inline code · Markdown links
Next PR (PR 2)
adapters/atlassian/jira.py— Jira Cloud adapter (project + issue types)cli/main.py— wire--target atlassianGenerated with Claude Code