Search in sources :

Example 1 with BundlesConfig

use of com.yahoo.container.BundlesConfig in project vespa by vespa-engine.

the class DocprocBuilderTest method setupCluster.

@Before
public void setupCluster() {
    ContainerModel model = new ContainerModelBuilder(false, Networking.disable).build(DeployState.createTestState(), null, root, servicesXml());
    cluster = model.getCluster();
    cluster.getDocproc().getChains().addServersAndClientsForChains();
    root.freezeModelTopology();
    containerMbusConfig = root.getConfig(ContainerMbusConfig.class, cluster.getContainers().get(0).getConfigId());
    componentsConfig = root.getConfig(ComponentsConfig.class, cluster.getConfigId());
    chainsConfig = root.getConfig(ChainsConfig.class, cluster.getConfigId() + "/component/com.yahoo.docproc.jdisc.DocumentProcessingHandler");
    documentmanagerConfig = root.getConfig(DocumentmanagerConfig.class, cluster.getConfigId());
    bundlesConfig = root.getConfig(BundlesConfig.class, cluster.getConfigId());
    schemamappingConfig = root.getConfig(SchemamappingConfig.class, cluster.getContainers().get(0).getConfigId());
    qrStartConfig = root.getConfig(QrStartConfig.class, cluster.getConfigId());
    docprocConfig = root.getConfig(DocprocConfig.class, cluster.getConfigId());
}
Also used : ComponentsConfig(com.yahoo.container.ComponentsConfig) BundlesConfig(com.yahoo.container.BundlesConfig) DocprocConfig(com.yahoo.config.docproc.DocprocConfig) SchemamappingConfig(com.yahoo.config.docproc.SchemamappingConfig) DocumentmanagerConfig(com.yahoo.document.config.DocumentmanagerConfig) ChainsConfig(com.yahoo.container.core.ChainsConfig) QrStartConfig(com.yahoo.search.config.QrStartConfig) ContainerMbusConfig(com.yahoo.container.jdisc.ContainerMbusConfig) ContainerModel(com.yahoo.vespa.model.container.ContainerModel) Before(org.junit.Before)

Aggregations

DocprocConfig (com.yahoo.config.docproc.DocprocConfig)1 SchemamappingConfig (com.yahoo.config.docproc.SchemamappingConfig)1 BundlesConfig (com.yahoo.container.BundlesConfig)1 ComponentsConfig (com.yahoo.container.ComponentsConfig)1 ChainsConfig (com.yahoo.container.core.ChainsConfig)1 ContainerMbusConfig (com.yahoo.container.jdisc.ContainerMbusConfig)1 DocumentmanagerConfig (com.yahoo.document.config.DocumentmanagerConfig)1 QrStartConfig (com.yahoo.search.config.QrStartConfig)1 ContainerModel (com.yahoo.vespa.model.container.ContainerModel)1 Before (org.junit.Before)1