use of com.netflix.zuul.scriptManager.ZuulFilterDAO in project zuul by Netflix.
the class StartServer method initCassandra.
void initCassandra() throws Exception {
if (cassandraEnabled.get()) {
LOG.info("Getting AstyanaxContext");
Keyspace keyspace = CassandraHelper.getInstance().getZuulCassKeyspace();
LOG.info("Initializing Cassandra ZuulFilterDAO");
ZuulFilterDAO dao = new ZuulFilterDAOCassandra(keyspace);
LOG.info("Starting ZuulFilter Poller");
ZuulFilterPoller.start(dao);
}
}
Aggregations