GW_MC
9c3f775a67
refactor: remove unused Filters struct and clean up imports in create_upstream tests
2025-12-31 16:05:28 +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
d81e5fe48d
refactor: clean up test module imports in health info endpoint
2025-12-31 14:48:51 +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
1b251fd89f
feat: add add_upstream_target handler and response struct for upstream target management
2025-12-29 21:34:40 +08:00
GW_MC
dd79cbe0bb
feat: add create_upstream handler for upstream creation
2025-12-29 20:12:01 +08:00
GW_MC
fdfd1c98e0
feat: introduce ApiError for improved error handling in upstream routes
2025-12-29 18:03:09 +08:00
GW_MC
abeea4fad7
refactor: upstream info response structures and module
2025-12-29 18:01:57 +08:00
GW_MC
fea205cba8
chore: delegate path prefix to router
2025-12-29 17:52:29 +08:00
GW_MC
3cc6b40e61
Fix: missing upstream in From
2025-12-29 17:48:44 +08:00
GW_MC
41023939db
feat: add tests for upstream and upstream target handlers
2025-12-29 17:44:41 +08:00
GW_MC
6eb0d9060b
fix: path not starting with /
2025-12-29 17:24:50 +08:00
GW_MC
7d83838da3
feat: add get_upstream_target endpoint and update router for upstream targets
2025-12-29 16:38:43 +08:00
GW_MC
f8b13be650
feat: add Nginx upstream read management routes and handlers
2025-12-29 15:27:03 +08:00
GW_MC
238c3db92b
feat: implement Nginx service with upstream management and configuration generation
2025-12-29 15:21:02 +08:00
GW_MC
814f76291c
fix: update test cases to use mock
2025-12-29 15:19:06 +08:00
GW_MC
35fadb46f6
feat: add pagination helper and integrate serde_urlencoded for query extraction
2025-12-29 12:16:09 +08:00
GW_MC
6f5596dc69
Enforce deny unwrap_used
Test / test-frontend (pull_request) Successful in 26s
Test / lint-frontend (pull_request) Successful in 28s
Test / frontend-build (pull_request) Successful in 32s
Verify / verify-generated-database-code (pull_request) Successful in 1m7s
Verify / verify-generated-agent-code (pull_request) Successful in 1m10s
Verify / verify-openapi-spec (pull_request) Successful in 1m9s
Verify / verify-frontend-api-client (pull_request) Successful in 7s
Test / test-crates (pull_request) Successful in 54s
Test / lint-crates (pull_request) Successful in 1m10s
2025-12-28 19:07:17 +08:00
GW_MC
96e7f36731
feat: integrate AgentService into app service and enhance configuration handling
Test / test-frontend (pull_request) Successful in 25s
Test / lint-frontend (pull_request) Successful in 28s
Test / frontend-build (pull_request) Successful in 32s
Verify / verify-generated-database-code (pull_request) Successful in 1m7s
Verify / verify-generated-agent-code (pull_request) Successful in 1m11s
Verify / verify-openapi-spec (pull_request) Successful in 1m13s
Verify / verify-frontend-api-client (pull_request) Successful in 8s
Test / test-crates (pull_request) Successful in 55s
Test / lint-crates (pull_request) Successful in 1m9s
2025-12-28 18:35:53 +08:00
GW_MC
596eb8faea
feat: add mock implementations for configuration settings and update AppState to include config
2025-12-20 18:22:33 +08:00
GW_MC
be63fcbc37
feat: fix incorrect JWT cookie key
2025-12-20 16:40:41 +08:00
GW_MC
e59e7ca4c8
feat: add user management API with endpoint to retrieve current user information
2025-12-20 12:27:10 +08:00
GW_MC
ec81d3228b
fix clippy warnings
Test / test-frontend (pull_request) Successful in 38s
Test / frontend-build (pull_request) Successful in 40s
Verify / verify-generated-code (pull_request) Successful in 9m2s
Verify / verify-openapi-spec (pull_request) Successful in 8m43s
Verify / verify-frontend-api-client (pull_request) Successful in 18s
Test / test (pull_request) Failing after 8m56s
Test / lint (pull_request) Successful in 1m9s
2025-12-19 10:25:55 +08:00
GW_MC
8111aaf672
feat: enhance health check with application state and initialization status
2025-12-19 10:25:22 +08:00
GW_MC
08b1a055a4
feat: add admin user initialization endpoint with request handling
2025-12-18 22:10:50 +08:00
GW_MC
ccd8bc7aa1
Include require auth middleware and login route
2025-12-18 18:26:10 +08:00
GW_MC
81fbf8281f
Refactor health check API to include OpenAPI tagging and enhance HealthInfo schema documentation
2025-12-05 18:17:29 +08:00
GW_MC
34ebfaddbc
Add OpenAPI support and health info endpoint documentation
2025-12-05 17:01:29 +08:00
GW_MC
5210c64c5d
Simplify health endpoint
Test / verify-generated-code (pull_request) Successful in 54s
Test / test-frontend (pull_request) Successful in 22s
Test / frontend-build (pull_request) Successful in 25s
Test / test (pull_request) Successful in 1m12s
Test / lint (pull_request) Successful in 1m13s
2025-12-05 15:08:21 +08:00
GW_MC
23c6bc4fd0
Add #[allow(dead_code)] annotation to HealthState::new for test usage
Test / verify-generated-code (pull_request) Successful in 55s
Test / test-frontend (pull_request) Successful in 20s
Test / frontend-build (pull_request) Successful in 23s
Test / test (pull_request) Successful in 1m13s
Test / lint (pull_request) Successful in 1m15s
2025-12-05 14:20:56 +08:00
GW_MC
bbc6977e73
Add health check routes and state management
Test / verify-generated-code (pull_request) Successful in 56s
Test / test-frontend (pull_request) Successful in 22s
Test / frontend-build (pull_request) Successful in 24s
Test / test (pull_request) Successful in 1m14s
Test / lint (pull_request) Failing after 1m13s
2025-12-05 14:05:09 +08:00
GW_MC
edbcdaeff4
Implement frontend routing and API fallback handling; add dependencies for include_dir and mime_guess
Test / verify-generated-code (pull_request) Successful in 7m59s
Test / test (pull_request) Failing after 1m12s
Test / lint (pull_request) Failing after 1m11s
2025-12-02 19:25:46 +08:00