be8d42da18
Merge pull request 'Moved database module to separate library' (#8) from feature/database-module into main
florian2025-11-06 17:17:28 +01:00
dd5c0575ed
Moved database module to separate library
Florian2025-11-06 17:17:01 +01:00
455974b0dd
Added lib-secret-manager which consumes secrets after application launch
florian2025-11-05 21:45:00 +01:00
2a2954fb29
Merge pull request 'Added Uvicorn logging config module' (#6) from feauture/uvicorn-logging-module into main
florian2025-11-04 11:21:12 +01:00
101e208a8f
Unified logging behaviour - Logger doesn't start with log level DEBUG by default, instead reads a environment variable - Secret handler raises exceptions instead of using the module os to exit - Added extensive debug logging
Florian2025-10-17 08:51:33 +02:00
ead13eba51
Removed user_id from incoming request since I never trusted it anyway
Florian2025-10-15 09:08:33 +02:00
91d86edc3c
Removed health check invocation message
Florian2025-10-13 08:15:24 +02:00
e4ddac872b
Actually start the background thread to check db health
Florian2025-10-12 15:34:04 +02:00
85a58adc98
Merge pull request 'Improved database connection and logging' (#3) from feature/improved-db-handling into main
florian2025-10-12 15:25:08 +02:00
8a656fd734
Improved database connection and logging
Florian2025-10-12 15:24:04 +02:00
68d62e1f1f
Removed pull request feature because I couldn't get it to work, shame! Now I yolo push to main
florian2025-10-11 13:58:05 +02:00
dc0a1fb923
Merge pull request 'Added automatically creating a pull request for ops-deployment with an update image number' (#2) from feature/create-deployment-merge-request into main
florian2025-10-11 10:18:25 +02:00
dc04f2bbec
Added automatically creating a pull request for ops-deployment with an update image number
florian2025-10-10 21:18:11 +02:00
8d2020818d
Forgot properly invoking the exception
florian2025-10-10 12:00:48 +02:00
4d586f4371
Added /health check for Prometheus and added failure capturing incase something went wrong, previous approach would not increase the counter
florian2025-10-10 11:41:36 +02:00
582cc0d9b9
Checking if a valid token has been supplied from the app, only works with Android tokens
Florian2025-10-09 16:31:37 +02:00
191044a2a6
Gitea Actions: Automatically increase image tag by one
Florian2025-10-09 14:19:44 +02:00
e3bd837192
Gitea Actions: Publish to GHCR
Florian2025-10-09 14:22:16 +02:00
ed0dcfeadb
Gracefully opening encryption key and secrets with exit on failure
Florian2025-10-09 08:05:40 +02:00
7fb139b362
Added Prometheus metric endpoint on port 9000
florian2025-10-08 18:51:28 +02:00
799ecdda67
DB and FastAPI: Reconnect if DB goes down, switch to lifespan events in FastAPI, ensure safe startup/shutdown.
florian2025-10-08 18:42:59 +02:00
2a8d06a373
Fixed decoding files to return strings instead of bytes and properly called the function
florian2025-10-08 10:11:53 +02:00
fc878e9d8f
Removed HVAC handler and changed deployment to Kubernetes
florian2025-10-07 20:43:06 +02:00
00bacba60f
Added timestamp logging Changed database lookup to look for a hashed token (that stays the same) and not a encrypted token by the vault which changes
Florian2025-10-03 18:20:15 +02:00