Commit Graph
29 Commits
Author SHA1 Message Date
joshuacoles 21a63a10a4 Fix some clippy lints 2024-08-09 09:56:23 +01:00
joshuacoles 08766dc0e0 Stash 2024-08-09 09:43:10 +01:00
joshuacoles 3b2c1aeda0 Add some documentation to the CLI and the csv ingestion route
Build and Publish Docker Container / build (push) Has been cancelled
2024-06-03 20:26:31 +01:00
joshuacoles b37273cfbe Fix Dockerfile.cache glibc version
Build and Publish Docker Container / build (push) Successful in 14m11s
2024-06-03 20:14:41 +01:00
joshuacoles d7d7fa9718 Investigate cargo-chef to cache things
Build and Publish Docker Container / build (push) Has been cancelled
2024-06-03 20:09:00 +01:00
joshuacoles b563bbd02c Add a little more CLI structure for local runs 2024-06-03 19:59:22 +01:00
joshuacoles 97f57803e5 Expose more information in logging and improve error handling
Build and Publish Docker Container / build (push) Successful in 9m28s
2024-06-03 19:04:44 +01:00
joshuacoles 046ce44d23 rustfmt
Build and Publish Docker Container / build (push) Successful in 10m2s
2024-06-03 18:41:32 +01:00
joshuacoles f70d844ff3 Fix ORM failing to handle empty lists... 2024-06-03 18:41:21 +01:00
joshuacoles 61de38b9bf Add monzo-row parsing testcases
Build and Publish Docker Container / build (push) Successful in 9m19s
2024-06-03 17:41:43 +01:00
joshuacoles 4bb9f2813d Move transaction whittling out of the database
Build and Publish Docker Container / build (push) Successful in 9m56s
2024-06-03 12:12:45 +01:00
joshuacoles 3df05b2d9c Add identity_hash column
Build and Publish Docker Container / build (push) Failing after 9m27s
2024-05-29 21:08:51 +01:00
joshuacoles f19f861297 Introduce MonzoRow as an intermediary between json/csv and the database entities. This will allow for hashing to perform identity checks 2024-05-29 20:49:48 +01:00
joshuacoles 89d0d12e26 Make SQLx logging debug level and add tower-http traces
Build and Publish Docker Container / build (push) Successful in 10m20s
2024-05-29 20:12:40 +01:00
joshuacoles 62d5ad8dc2 Add testing for notify behaviour
Build and Publish Docker Container / build (push) Successful in 9m24s
2024-05-29 20:00:47 +01:00
joshuacoles a2a47b276a I forgot to wrap the string... damn. God, I really need a test suite 2024-05-29 18:51:12 +01:00
joshuacoles 8ce60ce278 rustfmt
Build and Publish Docker Container / build (push) Successful in 6m33s
2024-05-28 17:38:45 +01:00
joshuacoles fbf473b3b4 Split up the db methods and move to unprepared statements for the notify call 2024-05-28 17:38:25 +01:00
joshuacoles 848da0f5f3 Notify monzo_new_transactions with a list of IDs when we insert new transactions
Build and Publish Docker Container / build (push) Successful in 7m10s
2024-05-28 15:48:56 +01:00
joshuacoles 11fa106cf5 Return newly inserted transaction ids 2024-05-28 15:48:56 +01:00
joshuacoles 660b7b8676 Rustfmt 2024-05-28 15:48:55 +01:00
joshuacoles 5da46563d1 Update dependencies
Build and Publish Docker Container / build (push) Failing after 56s
2024-02-22 17:14:22 +00:00
joshuacoles cab285b8df Add doc comments to config 2023-09-05 19:06:08 +01:00
joshuacoles 550b4758b2 Make migrations optional and change the table name to not conflict with other applications
Build and Publish Docker Container / build (push) Successful in 7m33s
2023-09-05 18:29:35 +01:00
joshuacoles 5440601a14 Rename ingestion.rs to routes.rs to more accurately reflect its purpose 2023-09-04 17:42:07 +01:00
joshuacoles ce8a22203d And the compose deploy now works 2023-09-04 17:41:19 +01:00
joshuacoles cad7a4f7b3 Add health check 2023-09-04 17:02:57 +01:00
joshuacoles b6e7c870a7 Import of old stuff, it might work now 2023-09-04 17:00:48 +01:00
joshuacoles 554e645f92 Initial work 2023-09-04 15:29:21 +01:00