use of com.yahoo.vespa.model.container.xml.ConfigServerContainerModelBuilder in project vespa by vespa-engine.
the class ConfigserverClusterTest method setupCluster.
@Before
public void setupCluster() {
String services = "<jdisc id='standalone' version='1.0'>" + " <http>" + " <server port='1337' id='configserver' />" + " </http>" + "</jdisc>";
root = new MockRoot();
new ConfigServerContainerModelBuilder(new TestOptions().rpcPort(12345).useVespaVersionInRequest(true).hostedVespa(true).environment("test").region("bar").numParallelTenantLoaders(99)).build(new DeployState.Builder().build(true), null, root, XML.getDocument(services).getDocumentElement());
root.freezeModelTopology();
}
Aggregations