refactor(external_data): shorten security registries route
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
- `financial-summary`, `economics`, `personnel`, `equipment`, `products`, `forecast`, `risk-profile`, `dashboard`.
|
||||
- дополнена проверка query-валидации для invalid `economics`-запроса.
|
||||
- **Pass 5 — Внешние контуры (2026-04-14): завершён**
|
||||
- добавлен endpoint `information-security-registry-entries/` с фильтрами `organization` и `presence_status`.
|
||||
- добавлен endpoint `security-registries/` с фильтрами `organization` и `presence_status`.
|
||||
- расширены contract checks для внешних списков (prod/products/prosecutor/public-procurement/arbitration/security).
|
||||
- **Pass 6 — Финализация (2026-04-14): завершён**
|
||||
- доработан выбор "последней" фоновой задачи в `admin/users` по фактическому временному событию:
|
||||
@@ -204,7 +204,7 @@
|
||||
- Проверить фильтры дат и enum-валидаторы.
|
||||
- Свести response к единой форме пагинации.
|
||||
|
||||
### 5.3 Новый `GET /api/v1/information-security-registry-entries/`
|
||||
### 5.3 Новый `GET /api/v1/security-registries/`
|
||||
- Добавить модель/миграцию/serializer/viewset при отсутствии.
|
||||
- Добавить фильтр по `organization`, `presence_status` и пагинацию.
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
|
||||
### Pass 5. Внешние данные
|
||||
- [x] Довести внешние реестры к единообразным фильтрам/ответам. (2026-04-14)
|
||||
- [x] Добавить `information-security-registry-entries`. (2026-04-14)
|
||||
- [x] Добавить `security-registries`. (2026-04-14)
|
||||
|
||||
### Pass 6. Финализация
|
||||
- [x] Обновить OpenAPI по всем контрактам.
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
| 5 | GET /api/v1/prosecutor-checks/ | Есть | Проверить filters | API | Проверить `law_type`, дата-диапазон |
|
||||
| 5 | GET /api/v1/public-procurements/ | Есть | Проверить filters | API | Проверить `law_type`, дата-диапазон |
|
||||
| 5 | GET /api/v1/arbitration-cases/ | Есть | Проверить filters | API | Проверить `party_role`, дата-диапазон |
|
||||
| 5 | GET /api/v1/information-security-registry-entries/ | Нет | Отсутствует endpoint | NEW | Добавить сущность/endpoint/фильтр |
|
||||
| 5 | GET /api/v1/security-registries/ | Нет | Отсутствует endpoint | NEW | Добавить сущность/endpoint/фильтр |
|
||||
| 6 | OpenAPI | Частично | Недостаточная детализация multipart/error | DOC | Обновить документацию для всех touched endpoints |
|
||||
|
||||
## Риск-реестр (Pass 1)
|
||||
|
||||
Reference in New Issue
Block a user