Package com.axemblr.provisionr.api

Examples of com.axemblr.provisionr.api.Provisionr.startPoolManagementProcess()


        final Hardware hardware = Hardware.builder().type("offering").createHardware();

        final Pool pool = Pool.builder().network(network).provider(provider).adminAccess(adminAccess)
            .software(software).hardware(hardware).minSize(1).expectedSize(1).createPool();

        String processId = provisionr.startPoolManagementProcess(UUID.randomUUID().toString(), pool);
        waitForProcessEnd(processId);
        // TODO: check that the environment is clean
    }

    /**
 
View Full Code Here


            .minSize(TEST_POOL_SIZE)
            .expectedSize(TEST_POOL_SIZE)
            .createPool());

        final String businessKey = "j-" + UUID.randomUUID().toString();
        String processInstanceId = provisionr.startPoolManagementProcess(businessKey, pool);

        try {
            waitForPoolStatus(provisionr, businessKey, PoolStatus.READY);

            List<Machine> machines = provisionr.getMachines(businessKey);
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.