• K kiroshi-ai
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 0
    • Задачи 0
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 0
    • Запросы на слияние 0
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Метрики
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • Погораев Олег Петрович
  • kiroshi-ai
  • Запросы на слияние
  • !5

Communication between users and subscription. Subscription added to Docker Compose.

  • Ревью изменений

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты Погораев Олег Петрович запросил слияние develop в master Дек 10, 2024
  • Обзор 2
  • Коммиты 28
  • Конвейеры 0
  • Изменения 28

Created by: oblivisheee

This pull request includes several changes to improve the subscription service, including updates to configuration files, Docker setup, and error handling. The most important changes are grouped by theme below:

Configuration and Setup:

  • Removed the users-docker-config.json file and updated docker-compose.yaml to remove the volume mount for this file. Added a new subscription service with its configuration. [1] [2]
  • Added a new network nginx to docker-compose.yaml for better network isolation. [1] [2]
  • Updated the nginx.conf to include new locations for subscription-related routes.

Dependency Management:

  • Added new dependencies bytes and redis to subscription/Cargo.toml for handling Redis operations.

Error Handling:

  • Enhanced the Error enum in subscription/src/errors.rs to include new variants for Redis and NATS errors. Added corresponding methods to handle these errors. [1] [2] [3] [4]

Redis Integration:

  • Updated various functions in subscription/sql/funcs_plans.surql and subscription/sql/funcs_subs.surql to include type annotations for parameters. [1] [2] [3] [4]
  • Integrated Redis caching in subscription/src/interfaces.rs to cache subscription plans and invalidate the cache on updates. [1] [2] [3]

Dockerfile and Build:

  • Added a new Dockerfile and justfile for the subscription service, including a basic setup for building and running the service. [1] [2]
Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: develop