feat(registries): add SME and budget imports and fix source API workflows
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 9m37s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 4m18s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy customer main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 1m48s

This commit is contained in:
Aleksandr Meshchryakov
2026-09-13 23:13:47 +02:00
parent c863563851
commit 49cbfd265c
50 changed files with 5021 additions and 452 deletions

View File

@@ -56,6 +56,30 @@ class ParserSourceDescriptor:
PARSER_SOURCES: dict[str, ParserSourceDescriptor] = {
"fns_sme_support_recipients": ParserSourceDescriptor(
key="fns_sme_support_recipients",
source=ParserLoadLog.Source.FNS_SME_SUPPORT_RECIPIENTS,
title="Реестр субъектов МСП — получателей поддержки",
agency="ФНС России",
data_scope="Меры поддержки организаций канонического реестра",
task_name="parsers.fns_sme_support_recipients.refresh",
upstream_url="https://www.nalog.gov.ru/opendata/7707329152-rsmppp/",
access_method="open_data",
parser_strategy="streaming_xml_snapshot",
admin_only=True,
),
"budget_ubpandnubp": ParserSourceDescriptor(
key="budget_ubpandnubp",
source=ParserLoadLog.Source.BUDGET_UBPANDNUBP,
title="Реестр участников бюджетного процесса",
agency="Федеральное казначейство",
data_scope="Бюджетные сведения организаций канонического реестра",
task_name="parsers.budget_ubpandnubp.refresh",
upstream_url="https://budget.gov.ru/epbs/registry/ubpandnubp/data",
access_method="official_api",
parser_strategy="paginated_own_organizations_snapshot",
admin_only=True,
),
"industrial": ParserSourceDescriptor(
key="industrial",
source=ParserLoadLog.Source.INDUSTRIAL,