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:
jgrusewski
2026-03-02 14:49:23 +01:00
parent 47cea06e86
commit 032be46e90
3 changed files with 4 additions and 3 deletions

1
Cargo.lock generated
View File

@@ -4057,6 +4057,7 @@ dependencies = [
"futures-util",
"getrandom 0.2.16",
"hex",
"ibapi",
"indicatif",
"jsonwebtoken",
"keyring",

View File

@@ -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);
}

View File

@@ -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);