GW_MC
7ae76f622c
feat: added proxy_host builder, and improve transaction borrowing
2026-01-07 16:37:51 +08:00
GW_MC
83e02acb22
Fix: Refactor upstream count retrieval and improve query filtering logic
2026-01-07 15:58:03 +08:00
GW_MC
d21459802c
Add total upstream count retrieval to UpstreamService
Test / lint-frontend (pull_request) Successful in 28s
Test / test-frontend (pull_request) Successful in 27s
Test / frontend-build (pull_request) Successful in 30s
Verify / verify-generated-database-code (pull_request) Successful in 1m7s
Verify / verify-generated-agent-code (pull_request) Successful in 1m9s
Verify / verify-openapi-spec (pull_request) Successful in 1m8s
Verify / verify-frontend-api-client (pull_request) Successful in 20s
Test / test-crates (pull_request) Successful in 1m1s
Test / lint-crates (pull_request) Successful in 1m8s
2026-01-01 10:40:44 +08:00
GW_MC
5e1a8364c7
Fix: update test database query results to include upstream target models
Test / test-frontend (pull_request) Successful in 24s
Test / lint-frontend (pull_request) Successful in 27s
Test / frontend-build (pull_request) Successful in 32s
Verify / verify-generated-database-code (pull_request) Successful in 1m5s
Verify / verify-generated-agent-code (pull_request) Successful in 1m8s
Verify / verify-openapi-spec (pull_request) Successful in 1m5s
Verify / verify-frontend-api-client (pull_request) Successful in 20s
Test / test-crates (pull_request) Successful in 55s
Test / lint-crates (pull_request) Successful in 1m5s
2025-12-31 20:26:20 +08:00
GW_MC
75097a661b
Add filtering options for upstream targets in get_upstreams
2025-12-31 19:16:55 +08:00
GW_MC
331b4e1e96
feat: implement transaction handling for upstream and target operations
...
- Added transaction support in `add_upstream_target`, `remove_upstream`, `remove_upstream_target`, `update_upstream`, and `update_upstream_target` functions to ensure atomicity of operations.
- Updated the `NginxService` to include methods for validating and applying configurations using the agent service.
- Enhanced error handling in agent service interactions, returning appropriate internal server errors when agent communication fails.
- Introduced mock agent service for testing, allowing for simulation of agent interactions without actual network calls.
- Refactored tests to cover scenarios where agent operations fail, ensuring that internal server errors are returned as expected.
2025-12-31 15:57:29 +08:00
GW_MC
b2a322ed79
chore: added trait for upstream service
2025-12-30 18:22:18 +08:00
GW_MC
f05544267c
feat: add remove upstream and remove upstream target handlers
2025-12-30 18:02:46 +08:00
GW_MC
f4db47daf2
feat: implement update handlers for upstream and upstream target management
2025-12-30 15:09:49 +08:00
GW_MC
7a557d6e00
feat: update UpstreamCreateInfo conversion to include upstream targets
2025-12-29 18:45:03 +08:00
GW_MC
a0621e2407
test: added test cases for upstream service
2025-12-29 16:37:57 +08:00
GW_MC
238c3db92b
feat: implement Nginx service with upstream management and configuration generation
2025-12-29 15:21:02 +08:00