You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: proxy-http-client/src/configuration.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
/// FOR DEVOPS USERS:
2
2
/// 1) The root struct is "Settings", follow logic from there
3
3
/// 2) integers can be provided as a string in config files or environment variables
4
-
/// 3) if using environment variables, see comment in "get_configuration()" as an example of how nesting works
5
-
/// 4) if using ONLY a file variable, this is determined from the APP_CONFIG_FILE environment variable (environment variables have higher precedence)
4
+
/// 3) if using environment variables, see comment in `get_configuration()` as an example of how nesting works
5
+
/// 4) if using ONLY a file variable, this is determined from the `APP_CONFIG_FILE` environment variable (environment variables have higher precedence)
6
6
/// 5) Additional logic can be found in shared-deps/src/configuration.rs
7
7
use secrecy::SecretString;
8
8
@@ -21,7 +21,7 @@ pub struct ExternalProxy {
21
21
pubpassword:SecretString,
22
22
}
23
23
24
-
#[derive(serde::Deserialize,Clone)]
24
+
#[derive(serde::Deserialize,Clone,Debug)]
25
25
pubstructSettings{
26
26
/// configuration for the broker, which our applications are listening to
27
27
pubbroker:BrokerSettings,// TODO make this a Vec<BrokerSettings>
/// 3) Somehow transfer these messages over to the other message broker, make the messages their responsibility.
42
44
///
43
45
/// Once the messages are on the other message broker, proxy-http-server and proxy-http-client don't need to care, handling them will be the SDK's job.
Copy file name to clipboardExpand all lines: proxy-http-server/src/configuration.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
/// FOR DEVOPS USERS:
2
2
/// 1) The root struct is "Settings", follow logic from there
3
3
/// 2) integers can be provided as a string in config files or environment variables
4
-
/// 3) if using environment variables, see comment in "get_configuration()" as an example of how nesting works
5
-
/// 4) if using ONLY a file variable, this is determined from the APP_CONFIG_FILE environment variable (environment variables have higher precedence)
4
+
/// 3) if using environment variables, see comment in `get_configuration()` as an example of how nesting works
5
+
/// 4) if using ONLY a file variable, this is determined from the `APP_CONFIG_FILE` environment variable (environment variables have higher precedence)
6
6
/// 5) Additional logic can be found in shared-deps/src/configuration.rs
7
7
use secrecy::SecretString;
8
8
use serde_aux::field_attributes::deserialize_number_from_string;
@@ -11,7 +11,7 @@ use intersect_ingress_proxy_common::configuration::{
0 commit comments