Examples of ZooKeeperClusterBootstrap


Examples of io.fabric8.api.ZooKeeperClusterBootstrap

        return archive.getArchive();
    }

    @Test
    public void testZooKeeperClusterBootstrapAvailable() throws Exception {
        ZooKeeperClusterBootstrap bootstrap = ServiceLocator.getRequiredService(ZooKeeperClusterBootstrap.class);
        Assert.assertNotNull("ZooKeeperClusterBootstrap not null", bootstrap);
    }
View Full Code Here

Examples of io.fabric8.api.ZooKeeperClusterBootstrap

    public void testLocalFabricCluster() throws Exception {

        Builder<?> builder = CreateEnsembleOptions.builder().agentEnabled(false).clean(true).zookeeperPassword(ADMIN_PASSWORD).waitForProvision(false);
        CreateEnsembleOptions options = builder.build();

        ZooKeeperClusterBootstrap bootstrap = ServiceLocator.getRequiredService(ZooKeeperClusterBootstrap.class);
        bootstrap.create(options);

        FabricService fabricService = ServiceLocator.getRequiredService(FabricService.class);
        Container[] containers = fabricService.getContainers();
        Assert.assertNotNull("Containers not null", containers);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.