zhenyus
95b6560ffd
refactor: improve clarity of subscriber startup process in message_queue.py
...
Updated comment to specify that the subscriber starts in the background, enhancing code readability and understanding of the asynchronous behavior.
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 02:48:55 +08:00
zhenyus
9283e52e48
feat: enhance message consumer startup and shutdown logging in message_queue.py
...
Added print statements to log the status of message consumers during startup and shutdown processes, improving traceability and debugging capabilities.
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 02:38:33 +08:00
zhenyus
113bc2bc75
fix: ensure consistent formatting in requirements.txt by removing redundant line
...
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 09:12:19 +08:00
zhenyus
ebc37bbd0d
refactor: streamline DevOpsReconcileRequest by removing redundant code
...
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 09:06:42 +08:00
zhenyus
14eb5abda6
refactor: remove unnecessary @dataclass decorator from DevOpsReconcileRequest
...
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 09:03:39 +08:00
zhenyus
d74967db55
feat: add RabbitMQ configuration to app settings
...
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 00:15:06 +08:00
6ea40142ac
Merge pull request 'Add template fastapi app, this can be used for future extension' ( #11 ) from feature/dax/devops-svc into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#11
2025-07-31 16:11:36 +00:00
zhenyus
d0aa2ba14b
Add message queue registration in application bootstrap and update dependencies
...
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-07-30 10:50:22 +08:00
YuehuCao
e46c81c993
docs(tests): add guide for generating coverage reports
2025-07-28 11:09:46 +08:00
YuehuCao
b849e5f11b
test: add integration test between template_message and email_sender services layer and data layer
...
- Achieve 90%+ coverage
2025-07-28 11:06:57 +08:00
YuehuCao
def50f709f
test: add unit tests for template_message and email_sender services
...
- Achieve 100% coverage for both services
2025-07-28 11:03:01 +08:00
YuehuCao
9cb29cd400
fix(services): correct spelling errors
2025-07-28 10:55:41 +08:00
YuehuCao
bb493700f0
refactor(services): remove unreachable code
...
- Delete redundant logic after line 22's early return
2025-07-28 10:53:07 +08:00
YuehuCao
2d3adb0936
fix: re-submit due to missing some contents
2025-07-25 19:16:40 +08:00
YuehuCao
4f4587893a
feat(api): add CRUD interfaces for message templates and email senders
2025-07-25 19:05:29 +08:00
YuehuCao
fec7ac6071
feat(tenant): enable customization of message templates and email senders
2025-07-25 19:04:06 +08:00
YuehuCao
2637ee864a
chore(template): seed initial global message templates
2025-07-25 19:01:57 +08:00
YuehuCao
f7ad36bef8
feat(template): define MongoDB schema for message templates and email senders
2025-07-25 18:57:53 +08:00
icecheng
69d1007ddf
feat(test): add unittest for role management, add coverage report for role management
2025-07-25 16:20:50 +08:00
icecheng
30e6ca72a7
feat(refactor): remove duplicate get_current_user
2025-07-25 10:26:09 +08:00
icecheng
0f7d63f4a2
feat(role_management): add test report for role management
2025-07-22 17:14:30 +08:00
223457162f
Merge pull request 'feat(storing payment method): adding payment method storing feature consistent with the updated payment logic in freeleaps backend' ( #16 ) from haolou_local into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#16
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-07-22 06:32:36 +00:00
sunhaolou
d01468f89a
fix: refractor the length functions and add comments, and address the issues
2025-07-22 13:16:14 +08:00
icecheng
55e0bebbef
feat(role_management): update apitest for role management
2025-07-22 12:27:26 +08:00
icecheng
5be8403c75
feat(role_management): update apitest for role management
2025-07-22 12:14:58 +08:00
icecheng
6b6b52a599
feat(role_management): Add apitest for test_assign_roles
2025-07-22 11:52:41 +08:00
icecheng
9dcd27bc8a
feat(role_management): Add logic for creating temporary users to apitest.
2025-07-22 11:30:16 +08:00
icecheng
beba0f5fe5
feat(role_management): add api test case for permission api
2025-07-22 10:28:05 +08:00
icecheng
641281066c
feat(role_management): Add pytest for auth services, and add api test case for role management
2025-07-21 17:51:08 +08:00
fca4216043
Merge branch 'dev' into haolou_local
2025-07-21 07:37:02 +00:00
sunhaolou
a8f0a714ae
refractor: clean up the codes for online services
2025-07-21 15:23:19 +08:00
icecheng
b8be65615b
feat(role_management): Add a universal Depends for permission verification.
2025-07-21 15:10:27 +08:00
icecheng
4109018692
feat(role_management): Update the JWT token generation logic to include new fields user_roles and user_permissions in the payload.
2025-07-21 13:09:59 +08:00
sunhaolou
ccc995f599
refractor: a current working version before cleaning up.
2025-07-21 12:50:51 +08:00
icecheng
419e58da0c
feat(role_management): add delete role api
2025-07-21 10:53:37 +08:00
icecheng
4f39f888c4
feat(role_management): add delete permission api
2025-07-21 10:33:21 +08:00
icecheng
ca0bfb155f
feat(role_management): add assign roles to user api
2025-07-21 10:20:46 +08:00
icecheng
795c1262c6
feat(role_management): add assign permissions to role api
2025-07-21 09:31:37 +08:00
icecheng
2382f0bece
feat(role_management): add crud for role and permission
2025-07-18 18:05:57 +08:00
0313cf7061
Merge pull request 'Add Devops Service' ( #6 ) from feature/dax/devops-svc into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#6
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-07-15 05:51:09 +00:00
3ce7a7ec76
Merge branch 'dev' into feature/dax/devops-svc
2025-07-15 03:34:15 +00:00
dongli
921633dc04
Implement get_latest_deployment
2025-07-13 11:38:57 -07:00
dongli
61d9a2ea2f
Add PR checklist
2025-07-01 20:47:27 -07:00
dongli
60b5be404b
Add PR checklist
2025-07-01 20:41:11 -07:00
dongli
7b2f068fd5
Add PR checklist
2025-07-01 20:36:38 -07:00
dongli
4e7dadba69
Add PR checklist
2025-07-01 20:32:44 -07:00
dongli
5ee0d8d8ec
Add PR checklist
2025-07-01 20:32:08 -07:00
dongli
edc49dfc03
Add PR checklist
2025-07-01 20:29:11 -07:00
zhenyus
dd642994d4
Merge branch 'feature/dax/devops-svc' of https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-service-hub into feature/dax/devops-svc
2025-06-23 16:46:49 +08:00
zhenyus
979fcd298c
Add DevOps reconciliation models and integrate into deployment service
...
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-06-23 16:46:06 +08:00