exchange broker options
This commit is contained in:
@@ -88,7 +88,8 @@ mod definitions {
|
||||
|
||||
use auth::auth_service_client::AuthServiceClient;
|
||||
use definitions::{
|
||||
ecb, table_definition::table_definition_client::TableDefinitionClient,
|
||||
ecb, exchange_rates::exchange_rate_service_client::ExchangeRateServiceClient,
|
||||
table_definition::table_definition_client::TableDefinitionClient,
|
||||
table_script::table_script_client::TableScriptClient,
|
||||
table_structure::table_structure_service_client::TableStructureServiceClient,
|
||||
table_validation::table_validation_service_client::TableValidationServiceClient,
|
||||
@@ -113,6 +114,7 @@ pub(crate) struct AppState {
|
||||
validations: TableValidationServiceClient<Channel>,
|
||||
tables_data: TablesDataClient<Channel>,
|
||||
ecb: EcbServiceClient<Channel>,
|
||||
exchange_rates: ExchangeRateServiceClient<Channel>,
|
||||
/// The imports this process is running, which the import page polls. Not a
|
||||
/// client: an import outlives the request that started it, so where it has
|
||||
/// got to has to live somewhere both the task and the next request can see.
|
||||
@@ -149,6 +151,7 @@ pub async fn serve() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
||||
validations: TableValidationServiceClient::new(channel.clone()),
|
||||
tables_data: TablesDataClient::new(channel.clone()),
|
||||
ecb: EcbServiceClient::new(channel.clone()),
|
||||
exchange_rates: ExchangeRateServiceClient::new(channel.clone()),
|
||||
structures: TableStructureServiceClient::new(channel),
|
||||
imports: Default::default(),
|
||||
};
|
||||
@@ -215,6 +218,7 @@ mod tests {
|
||||
validations: TableValidationServiceClient::new(channel.clone()),
|
||||
tables_data: TablesDataClient::new(channel.clone()),
|
||||
ecb: EcbServiceClient::new(channel.clone()),
|
||||
exchange_rates: ExchangeRateServiceClient::new(channel.clone()),
|
||||
structures: TableStructureServiceClient::new(channel),
|
||||
imports: Default::default(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user