Skip to content

Commit

Permalink
fix: populating connections url inside the database pod (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagojez authored Dec 18, 2024
1 parent 9d246f7 commit b4440f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions integrationos-api/src/domain/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}",
Expand Down
1 change: 1 addition & 0 deletions integrationos-domain/src/domain/configuration/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit b4440f9

Please sign in to comment.