feat: DSFA Modul — Backend, Proxy, Frontend-Migration, Tests + Mock-Daten entfernt
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 38s
CI / test-python-backend-compliance (push) Successful in 38s
CI / test-python-document-crawler (push) Successful in 22s
CI / test-python-dsms-gateway (push) Successful in 19s

- Migration 024: compliance_dsfas + compliance_dsfa_audit_log Tabellen
- dsfa_routes.py: CRUD + stats + audit-log + PATCH status Endpoints
- Proxy: /api/sdk/v1/dsfa/[[...path]] → backend-compliance:8002/api/v1/dsfa
- dsfa/page.tsx: mockDSFAs entfernt → echte API (loadDSFAs, handleCreateDSFA, handleStatusChange, handleDeleteDSFA)
- GeneratorWizard: kontrollierte Inputs + onSubmit-Handler
- reporting/page.tsx: getMockReport() Fallback entfernt → Fehlerstate
- dsr/[requestId]/page.tsx: mockCommunications entfernt → leeres Array (TODO: Backend fehlt)
- 52 neue Tests (680 gesamt, alle grün)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-04 22:41:05 +01:00
parent dc0d38ea40
commit a694b9d9ea
8 changed files with 1199 additions and 182 deletions

View File

@@ -21,6 +21,7 @@ from .quality_routes import router as quality_router
from .loeschfristen_routes import router as loeschfristen_router
from .legal_template_routes import router as legal_template_router
from .compliance_scope_routes import router as compliance_scope_router
from .dsfa_routes import router as dsfa_router
# Include sub-routers
router.include_router(audit_router)
@@ -43,6 +44,7 @@ router.include_router(quality_router)
router.include_router(loeschfristen_router)
router.include_router(legal_template_router)
router.include_router(compliance_scope_router)
router.include_router(dsfa_router)
__all__ = [
"router",
@@ -66,4 +68,5 @@ __all__ = [
"loeschfristen_router",
"legal_template_router",
"compliance_scope_router",
"dsfa_router",
]