Commit Graph

327 Commits

Author SHA1 Message Date
512e418670 Merge pull request 'feature/icecheng/compute_unit' (#96) from feature/icecheng/compute_unit into dev
Reviewed-on: freeleaps/freeleaps-service-hub#96
2025-10-28 02:11:50 +00:00
icecheng
ad3b2ea938 feat: make init_deployment api support compute_unit 2025-10-28 10:10:53 +08:00
haolou
2eb09c834c fix: change notification service model layer to not using Beanie 2025-10-24 14:02:36 +08:00
6b9bdfb205 Merge pull request 'feature/add-request-metrics' (#90) from feature/add-request-metrics into master
Reviewed-on: freeleaps/freeleaps-service-hub#90
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-10-24 02:06:27 +00:00
haolou
f57cfb2d3a fix: fix the id wrong type issue 2025-10-23 16:49:40 +08:00
haolou
ba63e1b7a8 fix: fix the invalid id format issues 2025-10-23 15:54:17 +08:00
hazelzhu
b1ec14a984 simplify api routes 2025-10-23 13:48:35 +08:00
haolou
1823a33d45 fix: change middleware to avoid Beanie init 2025-10-23 13:39:04 +08:00
haolou
a936f89426 fix: change the authentication service model layer from Beanie to direct MongoDB 2025-10-23 13:37:56 +08:00
hazelzhu
d48f72544d add request metric queries 2025-10-23 12:54:03 +08:00
6536166be5 Merge pull request 'refactor: improve database middleware error handling' (#88) from tania_middleware into dev
Reviewed-on: freeleaps/freeleaps-service-hub#88
2025-10-22 04:33:51 +00:00
YuehuCao
9d2ea5a838 refactor: improve database middleware error handling 2025-10-22 11:53:24 +08:00
haolou
2036c4b9ae fix: change name to more general ones 2025-10-20 15:03:59 +08:00
haolou
497e6080a3 fix: create apis for magicleaps password things avoiding calling code depot 2025-10-20 14:55:05 +08:00
haolou
6a207c7e79 fix: fix the small issue of user_id not found 2025-10-17 22:01:41 +08:00
YuehuCao
21180ea017 refactor(prefix): remove concrete prefix 2025-10-13 12:59:04 +08:00
YuehuCao
be01f95a1e chore(unit): delete unit because unlear definition 2025-10-13 12:06:37 +08:00
YuehuCao
03366c0925 chore(database): delete database check because this has been achived in middleware 2025-10-11 09:53:52 +08:00
YuehuCao
7844906cfe feat(middleware): modify database to tolerate the tenant cache 2025-10-11 09:52:52 +08:00
YuehuCao
80a6beb1ed feat(middleware): add middleware for authentication 2025-10-11 09:51:02 +08:00
YuehuCao
7a832371c7 feat(auth): add extrnal auth introspect api interface 2025-10-11 09:49:33 +08:00
YuehuCao
81f2a21f6b feat(format): modify the log format 2025-10-11 09:48:18 +08:00
YuehuCao
6bbaaae30f feat(env): add env config 2025-10-11 09:47:11 +08:00
YuehuCao
5f18212343 feat(model): add usage_log_doc 2025-10-11 09:42:40 +08:00
YuehuCao
53381d22be feature(env): add env config 2025-10-11 09:41:25 +08:00
icecheng
70e40bd1b3 feat(metrics): update config for starrocks database pooling 2025-09-30 13:49:04 +08:00
75813a3599 Merge pull request 'tania_authentication_local' (#77) from tania_authentication_local into dev
Reviewed-on: freeleaps/freeleaps-service-hub#77
2025-09-28 02:09:50 +00:00
YuehuCao
b244fd5bc8 chore: delete used interface 2025-09-26 17:19:30 +08:00
YuehuCao
3a222d14dc feat(new): add new methonds 2025-09-26 17:18:44 +08:00
YuehuCao
89d0f2ee8f feat(new): new interfaces for create or update role&permission, and query method not using pagination 2025-09-26 17:17:14 +08:00
YuehuCao
58eea0e2b2 feat(recover): recover the initial version because we will use the new interfaces 2025-09-26 17:15:18 +08:00
6eb50f1726 Merge pull request 'tania_middleware' (#75) from tania_middleware into dev
Reviewed-on: freeleaps/freeleaps-service-hub#75
2025-09-26 06:48:39 +00:00
YuehuCao
7a2686998b fix(cache): cache client rather than the db 2025-09-26 14:08:42 +08:00
YuehuCao
4d3b763ea3 refactor(name):rename the file 2025-09-26 14:07:45 +08:00
69b75932f7 Merge branch 'dev' into Nicolas_service_hub 2025-09-26 02:23:14 +00:00
58446292ef Merge pull request 'feature/icecheng/metric-fix' (#74) from feature/icecheng/metric-fix into dev
Reviewed-on: freeleaps/freeleaps-service-hub#74
2025-09-26 02:20:35 +00:00
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
icecheng
8ee447a9fb feat: update prometheus query logic, use utc timezone and update promql 2025-09-25 22:12:32 +08:00
icecheng
eae0255766 feat: add starrock connect pool 2025-09-25 18:25:51 +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
YuehuCao
bad6224bd9 fix(bug): not delete the correct and exsited data 2025-09-24 19:46:19 +08:00
YuehuCao
bda5660bb6 feat(api): add query role by id API 2025-09-24 17:29:27 +08:00
9471563004 Merge branch 'dev' into Nicolas_service_hub 2025-09-24 04:13:09 +00:00
bae09037a3 Merge pull request '1d and 1m' (#68) from feature/wc into dev
Reviewed-on: freeleaps/freeleaps-service-hub#68
2025-09-23 13:55:45 +00:00
weicao
5b521c4ec4 1d and 1m 2025-09-23 16:23:59 +08:00
3cba9e4762 Merge pull request 'tania_middleware' (#55) from tania_middleware into dev
Reviewed-on: freeleaps/freeleaps-service-hub#55
2025-09-23 05:20:28 +00:00
4e9412e48b Merge branch 'master' into tania_authentication_local 2025-09-23 05:19:53 +00:00
YuehuCao
769e32a6e3 refactor(comment): use new comment type 2025-09-23 13:18:35 +08:00
YuehuCao
794536c372 feat(log): delete some logs and unused methond, raise the http error 2025-09-23 13:08:54 +08:00
YuehuCao
98f2ce4871 refactor(name): rename the middleware 2025-09-23 13:07:11 +08:00