P1: Реализовать коммерческие календари (BackSpec §2.1.2) #54
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Проблема
Commercial-контур неполный относительно контракта EventHubSpec#6 (§2.1.2):
booking на personal не запрещён; confirmation auto/timeout не применяется; pending не резервирует capacity;
expire делает type→personal вместо restricted; нет HTTP API specialists; нет периодического expire-job.
Ожидаемый результат
Реализация BackSpec §2.1.2 / §2.3 / §2.9:
booking_openexpired+ cancel pending, без downgrade typebooking_openКритерии приёмки
personal_calendarsubscription_inactive; GET calendar сbooking_open=falseСвязь
Спека: EventHub/EventHubSpec#6
Приоритет
P1
Беру в работу. Реализация BackSpec §2.1.2: booking_open, confirmation, specialists, expire=restrict.
Прогресс (Back)
Реализовано по §2.1.2:
booking_openв JSON календаря; gate booking: personal / subscription_inactive / own_eventsubscription_workerexpired+ cancel pending, без type→personal; renew восстанавливает booking_opencalendar_specialistPK=idТесты:
logic_booking_tests,booking_integration_tests,logic_calendar_tests,core_subscription_tests— 42/0.Коммит/пуш — по запросу. Front #15 — отдельно.
Готово
Коммерческие календари реализованы на бэке.
Что сделано
Тесты
Локально: make test-all — eunit 969 + CT 40 зелёные.
Коммиты
af5f506(Refs #54)Front UI — отдельно EventHubFront#15.