use of com.yahoo.vespa.model.search.TransactionLogServer in project vespa by vespa-engine.
the class SearchNodeTest method prepare.
private void prepare(MockRoot root, SearchNode node) {
Host host = new Host(root, "mockhost");
TransactionLogServer tls = new TransactionLogServer(root, "mycluster");
tls.setHostResource(new HostResource(host));
tls.setBasePort(100);
tls.initService();
node.setTls(tls);
node.setHostResource(new HostResource(host));
node.setBasePort(200);
node.initService();
root.freezeModelTopology();
}
Aggregations