From 032be46e9063ddf2223baebc051fbe739c2adf6f Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Mon, 2 Mar 2026 14:49:23 +0100 Subject: [PATCH] =?UTF-8?q?fix(fxt):=20default=20broker=20gateway=20URL=20?= =?UTF-8?q?50060=20=E2=86=92=2050056?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Match the actual K8s broker-gateway service port discovered during live validation of fxt broker check. Co-Authored-By: Claude Opus 4.6 --- Cargo.lock | 1 + bin/fxt/src/commands/broker.rs | 2 +- bin/fxt/src/config.rs | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index be6e69639..adc3b8148 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4057,6 +4057,7 @@ dependencies = [ "futures-util", "getrandom 0.2.16", "hex", + "ibapi", "indicatif", "jsonwebtoken", "keyring", diff --git a/bin/fxt/src/commands/broker.rs b/bin/fxt/src/commands/broker.rs index 16cc0ccc7..fb8cd9184 100644 --- a/bin/fxt/src/commands/broker.rs +++ b/bin/fxt/src/commands/broker.rs @@ -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); } diff --git a/bin/fxt/src/config.rs b/bin/fxt/src/config.rs index 5c6748c69..dc277dbdd 100644 --- a/bin/fxt/src/config.rs +++ b/bin/fxt/src/config.rs @@ -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);