fix(fxt): default broker gateway URL 50060 → 50056
Match the actual K8s broker-gateway service port discovered during live validation of fxt broker check. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -4057,6 +4057,7 @@ dependencies = [
|
||||
"futures-util",
|
||||
"getrandom 0.2.16",
|
||||
"hex",
|
||||
"ibapi",
|
||||
"indicatif",
|
||||
"jsonwebtoken",
|
||||
"keyring",
|
||||
|
||||
@@ -413,7 +413,7 @@ mod tests {
|
||||
assert_eq!(resolved.ibkr_host, "127.0.0.1");
|
||||
assert_eq!(resolved.ibkr_port, 4004);
|
||||
assert_eq!(resolved.ibkr_client_id, 99);
|
||||
assert_eq!(resolved.gateway_url, "http://localhost:50060");
|
||||
assert_eq!(resolved.gateway_url, "http://localhost:50056");
|
||||
assert!(!resolved.skip_ibkr);
|
||||
assert!(!resolved.skip_gateway);
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ pub struct BrokerConfig {
|
||||
}
|
||||
|
||||
fn default_broker_gateway_url() -> String {
|
||||
"http://localhost:50060".to_owned()
|
||||
"http://localhost:50056".to_owned()
|
||||
}
|
||||
|
||||
impl Default for BrokerConfig {
|
||||
@@ -272,7 +272,7 @@ mod tests {
|
||||
#[test]
|
||||
fn test_config_broker_defaults() {
|
||||
let config: TliConfig = toml::from_str("").unwrap();
|
||||
assert_eq!(config.broker.gateway_url, "http://localhost:50060");
|
||||
assert_eq!(config.broker.gateway_url, "http://localhost:50056");
|
||||
assert_eq!(config.broker.ibkr.host, "127.0.0.1");
|
||||
assert_eq!(config.broker.ibkr.port, 4004);
|
||||
assert_eq!(config.broker.ibkr.client_id, 99);
|
||||
|
||||
Reference in New Issue
Block a user