use of org.killbill.billing.jetty.HttpServer in project killbill by killbill.
the class TestJaxrsBase method beforeSuite.
@BeforeSuite(groups = "slow")
public void beforeSuite() throws Exception {
super.beforeSuite();
if (config == null) {
config = new ConfigurationObjectFactory(System.getProperties()).build(HttpServerConfig.class);
}
if (daoConfig == null) {
daoConfig = new ConfigurationObjectFactory(skifeConfigSource).build(DaoConfig.class);
}
serverConfig = new ConfigurationObjectFactory(skifeConfigSource).build(KillbillServerConfig.class);
listener = new TestKillbillGuiceListener(serverConfig, configSource);
server = new HttpServer();
server.configure(config, getListeners(), getFilters());
server.start();
}
Aggregations