use of org.finos.legend.engine.authentication.LegendDefaultDatabaseAuthenticationFlowProvider in project legend-engine by finos.
the class ExternalIntegration_TestConnectionAcquisitionWithFlowProvider_BigQuery method setup.
@Before
public void setup() {
LegendDefaultDatabaseAuthenticationFlowProvider flowProvider = new LegendDefaultDatabaseAuthenticationFlowProvider();
assertBigQueryFlowIsAvailable(flowProvider);
this.connectionManagerSelector = new ConnectionManagerSelector(new TemporaryTestDbConfiguration(-1), Collections.emptyList(), Optional.of(flowProvider));
}
use of org.finos.legend.engine.authentication.LegendDefaultDatabaseAuthenticationFlowProvider in project legend-engine by finos.
the class ExternalIntegration_TestConnectionAcquisitionWithFlowProvider_SqlServer method setup.
@Before
public void setup() throws Exception {
startMSSQLServerContainer();
LegendDefaultDatabaseAuthenticationFlowProvider flowProvider = new LegendDefaultDatabaseAuthenticationFlowProvider();
assertStaticSQLServerFlowProviderIsAvailable(flowProvider);
this.connectionManagerSelector = new ConnectionManagerSelector(new TemporaryTestDbConfiguration(-1), Collections.emptyList(), Optional.of(flowProvider));
Properties properties = new Properties();
properties.put("sqlServerAccount.user", "SA");
properties.put("sqlServerAccount.password", "A_Str0ng_Required_Password");
this.vaultImplementation = new PropertiesVaultImplementation(properties);
Vault.INSTANCE.registerImplementation(this.vaultImplementation);
}
use of org.finos.legend.engine.authentication.LegendDefaultDatabaseAuthenticationFlowProvider in project legend-engine by finos.
the class TestConnectionAcquisitionWithFlowProvider_H2 method setup.
@Before
public void setup() {
LegendDefaultDatabaseAuthenticationFlowProvider flowProvider = new LegendDefaultDatabaseAuthenticationFlowProvider();
assertStaticH2FlowIsAvailable(flowProvider);
this.connectionManagerSelector = new ConnectionManagerSelector(new TemporaryTestDbConfiguration(-1), Collections.emptyList(), Optional.of(flowProvider));
}
use of org.finos.legend.engine.authentication.LegendDefaultDatabaseAuthenticationFlowProvider in project legend-engine by finos.
the class ExternalIntegration_TestConnectionAcquisitionWithFlowProvider_Databricks method setup.
@Before
public void setup() {
LegendDefaultDatabaseAuthenticationFlowProvider flowProvider = new LegendDefaultDatabaseAuthenticationFlowProvider();
assertDatabricksApiTokenFlowIsAvailable(flowProvider);
this.connectionManagerSelector = new ConnectionManagerSelector(new TemporaryTestDbConfiguration(-1), Collections.emptyList());
}
use of org.finos.legend.engine.authentication.LegendDefaultDatabaseAuthenticationFlowProvider in project legend-engine by finos.
the class ExternalIntegration_TestConnectionAcquisitionWithFlowProvider_Snowflake method setup.
@Before
public void setup() {
LegendDefaultDatabaseAuthenticationFlowProvider flowProvider = new LegendDefaultDatabaseAuthenticationFlowProvider();
assertSnowflakeKeyPairFlowIsAvailable(flowProvider);
this.connectionManagerSelector = new ConnectionManagerSelector(new TemporaryTestDbConfiguration(-1), Collections.emptyList(), Optional.of(flowProvider));
}
Aggregations