From b4440f9c2614f514ac35be0734c2e9ac18ad0466 Mon Sep 17 00:00:00 2001 From: Samuel <39674930+sagojez@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:25:45 +0000 Subject: [PATCH] fix: populating connections url inside the database pod (#207) --- integrationos-api/src/domain/config.rs | 1 + integrationos-domain/src/domain/configuration/database.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/integrationos-api/src/domain/config.rs b/integrationos-api/src/domain/config.rs index 72a5f744..a3c8b30f 100644 --- a/integrationos-api/src/domain/config.rs +++ b/integrationos-api/src/domain/config.rs @@ -124,6 +124,7 @@ impl Display for ConnectionsConfig { self.connection_cache_ttl_secs )?; writeln!(f, "EMIT_URL: {}", self.emit_url)?; + writeln!(f, "CONNECTIONS_URL: {}", self.connections_url)?; writeln!( f, "CONNECTION_DEFINITION_CACHE_TTL_SECS: {}", diff --git a/integrationos-domain/src/domain/configuration/database.rs b/integrationos-domain/src/domain/configuration/database.rs index 276abdeb..008bb3f6 100644 --- a/integrationos-domain/src/domain/configuration/database.rs +++ b/integrationos-domain/src/domain/configuration/database.rs @@ -115,6 +115,7 @@ impl DatabasePodConfig { ); map.insert("EMIT_URL".to_string(), self.emit_url.clone()); map.insert("CONNECTION_ID".to_string(), self.connection_id.clone()); + map.insert("CONNECTIONS_URL".to_string(), self.connections_url.clone()); map.insert( "DATABASE_CONNECTION_TYPE".to_string(), self.database_connection_type.as_ref().into(),