use of com.codingchili.router.configuration.RouterContext in project chili-core by codingchili.
the class RouterHandlerTest method setUp.
@Before
public void setUp() {
core = new SystemContext();
system().setClusterTimeout(500);
handler = new RouterHandler(new RouterContext(core) {
@Override
public RouterSettings service() {
return new RouterSettings().addExternal(NODE_WEBSERVER, ".*");
}
});
handler.init(core);
}
Aggregations