30 lines
797 B
Python
30 lines
797 B
Python
|
|
"""Confluence client seam for the durable doc-update pipeline.
|
||
|
|
|
||
|
|
Ports the OAuth/Basic auth seam from the security-review bash checker
|
||
|
|
(``checkers/confluence-doc.sh``) into a typed, dependency-injectable
|
||
|
|
:class:`~agent_team.confluence.client.ConfluenceClient`. The HTTP transport is
|
||
|
|
a protocol so unit tests inject an in-memory fake (no live network), and
|
||
|
|
``update_page`` defaults to dry-run so a planned change is producible without
|
||
|
|
mutating Confluence.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from agent_team.confluence.client import (
|
||
|
|
ConfluenceAuth,
|
||
|
|
ConfluenceClient,
|
||
|
|
ConfluenceError,
|
||
|
|
HttpClient,
|
||
|
|
PlannedPageUpdate,
|
||
|
|
body_diff,
|
||
|
|
init_auth,
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"ConfluenceAuth",
|
||
|
|
"ConfluenceClient",
|
||
|
|
"ConfluenceError",
|
||
|
|
"HttpClient",
|
||
|
|
"PlannedPageUpdate",
|
||
|
|
"body_diff",
|
||
|
|
"init_auth",
|
||
|
|
]
|