All checks were successful
Build + Deploy / build-admin-compliance (push) Successful in 1m40s
Build + Deploy / build-backend-compliance (push) Successful in 2m52s
Build + Deploy / build-ai-sdk (push) Successful in 40s
Build + Deploy / build-developer-portal (push) Successful in 1m2s
Build + Deploy / build-tts (push) Successful in 1m23s
Build + Deploy / build-document-crawler (push) Successful in 40s
Build + Deploy / build-dsms-gateway (push) Successful in 25s
CI / branch-name (push) Has been skipped
CI / guardrail-integrity (push) Has been skipped
CI / loc-budget (push) Successful in 17s
CI / secret-scan (push) Has been skipped
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / nodejs-build (push) Successful in 2m12s
CI / dep-audit (push) Has been skipped
CI / sbom-scan (push) Has been skipped
CI / test-go (push) Successful in 44s
CI / test-python-backend (push) Successful in 37s
CI / test-python-document-crawler (push) Successful in 27s
CI / test-python-dsms-gateway (push) Successful in 29s
CI / validate-canonical-controls (push) Successful in 16s
Build + Deploy / trigger-orca (push) Successful in 2m46s
39 lines
1.7 KiB
Python
39 lines
1.7 KiB
Python
"""
|
|
compliance.db.repository — backwards-compatibility re-export shim.
|
|
|
|
Phase 1 Step 5 split the monolithic 1547-line repository module into per-aggregate
|
|
sibling modules. Every repository class is re-exported here so existing imports
|
|
(``from compliance.db.repository import ControlRepository, ...``) continue to
|
|
work unchanged.
|
|
|
|
New code SHOULD import directly from the aggregate module:
|
|
|
|
from compliance.db.regulation_repository import RegulationRepository, RequirementRepository
|
|
from compliance.db.control_repository import ControlRepository, ControlMappingRepository
|
|
from compliance.db.evidence_repository import EvidenceRepository
|
|
from compliance.db.risk_repository import RiskRepository
|
|
from compliance.db.audit_export_repository import AuditExportRepository
|
|
from compliance.db.service_module_repository import ServiceModuleRepository
|
|
from compliance.db.audit_session_repository import AuditSessionRepository, AuditSignOffRepository
|
|
|
|
DO NOT add new classes to this file.
|
|
"""
|
|
|
|
from compliance.db.regulation_repository import ( # noqa: F401
|
|
RegulationRepository,
|
|
RequirementRepository,
|
|
)
|
|
from compliance.db.control_repository import ( # noqa: F401
|
|
ControlRepository,
|
|
ControlMappingRepository,
|
|
)
|
|
from compliance.db.evidence_repository import EvidenceRepository # noqa: F401
|
|
from compliance.db.risk_repository import RiskRepository # noqa: F401
|
|
from compliance.db.audit_export_repository import AuditExportRepository # noqa: F401
|
|
from compliance.db.service_module_repository import ServiceModuleRepository # noqa: F401
|
|
from compliance.db.audit_session_repository import ( # noqa: F401
|
|
AuditSessionRepository,
|
|
AuditSignOffRepository,
|
|
)
|
|
|