Files
chatballs/apps/backend/hub_platform/integrations/apps.py
T
AndreyandClaude Opus 4.8 12227cd448 feat(integrations): M0 — integrations section (providers + connections)
Backend integrations app (ADR-HUB-0020): Integration model (LLM provider /
messenger connection) with Fernet-encrypted secret, config (base_url, default
model), status + last check. DRF CRUD (IsOwner, org-scoped) plus a Проверить
action that validates connectivity — OpenRouter via GET /key, MAX via /me,
Telegram via getMe — and records OK/ERROR with a message. Secret is never
returned by the serializer.

Internal UI: enable the Интеграции section — list grouped by providers /
connections, create/edit modal, test and delete. Wire route, sidebar, titles.

Channel binding of connections and provider-from-DB wiring land in M1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 00:21:23 +03:00

9 lines
257 B
Python

from django.apps import AppConfig
class IntegrationsConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
label = "integrations"
name = "hub_platform.integrations"
verbose_name = "Integrations: providers and connections"