Commit graph

4614 commits

Author SHA1 Message Date
Daniel Roth
feaa1ea680 Add MagicPlan Lambda Dockerfile, CI/CD jobs, and SQS IAM wiring in hubspot_deal_etl 2026-05-08 13:12:13 +00:00
Daniel Roth
fd77fa51fd magic plan client terraform 2026-05-08 13:07:53 +00:00
Daniel Roth
ed68a10127 magic plan client terraform 2026-05-08 13:07:36 +00:00
Daniel Roth
a1a445f6f2 Add MagicPlan SQS trigger to HubSpot orchestrator 🟩 2026-05-08 13:06:43 +00:00
Daniel Roth
489b0ba30e Add MagicPlan SQS trigger to HubSpot orchestrator 🟥 2026-05-08 13:05:38 +00:00
Daniel Roth
69faa530a4 Fix coordination/design field names and add MagicPlan trigger to HubspotDealDiffer 🟩 2026-05-08 12:55:23 +00:00
Daniel Roth
676022a4c0 Fix coordination/design field names and add MagicPlan trigger to HubspotDealDiffer 🟥 2026-05-08 12:53:37 +00:00
Daniel Roth
1ddbb9a79d typo 2026-05-08 11:56:21 +00:00
Daniel Roth
ebf807713c magicplan client ECR 2026-05-08 11:54:17 +00:00
Daniel Roth
1105880b1b
Merge pull request #1056 from Hestia-Homes/feature/magicplan-api-client
Magicplan API client and Service class
2026-05-08 11:37:52 +01:00
Daniel Roth
f903fdefe7 add TODO 2026-05-08 10:20:12 +00:00
Daniel Roth
c5408f3a89 typing 2026-05-08 10:18:12 +00:00
Daniel Roth
f56dba4ad1 use pytest-postgresql in db tests instead of mocking and checking sql strings 2026-05-08 10:13:44 +00:00
Daniel Roth
6a43b5c69b Merge branch 'main' into feature/magicplan-api-client 2026-05-08 08:50:18 +00:00
Jun-te Kim
351ae1675c
Merge pull request #1054 from Hestia-Homes/bug/broken-epc-api
patching EPC api bug
2026-05-07 20:32:59 +01:00
Khalim Conn-Kowlessar
c5fe3efcfe patching EPC api bug 2026-05-07 18:42:41 +01:00
Daniel Roth
6b29086a1e typing and renaming 🟪 2026-05-07 13:26:49 +00:00
Daniel Roth
91a634e637 Lambda handler with SQS trigger and __main__ local runner 🟩 2026-05-07 13:16:08 +00:00
Daniel Roth
05bd2ba3e2 MagicPlanService orchestrating fetch, match, map, persist 🟩 2026-05-07 13:12:00 +00:00
Daniel Roth
1a8b27453e MagicPlanService orchestrating fetch, match, map, persist 🟥 2026-05-07 13:11:18 +00:00
Daniel Roth
2f8e08a676 save_plan persisting domain Plan to magic_plan_* tables 🟩 2026-05-07 13:09:09 +00:00
Daniel Roth
5ec0fa5d04 save_plan persisting domain Plan to magic_plan_* tables 🟥 2026-05-07 13:01:04 +00:00
Daniel Roth
7ff7e90307 SQLModel ORM layer for magic_plan_plan/floor/room/window/door tables 🟩 2026-05-07 12:56:12 +00:00
Daniel Roth
bbcde75b8e MagicPlan HTTP client with auth headers and response parsing 🟩 2026-05-07 12:51:41 +00:00
Daniel Roth
ef5c44f7ae MagicPlan HTTP client with auth headers and response parsing 🟥 2026-05-07 12:49:15 +00:00
Daniel Roth
60c69c4786 match address string to magicplan plan 🟩 2026-05-07 12:43:45 +00:00
Daniel Roth
8e12ac705b match address string to magicplan plan 🟥 2026-05-07 12:41:15 +00:00
Daniel Roth
61b91bdb5e add magicplan environment variables to config 2026-05-07 12:39:45 +00:00
Daniel Roth
5b92c31302 validate magicplan trigger request basemodel object 🟩 2026-05-07 12:38:09 +00:00
Daniel Roth
06567c2844 validate plans api response as pydantic basemodel object 🟩 2026-05-07 12:25:06 +00:00
Daniel Roth
e67604a4a3 validate plans api response as pydantic basemodel object 🟩 2026-05-07 12:23:30 +00:00
Daniel Roth
79db1e2c7e validate plans api response as pydantic basemodel object 🟥 2026-05-07 12:22:04 +00:00
Jun-te Kim
f12984ea47
Merge pull request #1052 from Hestia-Homes/bug/secondary-heating-cost
adding baseline heater cost
2026-05-07 12:27:23 +01:00
Khalim Conn-Kowlessar
181c8069a1 adding baseline heater cost 2026-05-07 12:19:10 +01:00
Daniel Roth
66fc048c93 Merge branch 'main' into feature/magicplan-api-client 2026-05-07 10:48:32 +00:00
Jun-te Kim
3de1de48cd
Merge pull request #1051 from Hestia-Homes/feature/magicplan-api-client
MagicPlan: tweak domain model to align with db schema
2026-05-07 11:32:53 +01:00
Daniel Roth
0dd39a63f2 missing street is not included in address string 🟩 2026-05-06 17:08:34 +00:00
Daniel Roth
25aa57e4b6 missing street is not included in address string 🟥 2026-05-06 17:07:22 +00:00
Daniel Roth
069e6693ae include address and postcode on magicplan plan 🟩 2026-05-06 17:03:49 +00:00
Daniel Roth
3b9d40f2f8 include address and postcode on magicplan plan 🟥 2026-05-06 17:03:00 +00:00
Daniel Roth
da6b04878e add units to lengths 2026-05-06 16:03:28 +00:00
Daniel Roth
b1edf097a8 Merge branch 'main' into feature/magicplan-api-client 2026-05-06 15:24:57 +00:00
Daniel Roth
c7483fceaa
Merge pull request #1050 from Hestia-Homes/feature/magicplan-api-client
MagicPlan: parse API Plan response and map to simple domain objects
2026-05-06 10:53:50 +01:00
Daniel Roth
b57453b8db fix typing problems in mapper 2026-05-06 08:24:57 +00:00
Daniel Roth
079f7e3397 test mapping second api response round dimensions to 2 decimal places 🟩 2026-05-05 16:30:34 +00:00
Daniel Roth
c530f014de fix typing issues 2026-05-05 16:00:59 +00:00
Daniel Roth
9266fb2c8d round dimensions to 2 decimal places 🟩 2026-05-05 15:51:52 +00:00
Daniel Roth
55d7b91171 map magicplan base models to data classes 🟩 2026-05-05 15:46:13 +00:00
Daniel Roth
d3ca6bc7ff delete historic mapping and client 2026-05-05 15:45:36 +00:00
Daniel Roth
452d7512df Merge branch 'main' into feature/magicplan-api-client 2026-05-05 10:51:03 +00:00