Commit Graph

13 Commits

Author SHA1 Message Date
Ilya Mukhortov 008884f1ac Extract the FIAS domain into an installable address package.
The service keeps Django project wiring and gRPC, and depends on the package through a uv workspace.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 10:34:38 +10:00
Ilya Mukhortov c503f9effb Create a Django superuser on container start when none exists.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 12:22:19 +10:00
Ilya Mukhortov 633becb075 Cache address search in Redis and invalidate after FIAS import.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 11:07:32 +10:00
Ilya Mukhortov 1d2a1c3f95 Add parent KLADR and FIAS filters to AddressObject search.
These identifiers already worked for houses; expose them on streets and other objects so clients can filter by parent without the database id.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 20:49:47 +10:00
Ilya Mukhortov 3d963311fd Require region_code again for universal search.
kladr_id and fias_id stay as filters; /search and gRPC Search no longer accept them as a substitute for the region.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 11:53:17 +10:00
Ilya Mukhortov 30df6ee627 Add fias_id lookup next to kladr_id in address and house search.
Clients can resolve objects and houses by FIAS GUID without region_code or parent_id.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 11:50:28 +10:00
Ilya Mukhortov 3cc7a864ab Add KLADR and parent FIAS lookup to HTTP and gRPC search.
Clients can resolve address objects by kladr_id and houses by the street's KLADR or FIAS id without the internal parent_id.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 11:42:23 +10:00
Ilya Mukhortov 00a32f2a4c Serve UI, API, and admin under /address-service/.
Keep API at {prefix}api/ so Caddy can use a static URL_PREFIX, including /.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 20:56:48 +10:00
Ilya Mukhortov c5c7e3753f Serve the built React client from the image and slim Docker layers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:48:53 +10:00
Ilya Mukhortov 978f33341b Require PostgreSQL and bootstrap the Docker image on startup.
Drop SQLite, import the address dump when AddressObject is empty, and publish linux/amd64 to the registry.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 12:52:52 +10:00
Ilya Mukhortov 144ebdcad6 Rebuild FIAS import around streamed GAR zip and reset schema migrations.
Patient search is subject → locality → street → house; municipal containers
are skipped, and KLADR/postal params load from the same archive without unpacking.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 16:12:14 +10:00
med-logic 820b6d1809 Require region before address search 2026-08-28 17:31:15 +10:00
med-logic e356fb8e82 Manage container services with s6-overlay 2026-08-12 11:17:23 +10:00