Skip to content

Commit d70ab59

Browse files
committed
step: [#220] create tracker DTO module structure
1 parent b908a24 commit d70ab59

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/application/command_handlers/create/config/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ pub mod environment_config;
132132
pub mod errors;
133133
pub mod provider;
134134
pub mod ssh_credentials_config;
135+
pub mod tracker;
135136

136137
// Re-export commonly used types for convenience
137138
pub use environment_config::{EnvironmentCreationConfig, EnvironmentSection};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//! Tracker Configuration DTOs (Application Layer)
2+
//!
3+
//! This module contains DTO types for tracker configuration used in
4+
//! environment creation. These types use raw primitives (String) for
5+
//! JSON deserialization and convert to rich domain types (`SocketAddr`).

src/application/command_handlers/test/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl TestCommandHandler {
162162
Ok(())
163163
}
164164

165-
/// Extract port number from bind_address string (e.g., "0.0.0.0:1212" -> Some(1212))
165+
/// Extract port number from `bind_address` string (e.g., "0.0.0.0:1212" -> Some(1212))
166166
fn extract_port_from_bind_address(bind_address: &str) -> Option<u16> {
167167
bind_address
168168
.split(':')

0 commit comments

Comments
 (0)