Add state-corp exchange package sender
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m54s
CI/CD Pipeline / Run Tests (push) Successful in 3m35s
CI/CD Pipeline / Run API Inventory E2E Tests (push) Successful in 50s
CI/CD Pipeline / Telegram Notify Success (push) Successful in 19s

This commit is contained in:
2026-04-07 16:53:06 +02:00
parent e306ad8f0f
commit 898e492538
9 changed files with 680 additions and 0 deletions

View File

@@ -10,6 +10,14 @@ SECRET_KEY = "django-insecure-development-key-mostovik-2024"
DEBUG = True
ALLOWED_HOSTS = ["*"]
OPENAPI_USE_ENGLISH_TAGS = True
STATE_CORP_EXCHANGE_URL = os.getenv(
"STATE_CORP_EXCHANGE_URL",
"http://127.0.0.1:8001/api/v1/exchange/packages/upload/",
)
STATE_CORP_EXCHANGE_TOKEN = os.getenv(
"STATE_CORP_EXCHANGE_TOKEN",
"state-corp-dev-exchange-token-v1",
)
# JWT
SIMPLE_JWT["SIGNING_KEY"] = SECRET_KEY