Detayli B2B Mimarisi
Bu sayfa `mimari.json` temel alinarak olusturulmustur. Tum moduller standard job contract ile entegre edilir.
Client Apps
- Public SEO website
- Customer portal
- Admin panel
Core Microservices
- api_gateway_or_bff
- identity_service + tenant_service
- catalog, billing, entitlement
- usage_metering, reporting, audit_log
Data/Infra
- PostgreSQL (tenant_id)
- Redis cache + queue
- Object storage artifacts
- OpenTelemetry + alerts
Integrated Modules
- chatbot-saas
- dokuman-isleme
- ai-analytics-platform
- autoflow-dashboard
- security-ai-platform
- neural-edge-studio
Job States
- QUEUED
- RUNNING
- SUCCEEDED
- FAILED
- CANCELLED
Güvenlik
- JWT + RBAC + tenant isolation
- Audit log immutable kayıt
- Rate limiting + file validation
- MFA/SSO opsiyonel
API Surface
POST /auth/login
GET /products
POST /checkout
GET /entitlements
POST /jobs
GET /jobs/{id}/result
GET /usage/summary
Purchase -> Activation Flow: checkout -> payment webhook -> entitlement activation -> portal visibility -> usage metering.
Job Flow: submit job -> entitlement check -> queue -> worker execution -> artifacts -> result fetch + notification.