GW_MC
6f560c981b
feat(api): add API routes with full state wiring and integration test fixtures
...
- Add /api routes for agents and proxy resources
- Wire all services into ApiState in service/mod.rs
- Update route tests with all mock services
2026-07-05 05:29:22 +00:00
GW_MC
a7863b9e87
feat(proxy): add render_config method and UpstreamService mock
...
- Add render_config to ProxyServiceTrait and implement it
- Add mockall automock to UpstreamService
- Remove unused OverrideRef import
2026-07-05 05:29:19 +00:00
GW_MC
b7891ec200
feat(proxy): add mockall automock to all proxy sub-services
2026-07-05 05:29:16 +00:00
GW_MC
e44a67f5a8
feat(agent): implement AgentService with CRUD and gRPC stream handler
...
- Add AgentService trait with full CRUD operations
- Implement AgentServiceImpl backed by AgentRepo
- Refactor gRPC AgentServerService with real stream handler
- Add agent types and repository module
2026-07-05 05:29:13 +00:00
GW_MC
6d1df8dcca
feat: add shared RepoError module
2026-07-05 05:29:10 +00:00
GW_MC
c7cc006212
chore: add anyhow and tokio-stream dependencies
...
- anyhow for error handling with backtrace support
- tokio-stream for gRPC stream handling
2026-07-05 05:29:08 +00:00
GW_MC
7c233b5f77
feat(proxy): implement log setting, proxy setting, rewrite rule, server block, and SSL certificate services
...
- Added LogSettingService with CRUD operations for log settings.
- Introduced ProxySettingService for managing proxy settings with CRUD functionality.
- Created RewriteRuleService to handle rewrite rules with full CRUD capabilities.
- Implemented ServerBlockService for managing server blocks, including relationships with access rules and location blocks.
- Added SslCertificateService for managing SSL certificates with create, read, update, and delete operations.
- Updated types.rs to include new service configurations and ensure proper merging of overrides.
- Enhanced existing tests to cover new functionalities and ensure correctness.
2026-06-21 12:14:26 +00:00
GW_MC
2e758c67fc
feat(proxy): enhance proxy service with CRUD operations and agent config binding
2026-06-21 11:59:23 +00:00
GW_MC
692b17534c
feat(proxy): implement Nginx configuration handling and rendering logic
2026-06-21 11:47:19 +00:00
GW_MC
9c07fce607
feat(proxy): add proxy service module with configuration handling
...
- Introduced a new `proxy` module in the service layer.
- Created `ProxyServiceTrait` for managing proxy configurations.
- Implemented various configuration types including access rules, cache zones, limit rules, and more.
- Added rendering logic for Nginx configuration components.
- Developed a repository implementation for fetching and merging proxy configurations from the database.
- Enhanced error handling with `ProxyServiceError` for better clarity on configuration issues.
2026-06-21 11:07:13 +00:00
GW_MC
2dbab85c87
feat: add new database entities and migration for proxy configuration
...
- Introduced `log_setting`, `proxy_config`, `proxy_setting`, `rewrite_rule`, `server_block`, `ssl_certificate`, and `upstream` entities with their respective fields and relationships.
- Updated `mod.rs` and `prelude.rs` to include new entities.
- Created migration script to set up new tables and relationships in the database.
- Altered existing `agents` table to include a foreign key reference to `agent_group`.
2026-06-21 11:06:20 +00:00
24d3f46a5c
feat: add persistence for last deployment path in Nginx handler
2026-06-16 11:09:24 +00:00
3c2cda88f1
feat: add command handling support to Nginx message handler
2026-06-16 10:55:13 +00:00
GW_MC
c0d243f661
feat: added config update message handling
2026-06-06 10:46:42 +00:00
GW_MC
f7162f0c17
feat: implement service initialization and shutdown handling for NxMesh Agent
2026-06-01 10:05:49 +00:00
GW_MC
d6a829c529
refactor: enhance handler traits to support dynamic sizing and improve cancellation handling
2026-06-01 10:05:40 +00:00
GW_MC
9991b20b28
feat: implement Nginx command and file system handlers for configuration management
2026-06-01 08:25:04 +00:00
GW_MC
8dbbeb4b24
refactor: streamline master message handling by removing unnecessary Arc and Mutex usage, and reorganizing handler structure
2026-05-31 09:41:48 +00:00
GW_MC
93a36cb101
refactor: simplify client handling by removing Arc and Mutex wrappers from MasterConnectorTrait
2026-05-31 09:41:22 +00:00
GW_MC
f65cae7f33
Merge branch 'master' into feature/nginx-handler
2026-05-31 03:10:55 +00:00
GW_MC
c52c0b3103
refactor: reorganize settings into separate modules for improved structure and maintainability
2026-05-31 02:56:03 +00:00
GW_MC
cb4ad27e89
refactor: enhance asset retrieval logic to support fallback for client subfolder
2026-05-31 02:36:42 +00:00
GW_MC
9f72cd4bbb
refactor: update health report to connection test and simplify proto definitions
2026-05-31 02:36:30 +00:00
GW_MC
7173f504ed
refactor: settings into modules
2026-05-31 02:31:15 +00:00
GW_MC
94d5e178d2
feat: refactor import_certs command into separate module for improved structure
2026-05-31 02:09:51 +00:00
GW_MC
f428f18f87
feat: implement MasterHandler for handling master messages and add retry logic
2026-05-06 09:23:51 +00:00
GW_MC
4252154420
fix: enhance NginxHandler to return config file paths and improve error handling
2026-04-27 07:15:30 +00:00
GW_MC
984334c232
fix: update NginxSettings to be non-optional and improve validation logic
2026-04-27 07:15:09 +00:00
GW_MC
7a0111c4c5
fix: update anyhow dependency to include backtrace feature
Test / get-ci-image (pull_request) Successful in 5s
Test / lint-frontend (pull_request) Successful in 24s
Test / frontend-build (pull_request) Successful in 23s
Verify / get-ci-image (pull_request) Successful in 5s
Test / test-frontend (pull_request) Successful in 37s
Test / lint-crates (pull_request) Successful in 1m46s
Test / test-crates (pull_request) Successful in 1m56s
Verify / verify-generated-db-entities (pull_request) Failing after 2m15s
2026-04-25 07:22:44 +00:00
GW_MC
0575c34fd6
fix: improve config file handling and add tests for NginxHandler
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-25 07:22:19 +00:00
GW_MC
1daac01583
Merge branch 'master' into feature/nginx-handler
Test / get-ci-image (pull_request) Successful in 6s
Test / lint-frontend (pull_request) Successful in 24s
Test / test-frontend (pull_request) Successful in 25s
Verify / get-ci-image (pull_request) Successful in 5s
Test / frontend-build (pull_request) Successful in 40s
Test / lint-crates (pull_request) Successful in 4m58s
Test / test-crates (pull_request) Successful in 5m16s
Verify / verify-generated-db-entities (pull_request) Successful in 5m42s
2026-04-25 06:43:58 +00:00
GW_MC
4b80619c97
fix: update frontend build process and add logging for embedded assets
...
Test / get-ci-image (pull_request) Successful in 14s
Test / test-frontend (pull_request) Successful in 47s
Verify / get-ci-image (pull_request) Successful in 6s
Test / lint-frontend (pull_request) Successful in 1m14s
Verify / verify-generated-db-entities (pull_request) Failing after 15m14s
Test / frontend-build (pull_request) Failing after 19m51s
Test / test-crates (pull_request) Has been skipped
Test / lint-crates (pull_request) Has been skipped
Co-authored-by: Copilot <copilot@github.com >
2026-04-25 03:21:36 +00:00
GW_MC
836617fa54
test: Add asset listing test for embedded frontend assets
...
Test / get-ci-image (pull_request) Successful in 6s
Test / test-frontend (pull_request) Successful in 30s
Test / lint-frontend (pull_request) Successful in 32s
Verify / get-ci-image (pull_request) Successful in 5s
Verify / verify-generated-db-entities (pull_request) Successful in 3m12s
Test / frontend-build (pull_request) Successful in 23s
Test / lint-crates (pull_request) Failing after 4m6s
Test / test-crates (pull_request) Failing after 4m14s
Co-authored-by: Copilot <copilot@github.com >
2026-04-25 02:49:47 +00:00
GW_MC
86e9fd42bb
test: Add unit tests for frontend routing and file handling
Test / get-ci-image (pull_request) Successful in 48s
Test / lint-frontend (pull_request) Successful in 1m10s
Test / frontend-build (pull_request) Successful in 25s
Test / test-frontend (pull_request) Successful in 1m13s
Verify / get-ci-image (pull_request) Successful in 5s
Test / lint-crates (pull_request) Successful in 6m10s
Test / test-crates (pull_request) Failing after 6m22s
Verify / verify-generated-db-entities (pull_request) Successful in 7m5s
2026-04-24 12:14:36 +00:00
GW_MC
d9fe053d41
feat: Add new dependencies for axum-test and related packages in Cargo.lock
2026-04-24 12:08:00 +00:00
GW_MC
1eeca606ec
feat: Remove debug handler attributes from fallback and file handler functions
Test / get-ci-image (pull_request) Successful in 7s
Test / lint-frontend (pull_request) Successful in 26s
Test / frontend-build (pull_request) Successful in 23s
Verify / get-ci-image (pull_request) Successful in 4s
Test / test-frontend (pull_request) Successful in 34s
Test / lint-crates (pull_request) Successful in 5m48s
Test / test-crates (pull_request) Successful in 5m59s
Verify / verify-generated-db-entities (pull_request) Successful in 6m28s
2026-04-18 08:37:08 +00:00
GW_MC
a9a08d2ef8
feat: Enhance SSH Agent gRPC server logging for better monitoring
2026-04-18 07:31:45 +00:00
GW_MC
bbde3c1b60
feat: Refactor agent server initialization to support parallel api server
2026-04-18 07:31:29 +00:00
GW_MC
e2d364722b
feat: Add frontend routing and asset handling with Axum
2026-04-18 07:30:37 +00:00
GW_MC
da0ab29b2a
feat: Update dependencies and add frontend distribution path
2026-04-18 07:26:37 +00:00
GW_MC
60af2c5b80
Merge branch 'master' into feature/nginx-handler
Test / get-ci-image (pull_request) Successful in 6s
Test / test-frontend (pull_request) Successful in 12s
Test / lint-frontend (pull_request) Successful in 15s
Test / frontend-build (pull_request) Successful in 13s
Verify / get-ci-image (pull_request) Successful in 5s
Test / lint-crates (pull_request) Successful in 5m4s
Test / test-crates (pull_request) Successful in 5m9s
Verify / verify-generated-db-entities (pull_request) Successful in 5m57s
2026-04-16 05:03:05 +00:00
GW_MC
84808832dd
feat: Add setup for Rust environment and implement test workflows
2026-04-11 09:04:09 +00:00
GW_MC
e831640540
feat: Implement NginxHandler with reload, stop, validate, and config management methods
2026-04-11 07:32:20 +00:00
GW_MC
a023cbc082
feat: Add 'anyhow' dependency
2026-04-01 10:02:48 +00:00
GW_MC
109d693d59
feat: Add comprehensive unit tests for CLI and CertificateService, covering command parsing and certificate generation
2026-03-21 03:42:47 +00:00
GW_MC
eba30f557e
feat: Add unit tests for CLI and MasterConnector, including certificate extraction and validation
2026-03-21 03:32:09 +00:00
GW_MC
d7cbb2a2ce
feat: Remove unused SeaORM entity files for certificates, organizations, setup tokens, upstreams, users, virtual hosts, and workspaces
2026-03-21 03:17:43 +00:00
GW_MC
f5eb25993b
feat: Implement SSH Agent Connector and gRPC server
...
- Added `AgentConnectorTrait` and `AgentConnector` for managing agent connections.
- Introduced `SshAgentConnector` to handle SSH-related functionalities and start a gRPC server.
- Created database entities for `agents`, `certificates`, `organizations`, `public_key_revocations`, `setup_tokens`, `upstreams`, `users`, `virtual_hosts`, and `workspaces` using SeaORM.
- Developed `CertificateService` for managing certificate generation and retrieval.
- Implemented the main server logic to initialize the database connection and start the agent server.
- Configured development settings in `development.toml` for server and database connections.
2026-03-21 03:09:39 +00:00
GW_MC
1a453a7e5c
feat: Implement SSH master connector and CLI for certificate management
2026-03-21 03:07:58 +00:00
GW_MC
9c55a11712
init project structure
2026-03-06 13:28:14 +00:00