Commit graph

4676 commits

Author SHA1 Message Date
Daniel Roth
62acc3ce98 Paginate get_plans to return flat list[PlanSummary] 🟥 2026-05-12 14:45:09 +00:00
Daniel Roth
8727a78f8b correct magic plan url paths 🟩 2026-05-12 14:33:58 +00:00
Daniel Roth
beaf21fdcc correct magic plan url paths 2026-05-12 14:32:37 +00:00
Daniel Roth
75d0313934 fix broken magicplan handler tests 2026-05-12 14:14:37 +00:00
Daniel Roth
04df924146 fix local invoker 2026-05-12 14:13:12 +00:00
Daniel Roth
3df726937e Remove unused _api_key instance variable now auth is fully header-based 🟪 2026-05-12 14:03:07 +00:00
Daniel Roth
eb381a778c _fetch_plan() sends no API key query parameter 🟩 2026-05-12 14:02:17 +00:00
Daniel Roth
7752039dbd _fetch_plan() sends no API key query parameter 🟥 2026-05-12 14:01:40 +00:00
Daniel Roth
20b32bcda0 get_plans() sends no API key query parameter 🟩 2026-05-12 14:01:35 +00:00
Daniel Roth
ffcff33dd4 get_plans() sends no API key query parameter 🟥 2026-05-12 14:00:07 +00:00
Daniel Roth
d59bf2d7cb Set API key as session header on MagicPlanClient construction 🟩 2026-05-12 13:59:33 +00:00
Daniel Roth
da4f5f44c0 Set API key as session header on MagicPlanClient construction 🟥 2026-05-12 13:58:16 +00:00
Daniel Roth
a672c0dea0 add localhandler for testing and update requirements 2026-05-12 13:51:46 +00:00
Daniel Roth
a477561bbc correct tfstate bucket name 2026-05-12 13:03:04 +00:00
Daniel Roth
ec7acabaf8 reinstate deleted policy so it can be unattached from entities 2026-05-12 11:48:39 +00:00
Daniel Roth
f5bbd2efb3 add missing tf_vars to deploy_lambda workflow 2026-05-12 11:23:50 +00:00
Daniel Roth
0e18bc2643 Merge branch 'main' into feature/magicplan-trigger 2026-05-12 11:18:05 +00:00
Daniel Roth
bae0dc1ac6
Merge pull request #1060 from Hestia-Homes/feature/magicplan-trigger
MagicPlan lambda and trigger
2026-05-12 12:01:17 +01:00
Daniel Roth
71aadfe78d add pashub functions to orchestrator tests, and rename existing magicplan ones 2026-05-12 09:31:47 +00:00
Daniel Roth
9501146ec8 Replace new-deal MagicPlan trigger to use outcome=="surveyed" 🟪 2026-05-12 08:59:32 +00:00
Daniel Roth
9386846044 Replace new-deal MagicPlan trigger to use outcome=="surveyed" 🟩 2026-05-12 08:58:15 +00:00
Daniel Roth
f0300eb8ff Replace new-deal MagicPlan trigger to use outcome=="surveyed" 🟥 2026-05-12 08:57:24 +00:00
Daniel Roth
5ed120b83b Merge branch 'main' into feature/magicplan-trigger 2026-05-11 15:57:58 +00:00
Daniel Roth
a8fc80559a
Merge pull request #1063 from Hestia-Homes/feature/etl_process_for_old_csv
added histroci_epc.csv
2026-05-11 16:36:30 +01:00
Jun-te Kim
197e9a0e00 added histroci_epc.csv 2026-05-11 15:21:16 +00:00
Daniel Roth
c15ffdf2c0 Trigger MagicPlan on outcome "surveyed" transition 🟩 2026-05-11 09:26:20 +00:00
Daniel Roth
2049553176 Trigger MagicPlan on outcome "surveyed" transition 🟥 2026-05-11 09:25:41 +00:00
Daniel Roth
6fd95d20af Merge branch 'main' into feature/magicplan-trigger 2026-05-11 09:06:47 +00:00
Jun-te Kim
3638c09a7b
Merge pull request #1061 from Hestia-Homes/feature/etl_process_for_old_csv
Feature/etl process for old csv
2026-05-11 09:58:12 +01:00
Jun-te Kim
bf91722f30 renamed a function to be self commenting 2026-05-11 08:45:26 +00:00
Jun-te Kim
dccb35c2bc fixed s3 location 2026-05-11 08:44:55 +00:00
Jun-te Kim
fb758b76bf changed to utils 2026-05-11 08:37:44 +00:00
Daniel Roth
aadf73ed87 combine s3 write policies into one and apply to pashub and magicplan lambdas 2026-05-08 15:44:14 +00:00
Daniel Roth
1243690d10 give handler permission to write to s3 bucket 2026-05-08 15:41:12 +00:00
Daniel Roth
ce2b61d60b Upload gzip-compressed MagicPlan JSON to S3 - only make one API call 🟪 2026-05-08 15:07:09 +00:00
Jun-te Kim
7ef5dc4922 update csv 2026-05-08 15:06:41 +00:00
Jun-te Kim
c9c43f178c demo generated for use in address2uprn 2026-05-08 14:48:15 +00:00
Daniel Roth
9f62e3c31a typehint 2026-05-08 14:30:59 +00:00
Daniel Roth
e1972e4349 Upload gzip-compressed MagicPlan JSON to S3 🟪 2026-05-08 14:23:32 +00:00
Daniel Roth
337474e773 Persist UploadedFile record for each MagicPlan S3 upload 🟩 2026-05-08 14:20:49 +00:00
Daniel Roth
8ac77ce8b9 Persist UploadedFile record for each MagicPlan S3 upload 🟥 2026-05-08 14:19:49 +00:00
Daniel Roth
03e8750c1a Upload MagicPlan JSON to S3 using hubspot_deal_id key when UPRN absent 🟩 2026-05-08 14:17:51 +00:00
Daniel Roth
14a064fdef Upload gzip-compressed MagicPlan JSON to S3 🟩 2026-05-08 14:16:41 +00:00
Daniel Roth
7c9cb5b161 Upload gzip-compressed MagicPlan JSON to S3 🟥 2026-05-08 14:14:42 +00:00
Daniel Roth
f6c17be70a Expose get_plan_raw method on MagicPlanClient 🟩 2026-05-08 14:09:33 +00:00
Daniel Roth
c3aae8fd51 Expose get_plan_raw method on MagicPlanClient 🟥 2026-05-08 14:08:56 +00:00
Daniel Roth
4a9cabe197 Add hubspot_deal_id required field to MagicPlanTriggerRequest 🟩
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 13:45:10 +00:00
Daniel Roth
74b3a7f297 Add hubspot_deal_id required field to MagicPlanTriggerRequest 🟥
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 13:42:57 +00:00
Daniel Roth
e30e06cb6e simplify dockerfile as playwright not used 2026-05-08 13:24:04 +00:00
Daniel Roth
317ca7c64f Merge branch 'main' into feature/magicplan-trigger 2026-05-08 13:18:46 +00:00