Examples of Cloudcluster_Type


Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.Cloudcluster_Type

        assertEquals(deployment.getMembers().size(),  runTasks.length);

    }
   
    private MemberDeployment[] getMemberDeployments() throws Exception {
        final Cloudcluster_Type cluster = TestUtil.getSampleCluster();

        final ClusterMember[] members =
            ClusterUtil.getClusterMembers(cluster, "priv", "pub", new Print());

        final MemberDeployment[] deploys = new MemberDeployment[members.length];
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.Cloudcluster_Type

        IdentityProvides_Type[] ids = new IdentityProvides_Type[2];
        ids[0] = this.getFake_0();
        ids[1] = this.getFake_1();
        args.setIdentity(ids);

        final Cloudcluster_Type clusta;
        try {
            clusta = FileUtils.getClusterDocForRetrieve(
                            this.pr, this.args.clusterForImpersonationPath);
        } catch (Exception e) {
            throw new ParameterProblem("Problem reading in the cluster " +
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.Cloudcluster_Type

            throw new ContextBrokerException(
                 "these arbitrary identities are not supported at the moment," +
                         "you may only use 1 or 2 NICs");
        }

        Cloudcluster_Type cluster = ctxDocAndID.getCluster();
       
        // checks that there is nothing illegal and that one and only
        // one section will be marked active
        int totalNodes = this.clusterSanityAndCount(cluster);
        logger.debug("total nodes: " + totalNodes);

        final Cloudworkspace_Type[] vms = cluster.getWorkspace();
        Contextualization_Type ctxDoc = null;
        for (Cloudworkspace_Type vm : vms) {
            if (Boolean.TRUE.equals(vm.getActive())) {
                ctxDoc = vm.getCtx(); // clusterSanityAndCount guarantees one and only one
                break;
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.Cloudcluster_Type

            }

            // prepare user data
            for (int i = 0; i < clustersForUserData.length; i++) {

                final Cloudcluster_Type oneCtx = clustersForUserData[i];

                if (oneCtx == null) {
                    ctxUserDataPaths[i] = null;
                    continue;
                }
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.Cloudcluster_Type

        }

        // prepare user data
        for (int i = 0; i < clusterMembers.length; i++) {
            ClusterMember member = clusterMembers[i];
            final Cloudcluster_Type oneCtx = member.getClusterForUserData();

            if (oneCtx == null) {
                ctxUserDataPaths[i] = null;
                continue;
            }
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.Cloudcluster_Type

            } else if (print.useLogging()) {
                logger.debug(msg);
            }
        }

        Cloudcluster_Type clusta = null;
        BufferedInputStream in = null;
        try {
            in = new BufferedInputStream(new FileInputStream(path));
            clusta = (Cloudcluster_Type)
                        ObjectDeserializer.deserialize(
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.