Commit graph

21 commits

Author SHA1 Message Date
Khalim Conn-Kowlessar
735e83cef2 Relocate condition-data ingestion into the DDD layout 🟪
Behaviour-preserving lift-and-shift of the condition module out of legacy
backend/condition/ into domain/condition, infrastructure/condition,
infrastructure/postgres/condition_tables.py, repositories/condition,
applications/condition, and tests/condition. Imports rewritten to the DDD
paths; ConditionPostgres and the ORM models keep the legacy backend.app.db
Base/db_session bridges so the existing suite proves behaviour is unchanged
(SQLModel + session-DI conversion tracked as a follow-up in ADR-0064).

16 condition tests pass at the new location.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 14:51:25 +00:00
Daniel Roth
d0847681c1 tidy up logs 2026-02-10 09:42:29 +00:00
Daniel Roth
b026a7ae9e log db session but dont write to db 2026-02-10 09:02:44 +00:00
Daniel Roth
68b12c7344 trigger rebuild and deploy 2026-02-09 12:49:32 +00:00
Daniel Roth
0e4da14673 get lookup file bucket and key from payload per message 2026-02-09 09:56:41 +00:00
Daniel Roth
62906f6023 get file type from request body 2026-02-04 14:29:43 +00:00
Daniel Roth
cd24804ca2 Optionally inject uprn lookup into parser 🟩 2026-02-04 12:14:42 +00:00
Daniel Roth
32555640c9 Load surveys to database as part of processing 2026-01-29 12:15:52 +00:00
Daniel Roth
751032e666 fixes so it actually runs 2026-01-28 09:54:33 +00:00
Daniel Roth
a0fa676230 Map peabody data to new structure 🟥 2026-01-27 13:53:09 +00:00
Daniel Roth
6a2bb26bae Redefine conditions data structures. Mapping tests broken 2026-01-27 13:29:06 +00:00
Daniel Roth
d2ce135f07 final missing mappings 2026-01-26 16:45:36 +00:00
Daniel Roth
fa72d16239 small tidies 2026-01-22 15:21:31 +00:00
Daniel Roth
dfe0460155 Pass survey year to mapper rather than using today's year 2026-01-21 12:14:16 +00:00
Daniel Roth
25923cbc9f add mapping to processor 2026-01-21 12:09:02 +00:00
Daniel Roth
7846f9c949 Adjust EPC column name to correctly include trailing space 2026-01-20 10:34:09 +00:00
Daniel Roth
6ff652ff34 parse lbwf houses 🟩 2026-01-19 16:23:11 +00:00
Daniel Roth
60f3f0c222 parse lbwf houses 🟥 2026-01-19 14:50:05 +00:00
Daniel Roth
049a93fa26 Create FileType enum 🟪 2026-01-19 11:47:32 +00:00
Daniel Roth
c073a4cb43 Parser factory chooses parser class based on filepath 🟥 2026-01-19 11:08:30 +00:00
Daniel Roth
e277e270ab Move processor.py out of ingestion directory 2026-01-19 10:13:00 +00:00
Renamed from backend/condition/ingestion/processor.py (Browse further)