Commit graph

168 commits

Author SHA1 Message Date
Khalim Conn-Kowlessar
c2fcd0041f debugging local lambda run and updating the sap point checking condition 2023-09-13 18:47:12 +01:00
Khalim Conn-Kowlessar
cde303a0c0 Added in pre-processor 2023-09-13 18:06:48 +01:00
Khalim Conn-Kowlessar
d5bb04a091 minor modifications to pre processor for it to work in the backend 2023-09-13 16:27:13 +01:00
Khalim Conn-Kowlessar
1fdbdbad07 simplying router for recommendation engine wip 2023-09-13 15:54:41 +01:00
Khalim Conn-Kowlessar
f8a4884deb fixing unit tests for Property class 2023-09-13 15:50:20 +01:00
Khalim Conn-Kowlessar
dd90065874 Adding in get_cleaned function 2023-09-13 13:30:45 +01:00
Khalim Conn-Kowlessar
98b6261fe1 fixing api call to sap model 2023-09-13 10:54:53 +01:00
Khalim Conn-Kowlessar
bc398489af giving lambda permissions to PREDICTIONS_BUCKET and DATA_BUCKET 2023-09-13 10:29:32 +01:00
Khalim Conn-Kowlessar
57bc7ea4ed Added logging to fastapi 2023-09-13 10:13:05 +01:00
Khalim Conn-Kowlessar
b61ca06661 Allowing all s3 permissions for predictions bucket for sapmodel 2023-09-12 18:59:55 +01:00
Khalim Conn-Kowlessar
62f812cd71 Fixing issue with sap model parsing event body 2023-09-12 18:48:33 +01:00
Khalim Conn-Kowlessar
547172a6e8 copying over simulation system DataProcessor to backend dockerfile and adding 120 second timeout 2023-09-12 18:07:07 +01:00
Khalim Conn-Kowlessar
dd49798dad finalising recommendations api 2023-09-12 17:50:39 +01:00
Khalim Conn-Kowlessar
cda0ceb009 recommendation api working locally 2023-09-12 17:27:28 +01:00
Khalim Conn-Kowlessar
28bdc119fd finishing implementation of the model wip 2023-09-12 17:18:10 +01:00
Khalim Conn-Kowlessar
6e1607bbba debugging cleaning class 2023-09-07 15:06:13 +03:00
Khalim Conn-Kowlessar
e05e8ff636 Added TODO 2023-09-05 18:32:30 +01:00
Khalim Conn-Kowlessar
ee15ae8466 Implementing sap model into the backend, almost complete 2023-09-05 18:29:38 +01:00
Khalim Conn-Kowlessar
02208cbf4a implementing sap model api call to backend and fixing bug in DataProcessor 2023-09-05 18:03:25 +01:00
Khalim Conn-Kowlessar
637ada9cb3 Implementing sap model api to backend wip 2023-09-05 15:47:26 +01:00
Khalim Conn-Kowlessar
e8556ae607 correct docker image 2023-08-24 20:46:48 +01:00
Khalim Conn-Kowlessar
a71bd53592 correct docker image 2023-08-24 20:46:12 +01:00
Khalim Conn-Kowlessar
d6c29cc516 correct docker image 2023-08-24 20:45:10 +01:00
Khalim Conn-Kowlessar
2fd169873a correct docker image 2023-08-24 20:44:31 +01:00
Khalim Conn-Kowlessar
d9b856a5ba switch actions file to not use arm64 2023-08-24 20:22:16 +01:00
Khalim Conn-Kowlessar
33a6587e70 revert back to x86 2023-08-24 20:12:37 +01:00
Khalim Conn-Kowlessar
0883dd6c37 Adding doumentation on lambda emulation locally 2023-08-24 18:21:06 +01:00
Khalim Conn-Kowlessar
c56641d8dc added pkgconf 2023-08-24 17:40:34 +01:00
Khalim Conn-Kowlessar
710b6b4648 adding run local lambda and added make to system dependencies install 2023-08-24 17:26:22 +01:00
Khalim Conn-Kowlessar
e64add45d6 trying to get mip working in arm64 2023-08-24 17:13:40 +01:00
Khalim Conn-Kowlessar
966ea393d7 Add back in slim bullseye 2023-08-24 16:56:51 +01:00
Khalim Conn-Kowlessar
29bd2dbd67 test switching slim bullseye to bullseye 2023-08-24 16:34:14 +01:00
Khalim Conn-Kowlessar
9c1b60a77f test removing pip install 2023-08-24 16:08:18 +01:00
Khalim Conn-Kowlessar
dc1546967b removing install of netcat 2023-08-24 15:57:53 +01:00
Khalim Conn-Kowlessar
809a4d6a6c using arm64 base image 2023-08-24 15:52:56 +01:00
Khalim Conn-Kowlessar
04beb0d510 testing changing the docker file to perform a multi-stage build to optimise image size 2023-08-24 15:20:43 +01:00
Khalim Conn-Kowlessar
57a67cd9c4 using most recent version of mip 2023-08-24 15:12:36 +01:00
Khalim Conn-Kowlessar
c4369660f0 adding boto3 to fastapi image 2023-08-24 15:04:37 +01:00
Khalim Conn-Kowlessar
e0d6793284 adding awslambdaric 2023-08-24 14:56:19 +01:00
Khalim Conn-Kowlessar
aff4cce777 changing the working directory to var/task/Model for the docker to align with lambda requirements 2023-08-24 14:00:10 +01:00
Khalim Conn-Kowlessar
7f9b973890 removing CMD directive and specifying handler in serverless script 2023-08-24 13:40:07 +01:00
Khalim Conn-Kowlessar
efe07a6e87 Adding instructions to run docker locally 2023-08-24 13:34:14 +01:00
Khalim Conn-Kowlessar
0371a810e7 adding custom domain back into serverless script 2023-08-24 13:17:19 +01:00
Khalim Conn-Kowlessar
f27f6838cc Updated lamdba's dockerfile and serverless script to try and build the lambda from the docker image in ecr 2023-08-24 10:20:23 +01:00
Khalim Conn-Kowlessar
96ac0135e9 transforming lambda to use docker wip 2023-08-22 09:52:42 +01:00
Khalim Conn-Kowlessar
ad6ed75cc3 using v old version of python mip 2023-08-21 21:28:47 +01:00
Khalim Conn-Kowlessar
b26311f417 tryin mip 1.14 2023-08-21 21:16:08 +01:00
Khalim Conn-Kowlessar
2589a46d06 downgrading mip to try and get it working with aws lambda 2023-08-21 20:48:57 +01:00
Khalim Conn-Kowlessar
cc64fdfd21 moving epc_to_sap_lower_bound 2023-08-21 20:39:24 +01:00
Khalim Conn-Kowlessar
33b142aea2 Added mip to requirements 2023-08-21 20:27:24 +01:00