use of com.yahoo.vespa.model.builder.xml.dom.chains.processing.DomProcessingBuilder in project vespa by vespa-engine.
the class ContainerModelBuilder method addProcessing.
private void addProcessing(Element spec, ContainerCluster cluster) {
Element processingElement = XML.getChild(spec, "processing");
if (processingElement != null) {
addIncludes(processingElement);
cluster.setProcessingChains(new DomProcessingBuilder(null).build(cluster, processingElement), serverBindings(processingElement, ProcessingChains.defaultBindings));
validateAndAddConfiguredComponents(cluster, processingElement, "renderer", ContainerModelBuilder::validateRendererElement);
}
}
use of com.yahoo.vespa.model.builder.xml.dom.chains.processing.DomProcessingBuilder in project vespa by vespa-engine.
the class ProcessingChainsTest method setupProcessingChains.
@Before
public void setupProcessingChains() {
DomProcessingBuilder processingBuilder = new DomProcessingBuilder(null);
processingBuilder.build(root, servicesXml());
processingChains = (Chains<ProcessingChain>) root.getChildren().get("processing");
}
Aggregations