Commit Graph

48 Commits

Author SHA1 Message Date
Nicolas
5d6abb0aa2 fix: remove problematic ModuleLogger dependencies from startup events
- Remove ModuleLogger dependencies from notification and payment services startup
- Fix startup blocking issues caused by circular database dependencies
- Simplify freeleaps_app.py startup flows for both services
- Service startup now completes without database connection dependency
2025-09-26 10:07:07 +08:00
Nicolas
8eb9dcfb0f chore(docker): update Python version to 3.12 in Dockerfiles; enhance logging in content, devops, notification, and payment services 2025-09-25 09:55:35 +08:00
sunhaolou
d01468f89a fix: refractor the length functions and add comments, and address the issues 2025-07-22 13:16:14 +08:00
sunhaolou
a8f0a714ae refractor: clean up the codes for online services 2025-07-21 15:23:19 +08:00
sunhaolou
ccc995f599 refractor: a current working version before cleaning up. 2025-07-21 12:50:51 +08: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
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
8f799c60ff build(docker): update Dockerfile for payment 2025-02-22 12:34:30 +00:00
Jet Li
13171f16b7 Fix authentication log config 2025-02-01 07:02:11 +00:00
Jet Li
be0725a955 Update payment log config 2025-02-01 06:22:46 +00:00
Jet Li
8b3d22344e Remove webhook secrets as it only handles the forwarded events 2025-01-28 09:06:37 +00:00
Jet Li
4f159221d3 minor fix - removing useless input 2025-01-28 08:13:02 +00:00
Jet Li
0b4a4a6173 Fix account signup webhook 2025-01-28 08:08:56 +00:00
Jet Li
f96ec74176 Fix payment webhook 2025-01-28 07:48:53 +00:00
Jet Li
f05e663a10 Add webhook secret and fix some setting for payment 2025-01-27 08:11:14 +00:00
10d87d4889 Remove noisy logging for mongo 2025-01-22 00:28:26 -08:00
9f5e0d1706 Update payment micro-service to handle status update 2025-01-22 00:21:54 -08:00
d47823124f Update payment micro-service 2025-01-22 00:09:47 -08:00
Jet Li
45df1e97fd Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-service-hub/_git/freeleaps-service-hub 2025-01-21 01:44:59 +00:00
Jet Li
db90cf7e46 Fix payment micro-service webhook not set bug 2025-01-21 01:44:23 +00:00
dongli
dcae87d3e0 Expose prometheus metrics for payment 2025-01-19 16:24:15 -08:00
Jet Li
a94dcca6c4 Fix payment micro-service in freeleaps2-frontend connection 2025-01-17 06:03:12 +00:00
55746445bb Remove useless on_behalf_of 2025-01-16 05:01:57 +00:00
a7a1263c73 Add on_behalf_of in payment micro-service 2025-01-16 04:28:35 +00:00
c6d08c562d Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-service-hub/_git/freeleaps-service-hub 2025-01-16 02:54:10 +00:00
d0c0e0ca28 Fix payment micro-service issues 2025-01-16 02:54:04 +00:00
dongli
885a9ffc0b Refine Dockerfile for payment isolation 2025-01-12 13:35:53 -08:00
dongli
1d8bbb2427 Refine Dockerfile for payment isolation 2024-12-27 17:48:41 -08:00
dongli
763935569d Refine Dockerfile for payment isolation 2024-12-26 11:05:51 -08:00
dongli
7dd8ef45c0 Clean up payment isolation 2024-12-22 18:52:43 -08:00
dongli
cfea8b5889 Fix more decimal conversion issues 2024-12-15 21:20:45 -08:00
dongli
72551c44b6 Fix payment model injection 2024-12-15 17:02:28 -08:00
dongli
9b38025f20 Clean up and add env files to payment 2024-12-11 22:20:12 -08:00
dongli
ae3792e25c Clean up 2024-12-01 19:28:55 -08:00
dongli
d43c0353d2 Init Payment App 2024-11-18 22:01:54 -08:00