Commit Graph

219 Commits

Author SHA1 Message Date
zhenyus
5f3368cbdc fix: correct typo in BASE_RECONCILE_URL parameter in DeploymentService
Updated the parameter name in the _start_deployment method to match the corrected constant in site_settings.py, ensuring consistency across the codebase.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 03:51:15 +08:00
zhenyus
e41aa3d983 fix: correct typo in BASE_RECONCILE_URL in site_settings.py
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 03:41:26 +08:00
zhenyus
6ebac252b0 refactor: change DevOpsReconcileOperationType to inherit from str and Enum
Updated the DevOpsReconcileOperationType class to inherit from both str and Enum, enhancing its usability as a string enumeration in the application.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 03:28:06 +08:00
zhenyus
2dd73c0734 refactor: enhance lazy initialization and error handling in message consumer startup
Updated the message consumer initialization to occur lazily during the startup event, improving application startup performance. Added detailed logging for service initialization, registration, and error handling to enhance traceability and robustness during startup and shutdown processes.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 03:01:11 +08:00
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
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
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
sunhaolou
ccc995f599 refractor: a current working version before cleaning up. 2025-07-21 12:50:51 +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
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
dongli
2934c647c6 make sha256 optional 2025-06-20 15:09:27 -07:00
dongli
aff12753da Add deployment_app_url 2025-06-19 21:08:08 -07:00
dongli
d660002076 minor 2025-06-16 23:19:09 -07:00
dongli
92b2aba960 Add check_application_logs 2025-06-16 23:18:26 -07:00
dongli
c09ad7f5c9 minor 2025-06-12 17:44:13 -07:00
dongli
6254d13098 Clean up 2025-06-07 13:17:37 -07:00
dongli
7955b5884a Fix some bugs 2025-06-07 13:11:22 -07:00
dongli
b83f5fd606 Depends only works with fastApi methods, so don't use Depends for other methods 2025-06-07 12:34:34 -07:00
dongli
ab7e6728b5 More impl for devops 2025-06-07 11:32:53 -07:00
dongli
308f82740d More impl for devops 2025-06-07 11:32:48 -07:00
dongli
217f33fc17 fix check deployment status bug 2025-05-19 14:55:56 -07:00
dongli
43ec8ec01e Clean up 2025-05-18 23:09:39 -07:00
dongli
bcf13b48f2 Add implementation of devops service 2025-05-18 22:23:44 -07:00
dongli
dd8926b2ec Add template fastapi app, test, README.md, this can be used for future extension 2025-05-11 21:01:11 -07:00
dongli
bf96f8b301 Add template fastapi app, test, README.md, this can be used for future extension 2025-05-11 19:16:00 -07:00
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
semantic-release-bot
40e0fafc2c chore(release): bump version to 1.2.1 and upload released assets [ci skip] 2025-04-30 02:32:26 +00:00
782333c36b Merge pull request 'merge from dev to master' (#10) from dev into master
Reviewed-on: freeleaps/freeleaps-service-hub#10
2025-04-30 02:28:00 +00:00
95a525ac76 Merge pull request 'fix(cleaner): update document cleaner job' (#9) from feature/hover into dev
Reviewed-on: freeleaps/freeleaps-service-hub#9
2025-04-27 02:54:19 +00:00
dd96819709 fix(cleaner): update document cleaner job 2025-04-26 19:53:44 -07:00
semantic-release-bot
7d493a3cc1 chore(release): bump version to 1.2.0 and upload released assets [ci skip] 2025-04-25 02:29:23 +00:00
6286c0f36f Merge pull request 'chore(hover_image): adding new hover images in the response body' (#8) from feature/hover into dev
Reviewed-on: freeleaps/freeleaps-service-hub#8
2025-04-24 07:08:53 +00:00
91a893a433 chore(hover_image): adding new hover images in the response body 2025-04-24 00:06:58 -07:00
fbf2f23ad4 Merge pull request 'chore(code_base): merging from dev to master' (#7) from dev into master
Reviewed-on: freeleaps/freeleaps-service-hub#7
2025-04-24 06:48:19 +00: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
32c4fe9a29 Merge pull request 'refactor(log): refactoring logging for each service for loki' (#4) from refactor/logging into dev
Reviewed-on: freeleaps/freeleaps-service-hub#4
2025-04-21 02:59:50 +00:00