Реализованы сервисы ВМ2 - проверка сообщений и синхронизация с Б24 (деплой еще без перевода в боевой режим)

This commit is contained in:
mi
2026-08-13 18:52:42 +03:00
parent 5100ba9fc3
commit 99605b1c77
144 changed files with 15295 additions and 1120 deletions
@@ -0,0 +1,25 @@
from __future__ import annotations
import pytest
from app.config import Settings
@pytest.fixture
def full_settings() -> Settings:
return Settings(
enabled=True,
mode="full",
database_url="postgresql+asyncpg://user:pass@db/han",
crm_rest_webhook_url="https://portal.example/rest/1/credential/",
contact_receiver_token="contact-token-value-32-characters",
alert_receiver_token="alert-token-value-32-characters---",
service_token="service-token-value-32-characters-",
portal_host="portal.example",
portal_member_id="member_12345678",
public_base_url="https://sync.example",
contact_user_id_field="UF_CRM_100",
contact_registered_field="UF_CRM_101",
contact_citizenship_field="UF_CRM_102",
webhook_allowed_cidrs="203.0.113.0/24",
)