use of com.yahoo.vespa.model.container.xml.ContainerModelBuilder in project vespa by vespa-engine.
the class StandaloneDocprocContainerTest method setupCluster.
public ContainerCluster setupCluster(boolean standalone) {
ContainerModelBuilder builder = new ContainerModelBuilder(standalone, Networking.disable);
ContainerModel model = builder.build(DeployState.createTestState(), null, root, servicesXml());
if (!standalone)
model.getCluster().getDocproc().getChains().addServersAndClientsForChains();
root.freezeModelTopology();
return model.getCluster();
}
use of com.yahoo.vespa.model.container.xml.ContainerModelBuilder in project vespa by vespa-engine.
the class FilterBindingsTest method buildContainerCluster.
private void buildContainerCluster(Element containerElem) throws SAXException, IOException {
ContainerModel model = new ContainerModelBuilder(true, Networking.enable).build(DeployState.createTestState(), null, root, containerElem);
root.freezeModelTopology();
}
Aggregations