use of com.yahoo.elide.standalone.config.ElideStandaloneAsyncSettings in project elide by yahoo.
the class ElideStandaloneExportTest method init.
@BeforeAll
public void init() throws Exception {
elide = new ElideStandalone(new ElideStandaloneTestSettings() {
@Override
public ElideStandaloneAsyncSettings getAsyncProperties() {
ElideStandaloneAsyncSettings asyncProperties = new ElideStandaloneAsyncSettings() {
@Override
public boolean enabled() {
return true;
}
@Override
public boolean enableCleanup() {
return true;
}
@Override
public Integer getThreadSize() {
return 5;
}
@Override
public Integer getMaxRunTimeSeconds() {
return 1800;
}
@Override
public Integer getQueryCleanupDays() {
return 3;
}
@Override
public boolean enableExport() {
return true;
}
};
return asyncProperties;
}
@Override
public ElideStandaloneAnalyticSettings getAnalyticProperties() {
ElideStandaloneAnalyticSettings analyticProperties = new ElideStandaloneAnalyticSettings() {
@Override
public boolean enableDynamicModelConfig() {
return true;
}
@Override
public boolean enableAggregationDataStore() {
return true;
}
@Override
public boolean enableMetaDataStore() {
return true;
}
@Override
public String getDefaultDialect() {
return SQLDialectFactory.getDefaultDialect().getDialectType();
}
@Override
public String getDynamicConfigPath() {
return "src/test/resources/configs/";
}
};
return analyticProperties;
}
});
elide.start(false);
}
Aggregations