Commit graph

4702 commits

Author SHA1 Message Date
Jun-te Kim
27f2ef5e83 get rid of duplicate function and make better sensible variable name 2026-05-12 13:46:02 +00:00
Jun-te Kim
b0e935d497 make sensible naming for column for address column in df 2026-05-12 13:43:12 +00:00
Jun-te Kim
46ec68e5db save match building number 2026-05-12 13:41:59 +00:00
Jun-te Kim
5cd21d8522 get rid of khalim's json 2026-05-12 12:55:50 +00:00
Jun-te Kim
35d191c70e merged from main and resolved pytest.ini confict 2026-05-12 12:54:28 +00:00
Jun-te Kim
18ea95b67d added env variables for boto 2026-05-12 12:34:17 +00:00
Jun-te Kim
92e5aa6db2
Merge pull request #1068 from Hestia-Homes/feature/magicplan-trigger
Reinstate deleted s3 policy so it can be unattached from entities
2026-05-12 12:56:06 +01:00
Daniel Roth
ec7acabaf8 reinstate deleted policy so it can be unattached from entities 2026-05-12 11:48:39 +00:00
Daniel Roth
fe6a724684
Merge pull request #1066 from Hestia-Homes/feature/magicplan-trigger
Magicplan trigger: add missing tf_var_ variables
2026-05-12 12:25:50 +01:00
Daniel Roth
f5bbd2efb3 add missing tf_vars to deploy_lambda workflow 2026-05-12 11:23:50 +00:00
KhalimCK
ccf8c34aae
Merge pull request #986 from Hestia-Homes/feature/match-on-lmk
protecting pushes to dev
2026-05-12 12:22:43 +01: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
Jun-te Kim
35fea20fc7 changed function name 2026-05-12 10:54:45 +00:00
Jun-te Kim
bec5c4f3c3 one place to have df_has_single_uprn 2026-05-12 10:51:27 +00:00
Jun-te Kim
b364df89ad forgot to add tuple typing 2026-05-12 10:31:54 +00:00
Jun-te Kim
f52fe001cc renamed file 2026-05-12 10:14:16 +00:00
Jun-te Kim
8635e2a1aa change file name of epc client service 2026-05-12 10:08:00 +00:00
Jun-te Kim
2c5c8337cc added more type hints 2026-05-12 10:01:25 +00:00
Jun-te Kim
e06ead55d0 add more type hint 2026-05-12 09:48:21 +00:00
Jun-te Kim
b72d5fbf42 fix nitpick 2026-05-12 09:43:40 +00:00
Jun-te Kim
c22528299c added type hinting to uprn 2026-05-12 09:40:12 +00:00
Jun-te Kim
5edae06a65 added imports at the top of the file instead of function 2026-05-12 09:37:23 +00: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
Jun-te Kim
1934c889b0 refactored test to deal with flats better 2026-05-11 16:23:03 +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
Jun-te Kim
9aae5bf482 added logic to deal with flats 2026-05-11 15:20:17 +00:00
Jun-te Kim
6504785e7c merged from main 2026-05-11 12:30:29 +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