Commit Graph

105 Commits

Author SHA1 Message Date
dongli
c4c34e6cd7 Add template fastapi app, test, README.md, this can be used for future extension 2025-05-11 19:15:41 -07:00
dongli
50087c95be Add template fastapi app, this can be used for future extension 2025-05-11 18:44:05 -07:00
ecad36ac5c Merge pull request 'feat(log): ensure parent directory exists before opening log file' (#5) from refactor/logging into dev
Reviewed-on: freeleaps/freeleaps-service-hub#5
2025-04-21 05:25:41 +00:00
zhenyus
bb90b26883 feat(log): ensure parent directory exists before opening log file
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 13:25:05 +08:00
fcc6d22e4d Merge branch 'dev' into refactor/logging 2025-04-21 02:58:52 +00:00
zhenyus
b8f7307a86 refactor(log): refactoring logging for each service for loki
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 10:55:26 +08:00
b95a818e30 Update payment redirect and scheduler job for deleting document id 2025-04-20 00:05:00 -07:00
Zhenyu Sun
9361f4c545 Merged PR 44: fix: invalid import path for app config
fix: invalid import path for app config

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 13:54:57 +00:00
zhenyus
4dfbab4d4d fix: invalid import path for app config
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:52:07 +08:00
Zhenyu Sun
8e409aea20 Merged PR 43: build(pip): bump fastapi version to 0.114.0
build(pip): bump fastapi version to 0.114.0

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 10:17:09 +00:00
zhenyus
a45698c184 build(pip): bump fastapi version to 0.114.0
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 18:16:41 +08:00
Zhenyu Sun
0f6e4731e3 Merged PR 42: build(pip): freeze missing deps for metrics supports
build(pip): freeze missing deps for metrics supports

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 09:58:23 +00:00
zhenyus
13c883966e build(pip): freeze missing deps for metrics supports
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 17:57:13 +08:00
Zhenyu Sun
9c4cfbff0b Merged PR 41: Implements probes and metrics APIs 2025-03-17 08:17:31 +00:00
zhenyus
d5e42d31a4 feat(observability): add configuration options and implement metrics/probes APIs
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 10:46:02 +08:00
dongli
5e66fa806b Log urls at create_account_link 2025-03-16 13:13:43 -07:00
b12f8cc965 Fix the concatenation issue with message 2025-03-13 23:46:49 -07:00
zhenyus
962292cfe0 chore: enabled orm initialization when startup
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 16:10:47 +08:00
zhenyus
9754576d28 feat(probes): add metrics and probes APIs for application health checks
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 15:59:06 +08:00
Zhenyu Sun
ea9dcb22cb build(pip): bump content deps fastapi to 0.114.0 2025-03-06 17:52:29 +00:00
Zhenyu Sun
13bd2396c4 Merged PR 28: Merge to master to trigger production ci 2025-03-05 18:27:17 +00:00
dongli
0f02181e33 Expose prometheus metrics for all apps 2025-03-02 17:08:08 -08:00
zhenyus
78c72179ec fix(rabbitmq): correct syntax for port and virtual host parameters in AsyncMQClient
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 02:20:01 +08:00
zhenyus
853d817933 feat(notification): add rabbitmq credentials relates notification services configs
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 02:05:25 +08:00
zhenyus
da584b8ffa build(docker): update CMD to use shell for environment variable expansion in Dockerfiles
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-22 22:30:37 +08:00
Zhenyu Sun
9b42dbfa7f build(dockerfile): update entrypoint for authentication 2025-02-22 13:37:47 +00:00
Zhenyu Sun
b0acad860e build(docker): update Dockerfile for notification 2025-02-22 13:00:05 +00:00
Zhenyu Sun
8f799c60ff build(docker): update Dockerfile for payment 2025-02-22 12:34:30 +00:00
Zhenyu Sun
3769af6e93 build(docker): update Dockerfile for notification 2025-02-22 12:34:08 +00:00
Zhenyu Sun
0a7c7429c3 Updated Dockerfile 2025-02-22 11:55:44 +00:00
Zhenyu Sun
f22a2eedf2 build(docker): remove useless scripts in Dockerfile 2025-02-22 11:55:16 +00:00
Zhenyu Sun
be910d4c95 build(docker): remove useless scripts in Dockerfile 2025-02-22 11:54:59 +00:00
Zhenyu Sun
de37fcddba build(docker): remove additional scripts 2025-02-22 11:40:23 +00:00
Jet Li
6028b0a6f0 Create one-off photo_id backfill job 2025-02-07 08:13:59 +00:00
Jet Li
da369dc61b Remove useless variable 2025-02-03 09:13:20 +00:00
Jet Li
81f734c19a Add delete-file endpoint, add remove old documents logic in refresh sharepoint logic 2025-02-03 09:11:48 +00:00
Jet Li
8ab64be6a1 Fix the typo used in the authentication log 2025-02-01 10:24:19 +00:00
Jet Li
43671d684d Fix the last missing piece of extra_filed typo 2025-02-01 07:11:32 +00:00
Jet Li
13171f16b7 Fix authentication log config 2025-02-01 07:02:11 +00:00
Jet Li
59e3c27b3f Fix notification log config 2025-02-01 06:27:51 +00:00
Jet Li
be0725a955 Update payment log config 2025-02-01 06:22:46 +00:00
Jet Li
a33869b7fe Update central storage log config 2025-02-01 05:59:00 +00:00
Jet Li
8cae70a21f Comment out the cleanup_document_job 2025-02-01 05:42:02 +00:00
Jet Li
55e19f3f11 Commt on the change, file clean-up process needed. 2025-01-31 09:14:49 +00:00
Jet Li
20919277d2 Fix the duplicated logging issue 2025-01-31 08:47:58 +00:00
Jet Li
669a5303cd Add one-time document clean-up job 2025-01-31 07:03:27 +00:00
Jet Li
c49ae956f1 Fix bug in refresh_selected 2025-01-31 06:34:32 +00:00
Jet Li
af71b67f04 Fix the bug for OTHER region 2025-01-31 06:21:17 +00:00
Jet Li
5ea86301d9 Hack solution to update selected 2025-01-31 03:52:09 +00:00
Jet Li
fd8514b207 Fix the cache loading for static content 2025-01-30 16:57:57 +00:00